Skip to content

Commit

Permalink
fix: unsued sudo key for local relay
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Nov 28, 2024
1 parent 7228169 commit e4252b2
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 @@ -184,6 +184,9 @@ fn paseo_testnet_genesis(
})
.collect::<Vec<_>>(),
},
"sudo":{
"key": root_key,
},
"staking": {
"minimumValidatorCount": 1,
"validatorCount": initial_authorities.len() as u32,
Expand Down

0 comments on commit e4252b2

Please sign in to comment.