Skip to content

Conversation

@pdobacz
Copy link
Contributor

@pdobacz pdobacz commented Feb 9, 2026

🗒️ Description

Initcode class now uses fork-specific gas costs and memory expansion formula instead of hardcoded values.

This should make tests leveraging this generator less sensitive to gas repricings. An EIP-3860 test needed to be adapted a bit, to not hardcode Initcode instances in parameters.

🔗 Related Issues or PRs

N/A.

✅ Checklist

  • All: Ran fast tox checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:
    uvx tox -e static
  • All: PR title adheres to the repo standard - it will be used as the squash commit message and should start type(scope):.
  • All: Set appropriate labels for the changes (only maintainers can apply labels).

Initcode class now uses fork-specific gas costs and memory expansion
formula instead of hardcoded values.

Co-Authored-By: Claude Opus 4.5
@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.07%. Comparing base (87a414f) to head (e686959).
⚠️ Report is 3 commits behind head on forks/amsterdam.

Additional details and impacted files
@@               Coverage Diff                @@
##           forks/amsterdam    #2176   +/-   ##
================================================
  Coverage            86.07%   86.07%           
================================================
  Files                  599      599           
  Lines                39472    39472           
  Branches              3780     3780           
================================================
  Hits                 33977    33977           
  Misses                4862     4862           
  Partials               633      633           
Flag Coverage Δ
unittests 86.07% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Some comments I think might be good to get addressed before merging.

Co-authored-by: Mario Vega <[email protected]>
@pdobacz pdobacz force-pushed the refactor/initcode-generator branch from 5e17cc9 to e686959 Compare February 10, 2026 11:19
@pdobacz pdobacz requested a review from marioevz February 10, 2026 11:19
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@marioevz marioevz merged commit 720caf4 into ethereum:forks/amsterdam Feb 10, 2026
18 checks passed
@pdobacz pdobacz deleted the refactor/initcode-generator branch February 10, 2026 14:13
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