Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
wrong root
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Dec 11, 2023
1 parent e8f8496 commit bbec85c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions crates/consensus-types/src/network_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ impl NetworkConfig {
},
Network::Sepolia => Self {
genesis_validators_root: [
0x91, 0x43, 0xaa, 0x7c, 0x61, 0x5a, 0x7f, 0x71, 0x15, 0xe2, 0xb6, 0xaa, 0xc3,
0x19, 0xc0, 0x35, 0x29, 0xdf, 0x82, 0x42, 0xae, 0x70, 0x5f, 0xba, 0x9d, 0xf3,
0x9b, 0x79, 0xc5, 0x9f, 0xa8, 0xb1,
0xd8, 0xea, 0x17, 0x1f, 0x3c, 0x94, 0xae, 0xa2, 0x1e, 0xbc, 0x42, 0xa1, 0xed,
0x61, 0x05, 0x2a, 0xcf, 0x3f, 0x92, 0x09, 0xc0, 0x0e, 0x4e, 0xfb, 0xaa, 0xdd,
0xac, 0x09, 0xed, 0x9b, 0x80, 0x78,
],
bellatrix_fork_version: [144, 0, 0, 113],
bellatrix_fork_epoch: 100,
Expand Down
6 changes: 3 additions & 3 deletions crates/eth2-pallet-init/src/eth_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::{
pub enum EthNetwork {
Mainnet,
Goerli,
Sepolia
Sepolia,
}

#[derive(Debug, Clone, Deserialize)]
Expand All @@ -35,15 +35,15 @@ impl EthNetwork {
match self {
EthNetwork::Mainnet => "mainnet",
EthNetwork::Goerli => "goerli",
EthNetwork::Sepolia => "sepolia"
EthNetwork::Sepolia => "sepolia",
}
}

pub fn as_typed_chain_id(&self) -> webb_proposals::TypedChainId {
match self {
EthNetwork::Mainnet => webb_proposals::TypedChainId::Evm(1),
EthNetwork::Goerli => webb_proposals::TypedChainId::Evm(5),
EthNetwork::Sepolia => webb_proposals::TypedChainId::Evm(11155111)
EthNetwork::Sepolia => webb_proposals::TypedChainId::Evm(11155111),
}
}
}
Expand Down

0 comments on commit bbec85c

Please sign in to comment.