Use genesis_state_version param instead of StateVersion::V0 (#1410)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen authored and GitHub committed 2022-07-14 10:51:37 +02:00
1 parent ba9d9cdf6e
commit 3175d2fa27
1 file changed
+1 -1
+1 -1
View File
@@ -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(