Repository navigation
doc: improve documentation of BlockParams.MaxBytes - #1405
Merged
Merged
Conversation
sergio-mena
reviewed
Sep 27, 2023
Co-authored-by: Sergio Mena <[email protected]>
sergio-mena
reviewed
Sep 27, 2023
Co-authored-by: Sergio Mena <[email protected]>
cason
pushed a commit
that referenced
this pull request
Sep 27, 2023
1 of 3 tasks
cason
marked this pull request as ready for review
September 27, 2023 15:29
glnro
reviewed
Sep 27, 2023
glnro
approved these changes
Sep 27, 2023
Co-authored-by: glnro <[email protected]>
jmalicevic
approved these changes
Sep 27, 2023
jmalicevic
reviewed
Sep 27, 2023
| @@ -615,6 +622,13 @@ If the Application sets value -1, consensus will: | |||
|
|
|||
| Must have `MaxBytes == -1` OR `0 < MaxBytes <= 100 MB`. | |||
Collaborator
There was a problem hiding this comment.
If I remember correctly this -1 was introduced by @sergio-mena to allow for arbitrary block size or is there some other reason? I know that in 0.34.x it is not allowed.
Author
There was a problem hiding this comment.
Yes, this is probably only on main. 34 and 37 not for sure, v0.38 I'll have to double check when backporting.
Collaborator
There was a problem hiding this comment.
IIRC, this is on main, v0.38.x, and v0.37x (as it tackles a corner case on PrepareProposal), but I might be mistaken
Author
There was a problem hiding this comment.
In v0.37.x it is not implemented at consensus level, from this extract:
Collaborator
There was a problem hiding this comment.
So my memories weren't accurate
cason
added this pull request to the merge queue
Sep 28, 2023
This was referenced Jun 30, 2024
This was referenced Jul 9, 2024
This was referenced Jul 17, 2024
This was referenced Jul 25, 2024
This was referenced Aug 1, 2024
This was referenced Aug 9, 2024
This was referenced Aug 19, 2024
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additions to the description of the
BlockParams.MaxBytesconsensus parameter on the ABCI documentation.Rendered: https://github.com/cometbft/cometbft/blob/cason/doc-maxbytes-param/spec/abci/abci%2B%2B_app_requirements.md
PR checklist
.changelog(we use unclog to manage our changelog)docs/orspec/) and code comments