diff --git a/common/eth2_testnet_config/build.rs b/common/eth2_testnet_config/build.rs index 3d49023933..cafdfad311 100644 --- a/common/eth2_testnet_config/build.rs +++ b/common/eth2_testnet_config/build.rs @@ -6,7 +6,7 @@ use std::fs::File; use std::io::Write; use std::path::PathBuf; -const TESTNET_ID: &str = "altona-v2"; +const TESTNET_ID: &str = "altona-v3"; fn main() { if !base_dir().exists() { @@ -39,7 +39,7 @@ pub fn get_all_files() -> Result<(), String> { pub fn get_file(filename: &str) -> Result<(), String> { let url = format!( - "https://raw.githubusercontent.com/sigp/witti/2bab01c2c18aea9f571e79d646acfd34704cbfde/altona/lighthouse/{}", + "https://raw.githubusercontent.com/sigp/witti/a94e00c1a03df851f960fcf44a79f2a6b1d29af1/altona/lighthouse/{}", filename ); diff --git a/common/eth2_testnet_config/src/lib.rs b/common/eth2_testnet_config/src/lib.rs index 95d1379e14..ccaea6dbb0 100644 --- a/common/eth2_testnet_config/src/lib.rs +++ b/common/eth2_testnet_config/src/lib.rs @@ -23,13 +23,13 @@ pub const YAML_CONFIG_FILE: &str = "config.yaml"; /// The name of the testnet to hardcode. /// /// Should be set to `None` when no existing testnet is compatible with the codebase. -pub const HARDCODED_TESTNET: Option<&str> = Some("altona-v2"); +pub const HARDCODED_TESTNET: Option<&str> = Some("altona-v3"); -pub const HARDCODED_YAML_CONFIG: &[u8] = include_bytes!("../altona-v2/config.yaml"); -pub const HARDCODED_DEPLOY_BLOCK: &[u8] = include_bytes!("../altona-v2/deploy_block.txt"); -pub const HARDCODED_DEPOSIT_CONTRACT: &[u8] = include_bytes!("../altona-v2/deposit_contract.txt"); -pub const HARDCODED_GENESIS_STATE: &[u8] = include_bytes!("../altona-v2/genesis.ssz"); -pub const HARDCODED_BOOT_ENR: &[u8] = include_bytes!("../altona-v2/boot_enr.yaml"); +pub const HARDCODED_YAML_CONFIG: &[u8] = include_bytes!("../altona-v3/config.yaml"); +pub const HARDCODED_DEPLOY_BLOCK: &[u8] = include_bytes!("../altona-v3/deploy_block.txt"); +pub const HARDCODED_DEPOSIT_CONTRACT: &[u8] = include_bytes!("../altona-v3/deposit_contract.txt"); +pub const HARDCODED_GENESIS_STATE: &[u8] = include_bytes!("../altona-v3/genesis.ssz"); +pub const HARDCODED_BOOT_ENR: &[u8] = include_bytes!("../altona-v3/boot_enr.yaml"); /// Specifies an Eth2 testnet. ///