Fix try-runtime with create-snapshot (#13223)

* Fix try-runtime with create-snapshot

* Apply review suggestions
This commit is contained in:
zjb0807
2023-01-26 12:12:19 +13:00
committed by GitHub
parent 1da71f0226
commit 73a9776266
6 changed files with 10 additions and 7 deletions
@@ -99,7 +99,7 @@ where
HostFns: HostFunctions,
{
let executor = build_executor::<HostFns>(&shared);
let ext = command.state.into_ext::<Block, HostFns>(&shared, &executor, None).await?;
let ext = command.state.into_ext::<Block, HostFns>(&shared, &executor, None, true).await?;
// get the block number associated with this block.
let block_ws_uri = command.block_ws_uri::<Block>();