-
Notifications
You must be signed in to change notification settings - Fork 2.6k
try-runtime follow-chain seems broken #13696
Comments
Error originates here: substrate/primitives/state-machine/src/lib.rs Lines 408 to 415 in 4bf67fb
Result: Err(
AbortedDueToTrap(
MessageWithBacktrace {
message: "unreachable",
backtrace: None,
},
),
) Going to traverse the commit history to see where the bug was introduced. |
Panics with a different error starting
|
Latest version I can get this working is |
I've made a little progress debugging (on The error is emitted at the injected Error:
Code: substrate/primitives/api/proc-macro/src/impl_runtime_apis.rs Lines 101 to 110 in 4bf67fb
So, what's the bad input data being provided? I modified the Err(e) => {
panic!("Bad input data provided to {}: {}. MAX_EXTRINSIC_DEPTH: {}, input: {:?}", #fn_name_str, e, #c::MAX_EXTRINSIC_DEPTH, #input);
}, and it turns out that the input provided is empty:
An empty input for
Kian thinks the empty input is likely a red herring, and that next debugging step should be to check if the input is malformed when it's passed to |
@kianenigma spotted the issue: a
|
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
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.git
cargo build -r
cp ./target/release/node-template .
cargo build -r --features=try-runtime
cp ./target/release/node-template ./node-template-try-runtime
cp ./target/release/wbuild/node-template-runtime/node_template_runtime.wasm ./runtime-try-runtime.wasm
./node-template --dev
Output:
The text was updated successfully, but these errors were encountered: