Skip to content

Commit

Permalink
chore(system-ps): add sudo at genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Nov 7, 2024
1 parent 75b9534 commit 0e6df1a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .chopsticks/paseo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
endpoint: wss://rpc.ibp.network/paseo
mock-signature-host: true
db: ./db.sqlite

import-storage:
System:
Account:
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- providers: 1
data:
free: 1000000000000000
Sudo:
Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ fn asset_hub_paseo_genesis(
})
.collect(),
},
"sudo": {
"key": Some(get_account_id_from_seed::<sr25519::Public>("Alice"))
},
"polkadotXcm": {
"safeXcmVersion": Some(SAFE_XCM_VERSION),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ fn bridge_hub_paseo_genesis(
})
.collect(),
},
"sudo": {
"key": Some(get_account_id_from_seed::<sr25519::Public>("Alice"))
},
"polkadotXcm": {
"safeXcmVersion": Some(SAFE_XCM_VERSION),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ fn coretime_paseo_genesis(
})
.collect(),
},
"sudo": {
"key": Some(get_account_id_from_seed::<sr25519::Public>("Alice"))
},
"polkadotXcm": {
"safeXcmVersion": Some(SAFE_XCM_VERSION),
},
Expand Down
3 changes: 3 additions & 0 deletions system-parachains/people-paseo/src/genesis_config_presets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ fn people_paseo_genesis(
})
.collect(),
},
"sudo": {
"key": Some(get_account_id_from_seed::<sr25519::Public>("Alice"))
},
"polkadotXcm": {
"safeXcmVersion": Some(SAFE_XCM_VERSION),
},
Expand Down

0 comments on commit 0e6df1a

Please sign in to comment.