From 3380d16dc938e2de070a69dacaf4f8589b2c764f Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Mon, 28 Jul 2025 13:15:10 +0300 Subject: [PATCH] extend genesis config with ghost sudo Signed-off-by: Uncle Stinky --- Cargo.toml | 2 +- service/src/chain_spec.rs | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2b14fed..6700487 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ homepage.workspace = true [workspace.package] license = "GPL-3.0-only" authors = ["571nky", "57r37ch", "f4750"] -version = "0.7.202" +version = "0.7.203" edition = "2021" homepage = "https://ghostchain.io" repository = "https://git.ghostchain.io/ghostchain/ghost-node" diff --git a/service/src/chain_spec.rs b/service/src/chain_spec.rs index 5af0434..6afcc5a 100644 --- a/service/src/chain_spec.rs +++ b/service/src/chain_spec.rs @@ -272,6 +272,11 @@ pub fn testnet_config_genesis( "babe": { "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG), }, + "ghostSudo": { + "key": endowed_accounts + .first() + .cloned(), + }, "ghostNetworks": { "networks": evm_networks, }, @@ -709,6 +714,11 @@ fn casper_staging_config_genesis() -> serde_json::Value { "babe": { "epochConfig": Some(casper::BABE_GENESIS_EPOCH_CONFIG), }, + "ghostSudo": { + "key": endowed_accounts + .first() + .cloned(), + }, "ghostNetworks": { "networks": evm_networks, },