-
Notifications
You must be signed in to change notification settings - Fork 21.3k
core,miner: implement EIP-7934 - RLP Execution Block Size Limit #31990
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
Merged
+116
−10
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d11ef8b
core,miner,params: implement EIP-7934 - RLP Execution Block Size Limit
jwasinger bbb603a
rename func
jwasinger 6403291
goimports
jwasinger c14d331
simplification
jwasinger 84fdfe1
remove outdated change
jwasinger e38f776
more updates
jwasinger 568b9ac
add back some changes that were deleted
jwasinger b6e8755
fix withdrawal inclusion
jwasinger 525f560
fix lint
jwasinger 799a5b1
add comment for size check in body validation
jwasinger 199faa7
make sure that we respect the buffer when adding transactions. comme…
jwasinger 0293afe
ensure that all requested withdrawals are included in the block even …
jwasinger 6caa1ec
comment phrasing
jwasinger 7288192
consider tx without sidecar when accounting for the size it will cont…
jwasinger 85290d0
don't calculate the current fork for every transaction that we attemp…
jwasinger 517f8fa
correctly incorporate blob transaction size
jwasinger 7754e77
params: fix 7934 size limit.
spencer-tb 84609d8
miner: return error when withdrawals overshoot max block size
fjl 4402a89
miner: check tx fits block size unconditionally
fjl f40396d
params: remove WithdrawalSize
fjl b66ed1b
core/types: add block encode test
rjl493456442 319fd95
miner: prevent double construction
rjl493456442 11f1b1f
params, miner: rename constants
fjl 69fe54b
core/types: maintain tx size cache in WithoutBlobTxSidecar
fjl fd05c0a
miner: fix typo in comment
fjl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been verifying this, and this part is correct, but the
Size
method has some issues related with the new sidecar v2. I was thinking about fixing it in this PR before merging, but will separate this out.