Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app: make prepare proposal more robust to comet misconfiguration #4664

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

erwanor
Copy link
Member

@erwanor erwanor commented Jun 25, 2024

Describe your changes

This PR adds a tx size check in the proposal preparation logic so that the application always build valid blocks even in the even of a cometbft misconfiguration.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    This is not consensus breaking, but makes the prepare proposal logic more robust to misconfiguration.

@erwanor erwanor added the A-node Area: System design and implementation for node software label Jun 25, 2024
@erwanor erwanor requested a review from conorsch June 25, 2024 20:33
@erwanor erwanor self-assigned this Jun 25, 2024
@conorsch conorsch merged commit 5997033 into main Jun 25, 2024
13 checks passed
@conorsch conorsch deleted the erwan/prepare_proposal_incl_txs branch June 25, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-node Area: System design and implementation for node software
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants