Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gnosis fork slots #64

Merged
merged 1 commit into from
Mar 11, 2024
Merged
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
12 changes: 8 additions & 4 deletions src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@ pub enum Network {
Sepolia,
Holesky,
Devnet,
Gnosis,
Chiado,
}

impl Network {
pub fn dencun_fork_slot(&self) -> u32 {
match self {
Network::Mainnet => 8626176,
Network::Goerli => 7413760,
Network::Sepolia => 4243456,
Network::Holesky => 950272,
Network::Mainnet => 8626176, // Epoch 269568
Network::Goerli => 7413760, // Epoch 231680
Network::Sepolia => 4243456, // Epoch 132608
Network::Holesky => 950272, // Epoch 29696
Network::Devnet => 0,
Network::Gnosis => 14237696,
Network::Chiado => 8265728, // Epoch 516608
}
}
}
Loading