Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Update test-utils/runtime/src/genesismap.rs
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
yjhmelody and bkchr authored Feb 24, 2023
commit e3ad634a7cf765febd586fae4f0ab28538e59e46
2 changes: 1 addition & 1 deletion test-utils/runtime/src/genesismap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub fn insert_genesis_block(storage: &mut Storage) -> sp_core::hash::H256 {
storage.top.clone().into_iter().collect(),
sp_runtime::StateVersion::V1,
);
let block: crate::Block = construct_genesis_block(state_root, StateVersion::V0);
let block: crate::Block = construct_genesis_block(state_root, StateVersion::V1);
let genesis_hash = block.header.hash();
storage.top.extend(additional_storage_with_genesis(&block));
genesis_hash
Expand Down