mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
Postpone public key creation in the test GenesisStorageBuilder (#14142)
* Postpone public key creation from account id in the test genesis storage builder * Store raw sr25519 in substrate test pallet * Nitpick
This commit is contained in:
@@ -173,7 +173,7 @@ fn construct_genesis_should_work_with_native() {
|
||||
vec![AccountKeyring::One.into(), AccountKeyring::Two.into()],
|
||||
1000 * DOLLARS,
|
||||
)
|
||||
.build_storage();
|
||||
.build();
|
||||
let genesis_hash = insert_genesis_block(&mut storage);
|
||||
|
||||
let backend = InMemoryBackend::from((storage, StateVersion::default()));
|
||||
@@ -204,7 +204,7 @@ fn construct_genesis_should_work_with_wasm() {
|
||||
vec![AccountKeyring::One.into(), AccountKeyring::Two.into()],
|
||||
1000 * DOLLARS,
|
||||
)
|
||||
.build_storage();
|
||||
.build();
|
||||
let genesis_hash = insert_genesis_block(&mut storage);
|
||||
|
||||
let backend = InMemoryBackend::from((storage, StateVersion::default()));
|
||||
|
||||
Reference in New Issue
Block a user