mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
Make use of assimilate_storage for GenesisConfig (#1982)
* Make use of `assimilate_storage` for `GenesisConfig` Fixes incorrect initialization of the staking gensis storage. * Add some documentation
This commit is contained in:
1 parent
e91426ac77
commit
17f093da13
8 files changed
+35
-50
No files matched your search
@@ -320,7 +320,7 @@ fn development_config_genesis() -> GenesisConfig {
|
||||
get_authority_keys_from_seed("Alice"),
|
||||
],
|
||||
get_account_id_from_seed("Alice").into(),
|
||||
None,
|
||||
Some(vec![get_authority_keys_from_seed("Alice").0]),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -336,7 +336,10 @@ fn local_testnet_genesis() -> GenesisConfig {
|
||||
get_authority_keys_from_seed("Bob"),
|
||||
],
|
||||
get_account_id_from_seed("Alice").into(),
|
||||
None,
|
||||
Some(vec![
|
||||
get_authority_keys_from_seed("Alice").0,
|
||||
get_authority_keys_from_seed("Bob").0,
|
||||
]),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user