Skip to content

feat(common): add mainnet fork-id test cases (EIP-2124)#6119

Closed
dik654 wants to merge 1 commit into
lambdaclass:mainfrom
dik654:feat/mainnet-fork-id-tests
Closed

feat(common): add mainnet fork-id test cases (EIP-2124)#6119
dik654 wants to merge 1 commit into
lambdaclass:mainfrom
dik654:feat/mainnet-fork-id-tests

Conversation

@dik654
Copy link
Copy Markdown

@dik654 dik654 commented Feb 4, 2026

Motivation

Add mainnet fork-id test cases to verify EIP-2124 implementation against go-ethereum, as requested in #5231.

Description

  • Add comprehensive mainnet fork-id test cases covering all 16 forks from Genesis through Prague
  • Test values verified against go-ethereum's forkid_test.go
  • Covers both PoW era (block-based forks) and PoS era (timestamp-based forks)

Checklist

  • Updated STORE_SCHEMA_VERSION (crates/storage/lib.rs) if the PR includes breaking changes to the Store requiring a re-sync.

Closes #5231

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Feb 4, 2026

Too many files changed for review. (1035 files found, 100 file limit)

@dik654 dik654 closed this Feb 4, 2026
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.

Test fork-id computation for mainnet chain configuration

1 participant