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
2 changes: 2 additions & 0 deletions crates/hardforks/src/ethereum/mainnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ pub const MAINNET_PARIS_BLOCK: u64 = 15_537_394;
pub const MAINNET_SHANGHAI_BLOCK: u64 = 17_034_870;
/// Cancun hard fork activation block is 19426587.
pub const MAINNET_CANCUN_BLOCK: u64 = 19_426_587;
/// Prague hard fork activation block is 22431084.
pub const MAINNET_PRAGUE_BLOCK: u64 = 22_431_084;

/// Paris hard fork activation terminal total difficulty is 58_750_000_000_000_000_000_000_U256.
pub const MAINNET_PARIS_TTD: U256 = uint!(58_750_000_000_000_000_000_000_U256);
Expand Down
1 change: 1 addition & 0 deletions crates/hardforks/src/hardfork/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl EthereumHardfork {
Self::Paris => Some(MAINNET_PARIS_BLOCK),
Self::Shanghai => Some(MAINNET_SHANGHAI_BLOCK),
Self::Cancun => Some(MAINNET_CANCUN_BLOCK),
Self::Prague => Some(MAINNET_PRAGUE_BLOCK),
_ => None,
}
}
Expand Down
Loading