From 5cef1e33f357cff2dbabf19ee75661f122179a96 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Andres <11448715+al3mart@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:45:39 +0100 Subject: [PATCH] chore(paseo): include root at genesis --- relay/paseo/src/genesis_config_presets.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/relay/paseo/src/genesis_config_presets.rs b/relay/paseo/src/genesis_config_presets.rs index 83c374b..5335d07 100644 --- a/relay/paseo/src/genesis_config_presets.rs +++ b/relay/paseo/src/genesis_config_presets.rs @@ -153,7 +153,7 @@ fn paseo_testnet_genesis( AuthorityDiscoveryId, BeefyId, )>, - _root_key: AccountId, + root_key: AccountId, endowed_accounts: Option>, ) -> serde_json::Value { let endowed_accounts: Vec = endowed_accounts.unwrap_or_else(testnet_accounts); @@ -195,6 +195,9 @@ fn paseo_testnet_genesis( "forceEra": Forcing::NotForcing, "slashRewardFraction": Perbill::from_percent(10), }, + "sudo": { + "key": Some(root_key), + }, "babe": { "epochConfig": Some(BABE_GENESIS_EPOCH_CONFIG), },