mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 15:37:56 +00:00
Use genesis_state_version param instead of StateVersion::V0 (#1410)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -189,7 +189,7 @@ pub fn generate_genesis_block<Block: BlockT>(
|
||||
|
||||
let extrinsics_root = <<<Block as BlockT>::Header as HeaderT>::Hashing as HashT>::trie_root(
|
||||
Vec::new(),
|
||||
sp_runtime::StateVersion::V0,
|
||||
genesis_state_version,
|
||||
);
|
||||
|
||||
Ok(Block::new(
|
||||
|
||||
Reference in New Issue
Block a user