Skip to content

feat(tests): add EIP-7997 case where factory is not present at fork block - #3243

Merged
spencer-tb merged 1 commit into
ethereum:forks/amsterdamfrom
jochem-brouwer:eip-7997-no-create2-factory-at-fork
Jul 28, 2026
Merged

feat(tests): add EIP-7997 case where factory is not present at fork block#3243
spencer-tb merged 1 commit into
ethereum:forks/amsterdamfrom
jochem-brouwer:eip-7997-no-create2-factory-at-fork

Conversation

@jochem-brouwer

Copy link
Copy Markdown
Member

Description

Implements tests where CREATE2 factory is not present at fork block. This also verifies that the factory account is not part of the BAL reads.

Related Issues or PRs

Discussed in ethereum/pm#2170

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.

Cute Animal Picture

image

This is Harry who has been keeping me company on my home's ceiling for a while. Hi Harry!

@jochem-brouwer

Copy link
Copy Markdown
Member Author

CI directly turns red, I'll fix this tomorrow.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.41%. Comparing base (c69d54b) to head (7171595).

Additional details and impacted files
@@               Coverage Diff                @@
##           forks/amsterdam    #3243   +/-   ##
================================================
  Coverage            93.41%   93.41%           
================================================
  Files                  625      625           
  Lines                37035    37035           
  Branches              3386     3386           
================================================
  Hits                 34597    34597           
  Misses                1668     1668           
  Partials               770      770           
Flag Coverage Δ
unittests 93.41% <ø> (ø)

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.

@marioevz

Copy link
Copy Markdown
Member

CI directly turns red, I'll fix this tomorrow.

Not your fault, it's because of this issue: #3241

@marioevz marioevz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! CI failure should go away after #3242 is merged or #3241 is fixed.

@jochem-brouwer

Copy link
Copy Markdown
Member Author

Ah thanks for that information @marioevz, will wait until those are merged, ping if they need a review 😄 👍

@jochem-brouwer
jochem-brouwer marked this pull request as ready for review July 28, 2026 08:56
@marioevz

Copy link
Copy Markdown
Member

@jochem-brouwer I think this just needs a simple rebase for it to pass the CI 👍

@jochem-brouwer
jochem-brouwer force-pushed the eip-7997-no-create2-factory-at-fork branch from eeac5d0 to 7171595 Compare July 28, 2026 13:45
@spencer-tb
spencer-tb merged commit 608f878 into ethereum:forks/amsterdam Jul 28, 2026
20 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.

3 participants