remove default network gatekeepers because we don't any yet

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-09-06 22:14:42 +03:00
parent 8a321ab5e1
commit 66bf42cbd3
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 4 additions and 37 deletions

2
Cargo.lock generated
View File

@ -1195,7 +1195,7 @@ dependencies = [
[[package]] [[package]]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.5" version = "4.0.6"
dependencies = [ dependencies = [
"casper-runtime-constants", "casper-runtime-constants",
"frame-benchmarking", "frame-benchmarking",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.5" version = "4.0.6"
build = "build.rs" build = "build.rs"
description = "Runtime of the Casper Network" description = "Runtime of the Casper Network"
edition.workspace = true edition.workspace = true

View File

@ -22,10 +22,7 @@ use crate::{Balance, NetworkId};
use ghost_weaver::sr25519::AuthorityId as WeaverId; use ghost_weaver::sr25519::AuthorityId as WeaverId;
use ghost_exodus::sr25519::AuthorityId as ExodusId; use ghost_exodus::sr25519::AuthorityId as ExodusId;
use ghost_helpers::networks::{ use ghost_helpers::networks::{NetworkClaim, NetworkInitiation};
NetworkClaim, NetworkInitiation, NetworkInitiationBuilder,
NetworkDataBuilder, NetworkType, NetworkCurve,
};
#[derive(Clone)] #[derive(Clone)]
pub struct AuthorityInitiation { pub struct AuthorityInitiation {
@ -194,37 +191,7 @@ fn casper_staging_initial_authorities() -> Vec<AuthorityInitiation> {
} }
fn casper_testnet_networks() -> Vec<NetworkInitiation<NetworkId, Balance>> { fn casper_testnet_networks() -> Vec<NetworkInitiation<NetworkId, Balance>> {
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()
]
} }
pub fn testnet_config_genesis( pub fn testnet_config_genesis(