more final additions to genesis config

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-09-11 17:04:31 +03:00
parent 3ed3c659c6
commit c9288e7e1e
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 15 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.9" version = "4.0.10"
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

@ -220,6 +220,17 @@ fn casper_staging_initial_authorities() -> Vec<AuthorityInitiation> {
.with_weaver_id(WeaverId::unchecked_from(hex!("78efbd73e499bea76bf9bab1cb136fbe51aee389b1a8d151496e30bd55888429"))) .with_weaver_id(WeaverId::unchecked_from(hex!("78efbd73e499bea76bf9bab1cb136fbe51aee389b1a8d151496e30bd55888429")))
.with_exodus_id(ExodusId::unchecked_from(hex!("b469187ddf8f7458d67262328e236a252bd2db9e2f87e8313e7e3b322aecdc3e"))) .with_exodus_id(ExodusId::unchecked_from(hex!("b469187ddf8f7458d67262328e236a252bd2db9e2f87e8313e7e3b322aecdc3e")))
.build(), .build(),
// sfEwRjyvEQcpRQ1qbCZum27nEkTggKEt7DtqxwyYQULt9UuUN
AuthorityInitiationBuilder::default()
.with_stash(AccountId::new(hex!("a0ba0196e6ee7e6b5b0553035c5cb5c04e9725001b5732839d0529cbc00c9600")))
.with_account(AccountId::new(hex!("3666e4e19f87bb8680495f31864ce1f1c69d4178002cc01911aef2cc7313f203")))
.with_babe_id(BabeId::unchecked_from(hex!("6c4dd88b43e2011cf9a6a73d53446336ac9e04cdd4ca23587df63187ac455e49")))
.with_grandpa_id(GrandpaId::unchecked_from(hex!("8f9ea20bf4a807a8e710f7559dece86e94672b5b361de157bdaa5c1f37849f8d")))
.with_authority_id(AuthorityDiscoveryId::unchecked_from(hex!("90db5ed339a559ed157995a48d781f44c7df972dfba4bc855e4b59fa46438e17")))
.with_weaver_id(WeaverId::unchecked_from(hex!("5e7fdff77b38a07fad6dbc1cbfed9bb08b0c670459e6d4962f37c46a145f2214")))
.with_exodus_id(ExodusId::unchecked_from(hex!("bcb1948a376a30a92bc6ecce17d95185775b51a655dc1d4d393ed5c26b8b201e")))
.build(),
] ]
} }
@ -233,8 +244,8 @@ pub fn testnet_config_genesis(
initial_networks: Vec<NetworkInitiation<NetworkId, Balance>>, initial_networks: Vec<NetworkInitiation<NetworkId, Balance>>,
initial_claims: Vec<NetworkClaim<NetworkId, Balance>>, initial_claims: Vec<NetworkClaim<NetworkId, Balance>>,
) -> serde_json::Value { ) -> serde_json::Value {
const ENDOWMENT: u128 = 31 * CSPR; const ENDOWMENT: u128 = 34 * CSPR;
const STASH_BOND: u128 = 68 * CSPR; const STASH_BOND: u128 = 34 * CSPR;
const STASH_FEES: u128 = 1 * CSPR; const STASH_FEES: u128 = 1 * CSPR;
let sudo = initial_authorities.first().map(|x| x.account.clone()).unwrap(); let sudo = initial_authorities.first().map(|x| x.account.clone()).unwrap();
@ -284,7 +295,7 @@ pub fn testnet_config_genesis(
"babe": { "epochConfig": Some(crate::BABE_GENESIS_EPOCH_CONFIG) }, "babe": { "epochConfig": Some(crate::BABE_GENESIS_EPOCH_CONFIG) },
"ghostNominationPools": { "ghostNominationPools": {
"minJoinBond": 10 * STNK, "minJoinBond": 10 * STNK,
"minCreateBond": 50 * CSPR, "minCreateBond": 42 * CSPR,
"maxPools": 256u32, "maxPools": 256u32,
"maxMembersPerPool": 1024u32, "maxMembersPerPool": 1024u32,
"maxMembers": 20000u32, "maxMembers": 20000u32,