This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
try-runtime follow-chain seems broken #13696
Copy link
Copy link
Closed
Labels
I3-bugThe node fails to follow expected behavior.The node fails to follow expected behavior.
Description
Is there an existing issue?
- I have searched the existing issues
Experiencing problems? Have you tried our Stack Exchange first?
- This is not a support question.
Description of bug
As reported in this SO post follow-chain logs a curious error when used according to instructions.
Waiting for @kianenigma to double check that this is not user error. If confirmed a bug and time permits I'm interested in taking the issue.
Steps to reproduce
git clone https://github.com/substrate-developer-hub/substrate-node-template.gitcargo build -rcp ./target/release/node-template .cargo build -r --features=try-runtimecp ./target/release/node-template ./node-template-try-runtimecp ./target/release/wbuild/node-template-runtime/node_template_runtime.wasm ./runtime-try-runtime.wasm./node-template --dev- (in a different terminal)
./node-template-try-runtime \
try-runtime \
--runtime runtime-try-runtime.wasm \
-lruntime=debug \
follow-chain \
--uri ws://localhost:9944
Output:
$ ./node-template-try-runtime try-runtime -lruntime=debug --runtime runtime-try-runtime.wasm follow-chain --uri ws://localhost:9944
2023-03-23 18:57:16.935 INFO main try-runtime::cli: subscribing to "chain_subscribeFinalizedHeads" / "chain_unsubscribeFinalizedHeads"
2023-03-23 18:57:16.938 INFO main remote-ext: since no prefix is filtered, the data for all pallets will be downloaded
2023-03-23 18:57:16.939 INFO main remote-ext: scraping key-pairs from remote at block height 0x983dd9c8956066e16614931e2ced38ce00545663426bfc60ccdc41256447323c
2023-03-23 18:57:16.939 INFO main remote-ext: adding data for hashed prefix: 3a6368696c645f73746f726167653a64656661756c743a, took 0s
2023-03-23 18:57:16.939 INFO main remote-ext: Querying a total of 36 keys from prefix , splitting among 8 threads, 5 keys per thread
2023-03-23 18:57:16.944 INFO main remote-ext: adding data for hashed prefix: , took 0s
2023-03-23 18:57:16.944 INFO main remote-ext: adding data for hashed key: 3a636f6465
2023-03-23 18:57:16.947 INFO main remote-ext: adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8
2023-03-23 18:57:16.947 INFO main remote-ext: adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac
2023-03-23 18:57:16.947 INFO main remote-ext: initialized state externalities with storage root 0x46b1c5672777f6ade7e0642446079ff3a170e0723b36cdf7bc5e0279f9396620 and state_version V1
2023-03-23 18:57:16.958 INFO main try-runtime::cli: original spec: RuntimeString::Owned("node-template")-100, code hash: 8958348fee00241d329b5ae60038f81327919277c9689a99efb391c1bde2939d
2023-03-23 18:57:16.964 INFO main try-runtime::cli: new spec: RuntimeString::Owned("node-template")-100, code hash: 2ba5db522fe028e0c2733c7d1a173383371bb514cf3c34475c7510b874aabc7c
2023-03-23 18:57:16.984 ERROR main runtime: panicked at 'Bad input data provided to execute_block: Codec error', /Users/liamaharon/grimoire/substrate-node-template/runtime/src/lib.rs:352:1
2023-03-23 18:57:16.985 ERROR main try-runtime::cli: failed to execute block 3 due to Input("failed to execute TryRuntime_execute_block: Execution aborted due to trap: unreachable")
2023-03-23 18:57:19.093 ERROR main runtime: panicked at 'Bad input data provided to execute_block: Codec error', /Users/liamaharon/grimoire/substrate-node-template/runtime/src/lib.rs:352:1
2023-03-23 18:57:19.093 ERROR main try-runtime::cli: failed to execute block 4 due to Input("failed to execute TryRuntime_execute_block: Execution aborted due to trap: unreachable")
Metadata
Metadata
Assignees
Labels
I3-bugThe node fails to follow expected behavior.The node fails to follow expected behavior.