Skip to content

fix(tests): rewrite ported static gas-snapshot tests with fork-derived measurements - #36

Draft
spencer-tb wants to merge 1 commit into
ported-static-gas-limit-wavefrom
ported-static-snapshot-rewrites
Draft

fix(tests): rewrite ported static gas-snapshot tests with fork-derived measurements#36
spencer-tb wants to merge 1 commit into
ported-static-gas-limit-wavefrom
ported-static-snapshot-rewrites

Conversation

@spencer-tb

Copy link
Copy Markdown
Owner

Description

Rewrites the gas-snapshot ported static tests (raw GAS reads / SUB(GAS, ...) deltas — the fragile shape that pins gas schedules) with fork-derived measurements: CodeGasMeasure windows, opcode-metadata composites, and derived budgets. 46 files across byzantium/frontier/tangerine_whistle/berlin/spurious_dragon/constantinople/istanbul; floors lowered where the rewrite unlocked them (several Cancun → Berlin/Byzantium/Frontier) and two valid_until("Prague") caps removed (tests now run on Osaka/Amsterdam). Three degraded ports restored along the way (never-dispatched failure modes, vacuous call targets, dropped pre-EIP-3651 cold-coinbase coverage). Every file full-range fill-verified through Amsterdam.

Related Issues or PRs

Part of ethereum#3272. Stacks on the gas-limit hygiene PR (#35).

Checklist

  • Ran fast static checks: just static
  • PR title has the form <type>(<area>): <title>

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.

1 participant