Skip to content

Commit

Permalink
feat: Add Shanghai on Sepolia (paradigmxyz#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
leruaa committed Feb 15, 2023
1 parent 03f74a5 commit 12d8508
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/primitives/src/chain/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ pub static SEPOLIA: Lazy<ChainSpec> = Lazy::new(|| ChainSpec {
total_difficulty: U256::from(17_000_000_000_000_000u64),
},
),
(Hardfork::Shanghai, ForkCondition::Timestamp(1677557088)),
]),
});

Expand Down Expand Up @@ -737,7 +738,11 @@ mod tests {
),
(
Head { number: 1735371, ..Default::default() },
ForkId { hash: ForkHash([0xb9, 0x6c, 0xbd, 0x13]), next: 0 },
ForkId { hash: ForkHash([0xb9, 0x6c, 0xbd, 0x13]), next: 1677557088 },
),
(
Head { number: 1735372, timestamp: 1677557090, ..Default::default() },
ForkId { hash: ForkHash([0xf7, 0xf9, 0xbc, 0x08]), next: 0 },
),
],
);
Expand Down

0 comments on commit 12d8508

Please sign in to comment.