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

Tighten security around potential P2P issues #2131

Closed
wants to merge 10 commits into from

Conversation

sug0
Copy link
Collaborator

@sug0 sug0 commented Nov 8, 2023

Describe your changes

Decrease CometBFT block sizes, and add a new genesis parameter used to validate the max tx bytes allowed for a certain tx to be included in the mempool (passes CheckTx, therefore is broadcasted and disseminated over CometBFT's P2P layer) and in ProcessProposal.

Indicate on which release or other PRs this topic is based on

v0.25.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

Copy link
Member

@adrianbrink adrianbrink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls double-check the comments I left

tzemanovic
tzemanovic previously approved these changes Nov 9, 2023
batconjurer
batconjurer previously approved these changes Nov 9, 2023
@sug0 sug0 dismissed stale reviews from batconjurer and tzemanovic via aad6251 November 10, 2023 07:31
@sug0 sug0 force-pushed the tiago/validate-tx-bytes-len branch from cb04c16 to aad6251 Compare November 10, 2023 07:31
@sug0 sug0 mentioned this pull request Nov 10, 2023
@adrianbrink
Copy link
Member

Replaced by #2187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ledger security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants