Skip to content

fix spurious formatting diffs from gas constants refactor#2699

Open
knQzx wants to merge 61 commits intoethereum:forks/amsterdamfrom
knQzx:fix-spurious-diffs-2396
Open

fix spurious formatting diffs from gas constants refactor#2699
knQzx wants to merge 61 commits intoethereum:forks/amsterdamfrom
knQzx:fix-spurious-diffs-2396

Conversation

@knQzx
Copy link
Copy Markdown
Contributor

@knQzx knQzx commented Apr 16, 2026

Fixes #2681

Depends on #2396

Summary

  • Aligns word wrapping in check_gas_limit docstrings across all fork fork.py files
  • PR refactor(spec-specs): add opcode gas constants #2396 rewrapped the docstring text in some forks (amsterdam, berlin, frontier, istanbul, muir_glacier, osaka, prague, bpo1-5) but left the old wrapping in others (arrow_glacier, byzantium, cancun, constantinople, dao_fork, gray_glacier, homestead, london, paris, shanghai, spurious_dragon, tangerine_whistle)
  • This applies the same rewrapping to the 12 forks that were missed, making the formatting consistent

Test plan

  • No functional changes, only docstring word wrapping
  • Verified all 24 forks now have identical docstring text
  • All lines are within the 79-character line length limit

…more clearly differentiate between intermediate constants and existing ones
Add 39 GAS_OPCODE_* fields to the GasCosts dataclass and update
opcode_gas_map() in all forks to reference per-opcode fields
instead of shared tier constants.
Carsons-Eels and others added 30 commits April 13, 2026 23:27
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.

Fix spurious diffs introduced in #2396

2 participants