feat(tests): EIP-8037 base fee follows the bottleneck gas dimension#3039
Open
chfast wants to merge 1 commit into
Open
feat(tests): EIP-8037 base fee follows the bottleneck gas dimension#3039chfast wants to merge 1 commit into
chfast wants to merge 1 commit into
Conversation
Add a two-block test asserting the child block's base_fee_per_gas is driven by the parent header gas_used = max(block_regular_gas_used, block_state_gas_used). Block 1 is pushed above the gas target by a single dimension (state via spilling SSTORE-set txs, or regular via STOP txs) while the other stays below it, so the dominant dimension alone decides whether the child base fee rises. Block 2 is empty and its base_fee_per_gas must equal the EIP-1559 update fed block 1's max-dimension gas_used.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/amsterdam #3039 +/- ##
===================================================
- Coverage 92.80% 92.50% -0.31%
===================================================
Files 620 620
Lines 36728 36728
Branches 3345 3345
===================================================
- Hits 34087 33975 -112
- Misses 1780 1852 +72
- Partials 861 901 +40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
13 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.
🗒️ Description
Add a two-block test asserting the child block's base_fee_per_gas is driven by the parent header gas_used = max(block_regular_gas_used, block_state_gas_used).
Block 1 is pushed above the gas target by a single dimension (state via spilling SSTORE-set txs, or regular via STOP txs) while the other stays below it, so the dominant dimension alone decides whether the child base fee rises. Block 2 is empty and its base_fee_per_gas must equal the EIP-1559 update fed block 1's max-dimension gas_used.
🔗 Related Issues or PRs
N/A.
✅ Checklist
just statictype(scope):.mkdocs servelocally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.@ported_frommarker.