Skip to content

docs(specs,tests): track the EIP-8141 frame mode set-membership wording - #3739

Merged
spencer-tb merged 1 commit into
ethereum:eips/bogota/eip-8141from
gurukamath:eip-8141/mode-values
Oct 8, 2026
Merged

spencer-tb merged 1 commit into
ethereum:eips/bogota/eip-8141from
gurukamath:eip-8141/mode-values

Conversation

@gurukamath

Copy link
Copy Markdown
Contributor

Description

Absorbs the latest EIP-8141 text change, ethereum/EIPs@6bc5841 ("check frame modes against a set of valid values"). The EIP's static validity check assert frame.mode < 3 is now assert frame.mode in (DEFAULT, VERIFY, SENDER), and the mode table gains a sentence stating that these are the only valid values and that an extending EIP adds its value to the set without changing how existing values are checked.

No behaviour changes. FrameMode is already a strict UintEnum, so an undefined mode is rejected by set membership at decode time, and the existing undefined_frame_mode / undefined_frame_mode_high cases in test_static_validity.py cover it. This PR:

  • rewords the FrameMode docstring to match the new EIP wording;
  • bumps the reference spec pin in tests/bogota/eip8141_frame_transactions/spec.py to the new blob (4e73f1e1…, verified current against the EIPs repo).

Targets eips/bogota/eip-8141.

Related Issues or PRs

Follows #3729.

Checklist

  • Ran fast static checks to avoid CI fails, see Code Standards & Verifying Changes: just static
  • PR title has the form <type>(<area>): <title>, where <type> and <area> come from an appropriate C-<type>, respectively A-<area>, label. The title should match the target squash commit message.

EIP commit 6bc5841 replaces `assert frame.mode < 3` with a membership
check against the named modes and states that an extending EIP adds its
value to that set without changing how the existing values are checked.

`FrameMode` already enforces this as a strict enum at decode time, so no
behaviour changes. Reword its docstring to match the EIP and bump the
reference spec pin to the new blob.
@gurukamath
gurukamath requested a review from spencer-tb October 8, 2026 08:40
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (eips/bogota/eip-8141@dd0cb2e). Learn more about missing BASE report.

Additional details and impacted files
@@                   Coverage Diff                   @@
##             eips/bogota/eip-8141    #3739   +/-   ##
=======================================================
  Coverage                        ?   94.91%           
=======================================================
  Files                           ?      676           
  Lines                           ?    41821           
  Branches                        ?     3942           
=======================================================
  Hits                            ?    39695           
  Misses                          ?     1471           
  Partials                        ?      655           
Flag Coverage Δ
unittests 94.91% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@spencer-tb
spencer-tb merged commit 1653481 into ethereum:eips/bogota/eip-8141 Oct 8, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants