diff --git a/Cargo.lock b/Cargo.lock index 3fe6792..95384b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1195,7 +1195,7 @@ dependencies = [ [[package]] name = "casper-runtime" -version = "4.0.5" +version = "4.0.6" dependencies = [ "casper-runtime-constants", "frame-benchmarking", diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index f65a852..883d8c2 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "casper-runtime" -version = "4.0.5" +version = "4.0.6" build = "build.rs" description = "Runtime of the Casper Network" edition.workspace = true diff --git a/runtime/casper/src/genesis_config_presets.rs b/runtime/casper/src/genesis_config_presets.rs index ed8faa0..d436662 100644 --- a/runtime/casper/src/genesis_config_presets.rs +++ b/runtime/casper/src/genesis_config_presets.rs @@ -22,10 +22,7 @@ use crate::{Balance, NetworkId}; use ghost_weaver::sr25519::AuthorityId as WeaverId; use ghost_exodus::sr25519::AuthorityId as ExodusId; -use ghost_helpers::networks::{ - NetworkClaim, NetworkInitiation, NetworkInitiationBuilder, - NetworkDataBuilder, NetworkType, NetworkCurve, -}; +use ghost_helpers::networks::{NetworkClaim, NetworkInitiation}; #[derive(Clone)] pub struct AuthorityInitiation { @@ -194,37 +191,7 @@ fn casper_staging_initial_authorities() -> Vec { } fn casper_testnet_networks() -> Vec> { - vec![ - NetworkInitiationBuilder::default() - .with_network_id(11155111) - .with_gatekeeper_amount(0) - .with_network_data( - NetworkDataBuilder::default() - .with_gatekeeper(hex!("9cFfBdBdF29C67c5DbAB1B5E8Ae897AeAFcaf70C").to_vec()) - .with_selector(hex!("d4be7935").to_vec()) - .with_default_endpoints( - vec![ - b"https://sepolia.drpc.org".to_vec(), - b"https://sepolia.gateway.tenderly.co".to_vec(), - b"https://api.zan.top/eth-sepolia".to_vec(), - b"https://rpc.sepolia.ethpandaops.io".to_vec(), - b"https://ethereum-sepolia-rpc.publicnode.com".to_vec(), - b"https://1rpc.io/sepolia".to_vec(), - b"https://0xrpc.io/sep".to_vec(), - b"https://eth-sepolia.api.onfinality.io/public".to_vec(), - ] - ) - .with_network_type(NetworkType::Evm) - .with_network_curve(NetworkCurve::Secp256k1) - .with_finality_delay(69) - .with_rate_limit_delay(5_000) - .with_block_deviation(420) - .with_incoming_share(69_000_000u32) - .with_outgoing_share(69_000_000u32) - .build() - ) - .build() - ] + vec![] } pub fn testnet_config_genesis(