Skip to content

Commit

Permalink
chore(paseo): include root at genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Dec 3, 2024
1 parent 3a03157 commit 5cef1e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion relay/paseo/src/genesis_config_presets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn paseo_testnet_genesis(
AuthorityDiscoveryId,
BeefyId,
)>,
_root_key: AccountId,
root_key: AccountId,
endowed_accounts: Option<Vec<AccountId>>,
) -> serde_json::Value {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(testnet_accounts);
Expand Down Expand Up @@ -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),
},
Expand Down

0 comments on commit 5cef1e3

Please sign in to comment.