Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/ethrex/networks/sepolia/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"osakaTime": 1760427360,
"bpo1Time": 1761017184,
"bpo2Time": 1761607008,
"amsterdamTime": 1791294816,
"blobSchedule": {
"cancun": {
"target": 3,
Expand Down
12 changes: 12 additions & 0 deletions crates/common/config/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,18 @@ mod tests {
);
}

#[test]
fn test_sepolia_amsterdam_activation() {
// Epoch 353024, 2026-10-06 13:53:36 UTC. Decided in ethereum/pm#2205 and
// recorded in EIP-7773 by ethereum/EIPs#12355; the client configuration is
// eth-clients/sepolia#126 (`metadata/genesis.json`, `amsterdamTime`).
// 1655733600 + 353024 * 32 * 12 = 1791294816.
let genesis = Network::PublicNetwork(PublicNetwork::Sepolia)
.get_genesis()
.unwrap();
assert_eq!(genesis.config.amsterdam_time, Some(1_791_294_816));
}

#[test]
fn test_plataberget_genesis_block_hash() {
// Value published on the network's config page (https://plataberget.dev/,
Expand Down
20 changes: 19 additions & 1 deletion crates/common/types/fork_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,24 @@ mod tests {
time: 1761607008,
fork_id: ForkId {
fork_hash: H32::from_str("0x268956b6").unwrap(),
fork_next: 1791294816,
},
is_valid: true,
},
TestCase {
head: 1735372,
time: 1791294815,
fork_id: ForkId {
fork_hash: H32::from_str("0x268956b6").unwrap(),
fork_next: 1791294816,
},
is_valid: true,
},
TestCase {
head: 1735372,
time: 1791294816,
fork_id: ForkId {
fork_hash: H32::from_str("0x6c1d9423").unwrap(),
fork_next: 0,
},
is_valid: true,
Expand All @@ -513,7 +531,7 @@ mod tests {
head: 1735372,
time: 2741159776,
fork_id: ForkId {
fork_hash: H32::from_str("0x268956b6").unwrap(),
fork_hash: H32::from_str("0x6c1d9423").unwrap(),
fork_next: 0,
},
is_valid: true,
Expand Down
6 changes: 4 additions & 2 deletions docs/roadmaps/forks-roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ Glamsterdam declined 47 EIPs per [EIP-7773], including EIP-7692 (EOF) and EIP-79

The fork enum lives in `crates/common/types/genesis.rs`, ending at `Amsterdam`;
activation timestamps are `ChainConfig` fields, with `bpo1_time`..`bpo5_time` already
defined for the BPOs and Hegotá. Amsterdam timestamps are wired into the holesky, sepolia
and hoodi genesis files under `cmd/ethrex/networks/`.
defined for the BPOs and Hegotá. Amsterdam is scheduled on Sepolia (`amsterdamTime`
1791294816, 2026-10-06 13:53:36 UTC, epoch 353024; ethereum/pm#2205, EIP-7773) in
`cmd/ethrex/networks/sepolia/genesis.json`. Hoodi and mainnet dates are still TBD upstream, so
their presets carry no `amsterdamTime` yet.

---

Expand Down
Loading