Skip to content

feat(tests): add FOCIL frame candidate omission tests - #4118

Closed
AnkushinDaniil wants to merge 4 commits into
ethereum:devnets/bogota/2from
AnkushinDaniil:daniil/focil-frame-candidate-tests
Closed

AnkushinDaniil wants to merge 4 commits into
ethereum:devnets/bogota/2from
AnkushinDaniil:daniil/focil-frame-candidate-tests

Conversation

@AnkushinDaniil

Copy link
Copy Markdown
Contributor

Description

Adds tests/bogota/eip7805_focil/test_frame_candidates.py on top of #3777. These come from the Nethermind FOCIL x frames devnet runs, the cases #3777 doesn't cover yet:

  • test_sponsored_omission_is_excused: a sponsored frame tx left out of the block keeps the IL satisfied, the self-paid twin doesn't. Included controls for both.
  • test_verify_cost_per_transaction_limit: candidate VERIFY cost at MAX_VERIFY_GAS_PER_TX is caught, one over is excused.
  • test_sender_transaction_invalidates_omission: the sender's own earlier tx in the block makes the omitted one invalid, so the omission only counts when the claim sits before that tx.
  • test_keyed_nonce_omission: omitted self-paid frame tx using an EIP-8250 keyed nonce is still caught.

Verification:

Related Issues or PRs

Stacked on #3777 (eips/bogota/focil-frames), which lives on a fork, so this targets devnets/bogota/2 and shows its 3 commits until it lands. Only the last commit is new here.

Checklist

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

Cute Animal Picture

otter

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