Repository navigation
feat(tests): derive the EIP-8250 keyed nonce access cost from the fork and pin it in the gas cap - #3775
Merged
spencer-tb merged 2 commits intoOct 13, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## eips/bogota/eip-8250 #3775 +/- ##
=======================================================
Coverage ? 95.01%
=======================================================
Files ? 678
Lines ? 41930
Branches ? 3933
=======================================================
Hits ? 39841
Misses ? 1453
Partials ? 636
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:
|
spencer-tb
force-pushed
the
eip-8250-keyed-nonce-access-review
branch
from
October 12, 2026 20:12
f9b896e to
03ff362
Compare
spencer-tb
force-pushed
the
eips/bogota/eip-8250
branch
from
October 13, 2026 12:00
afa31f3 to
539fa84
Compare
…k and pin it in the gas cap
…gas cap and the payer's max cost
spencer-tb
force-pushed
the
eip-8250-keyed-nonce-access-review
branch
from
October 13, 2026 12:12
327cdca to
e2edaaa
Compare
gurukamath
approved these changes
Oct 13, 2026
gurukamath
pushed a commit
that referenced
this pull request
Oct 13, 2026
…k and pin it in the gas cap (#3775)
2 tasks done
gurukamath
pushed a commit
that referenced
this pull request
Oct 13, 2026
…k and pin it in the gas cap (#3775)
gurukamath
pushed a commit
that referenced
this pull request
Oct 15, 2026
…k and pin it in the gas cap (#3775)
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
Review follow-up to #3756.
keyed_nonce_access_costis read offOp.SSTORE(key_warm=False, original_value=1, new_value=2)instead of a hardcoded2_100 + 10_000, so EIP-8038 repricings flow through as the EIP defines the cost.test_gas_limit_cap_counts_keyed_nonce_access: the maximum key set with frame gas landing on the per-transaction gas cap or one above. A client that charges the access cost at nonce consumption instead of in intrinsic gas gets gas used right but misses the cap. A second anchor sizes frame data so the calldata floor lands on the cap or one byte above, since the cap checks the larger of the two.test_payer_max_cost_counts_keyed_nonce_access: the maximum key set's payer funded with exactly the max cost or one wei less, so the access cost must be in the escrowAPPROVEchecks.Without the spec's access cost the
above_capfixtures fail, along with the 24 keyedtest_keyed_nonce_access_costcases. Dropping it from the floor alone fails onlyabove_cap-floor, and from the max cost alone onlyone_wei_short.Related Issues or PRs
bogota-devnet@v1.1.0#3773Checklist
just static<type>(<area>): <title>, where<type>and<area>come from an appropriateC-<type>, respectivelyA-<area>, label. The title should match the target squash commit message.