Skip to content

chore(l1): update genesis files to include Fusaka fields#4643

Merged
SDartayet merged 10 commits intomainfrom
update-genesis-files
Sep 26, 2025
Merged

chore(l1): update genesis files to include Fusaka fields#4643
SDartayet merged 10 commits intomainfrom
update-genesis-files

Conversation

@SDartayet
Copy link
Copy Markdown
Contributor

@SDartayet SDartayet commented Sep 24, 2025

Description

  • Added the Fusaka timestamp and blob schedule to the genesis JSON files, for both testnets and mainnet

  • Updated genesis.rs with BPO forks for future-proofing

  • Updated the ForkID test cases to include de new forks. Also added test cases for hoodi given Holesky will be getting phased out.

Closes #4598

@github-actions github-actions Bot added the L1 Ethereum client label Sep 24, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 24, 2025

Lines of code report

Total lines added: 245
Total lines removed: 0
Total lines changed: 245

Detailed view
+-------------------------------------------+-------+------+
| File                                      | Lines | Diff |
+-------------------------------------------+-------+------+
| ethrex/crates/common/types/fork_id.rs     | 668   | +210 |
+-------------------------------------------+-------+------+
| ethrex/crates/common/types/genesis.rs     | 865   | +28  |
+-------------------------------------------+-------+------+
| ethrex/crates/networking/rpc/rpc.rs       | 639   | +2   |
+-------------------------------------------+-------+------+
| ethrex/crates/vm/backends/revm/helpers.rs | 111   | +5   |
+-------------------------------------------+-------+------+

Comment thread crates/vm/backends/revm/helpers.rs Outdated
Fork::Cancun => SpecId::CANCUN,
Fork::Prague => SpecId::PRAGUE,
Fork::Osaka => SpecId::OSAKA,
_ => SpecId::LATEST,
Copy link
Copy Markdown
Contributor Author

@SDartayet SDartayet Sep 24, 2025

Choose a reason for hiding this comment

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

I wasn't sure what to do with the BPO forks given this version of REVM doesn't account for them, so I included this as a placeholder. If anyone has a better idea please let me know

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not sure. As far as I know, they receive the blob schedule parameters as part of the configuration (env?), so BPOs should just be the current fork (i.e. Osaka).

@SDartayet SDartayet marked this pull request as ready for review September 25, 2025 17:09
@SDartayet SDartayet requested a review from a team as a code owner September 25, 2025 17:09
@ethrex-project-sync ethrex-project-sync Bot moved this to In Review in ethrex_l1 Sep 25, 2025
Comment thread cmd/ethrex/networks/mainnet/genesis.json
Comment thread crates/vm/backends/revm/helpers.rs Outdated
Fork::Cancun => SpecId::CANCUN,
Fork::Prague => SpecId::PRAGUE,
Fork::Osaka => SpecId::OSAKA,
_ => SpecId::LATEST,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not sure. As far as I know, they receive the blob schedule parameters as part of the configuration (env?), so BPOs should just be the current fork (i.e. Osaka).

@SDartayet SDartayet added this pull request to the merge queue Sep 26, 2025
Merged via the queue into main with commit bf6ccc0 Sep 26, 2025
42 checks passed
@SDartayet SDartayet deleted the update-genesis-files branch September 26, 2025 18:41
@github-project-automation github-project-automation Bot moved this from In Review to Done in ethrex_l1 Sep 26, 2025
Peponks9 pushed a commit to Peponks9/ethrex that referenced this pull request Oct 7, 2025
…#4643)

**Description**

- Added the Fusaka timestamp and blob schedule to the genesis JSON
files, for both testnets and mainnet

- Updated genesis.rs with BPO forks for future-proofing

- Updated the ForkID test cases to include de new forks. Also added test
cases for hoodi given Holesky will be getting phased out.

Closes lambdaclass#4598
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update testnets and mainnet genesis for fusaka

3 participants