Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Storage root mismatch on testnet #3695

Closed
iammelea opened this issue Sep 26, 2019 · 0 comments · Fixed by #3989
Closed

Storage root mismatch on testnet #3695

iammelea opened this issue Sep 26, 2019 · 0 comments · Fixed by #3989

Comments

@iammelea
Copy link

iammelea commented Sep 26, 2019

Running one testnet this logs in one sentry, no stop just bucle logs, after stop and start , works well

Hash: given=a4efcabf0dd2c407588236b059e657acf6e55eb07e3175e81a832eee1e0130be, expected=dcfa4fd44da5b9319cf6d7fac53e5d2e341d30f64dc5bc0b35b79d89e4232f6a

====================

Version: 2.0.0-4117bb9-x86_64-linux-gnu

stack backtrace:
   0: substrate_panic_handler::set::{{closure}}
   1: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:481
   2: std::panicking::begin_panic
   3: srml_executive::Executive<System,Block,Context,UnsignedValidator,AllModules>::execute_block
   4: node_runtime::api::dispatch
   5: std::panicking::try::do_call
   6: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:82
   7: substrate_executor::native_executor::safe_call
   8: std::thread::local::LocalKey<T>::with
   9: <node_executor::Executor as substrate_executor::native_executor::NativeExecutionDispatch>::dispatch
  10: <substrate_executor::native_executor::NativeExecutor<D> as substrate_primitives::traits::CodeExecutor<substrate_primitives::hasher::blake2::Blake2Hasher>>::call
  11: substrate_state_machine::StateMachine<B,H,N,T,O,Exec>::execute_aux
  12: substrate_state_machine::StateMachine<B,H,N,T,O,Exec>::execute_call_with_native_else_wasm_strategy
  13: substrate_state_machine::StateMachine<B,H,N,T,O,Exec>::execute_using_consensus_failure_handler
  14: <substrate_client::call_executor::LocalCallExecutor<B,E> as substrate_client::call_executor::CallExecutor<Block,substrate_primitives::hasher::blake2::Blake2Hasher>>::call_at_state
  15: <&substrate_client::client::Client<B,E,Block,RA> as substrate_consensus_common::block_import::BlockImport<Block>>::import_block
  16: <substrate_finality_grandpa::import::GrandpaBlockImport<B,E,Block,RA,PRA,SC> as substrate_consensus_common::block_import::BlockImport<Block>>::import_block
  17: <substrate_consensus_babe::BabeBlockImport<B,E,Block,I,RA,PRA> as substrate_consensus_common::block_import::BlockImport<Block>>::import_block
  18: substrate_consensus_common::import_queue::import_single_block
  19: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
  20: <futures_util::future::then::Then<Fut1,Fut2,F> as core::future::future::Future>::poll
  21: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
  22: futures_executor::thread_pool::PoolState::work
  23: std::sys_common::backtrace::__rust_begin_short_backtrace
  24: std::panicking::try::do_call
  25: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:82
  26: core::ops::function::FnOnce::call_once{{vtable.shim}}
  27: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/liballoc/boxed.rs:746
  28: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/liballoc/boxed.rs:746
      std::sys_common::thread::start_thread
             at src/libstd/sys_common/thread.rs:13
      std::sys::unix::thread::Thread::new::thread_start
             at src/libstd/sys/unix/thread.rs:79
  29: start_thread
  30: clone


Thread 'import-queue-worker-0' panicked at 'Storage root must match that calculated.', srml/executive/src/lib.rs:271

This is a bug. Please report it at:

        https://github.com/paritytech/substrate/issues/new

^CHash not equal
a4efcabf0dd2c407588236b059e657acf6e55eb07e3175e81a832eee1e0130be
dcfa4fd44da5b9319cf6d7fac53e5d2e341d30f64dc5bc0b35b79d89e4232f6a
panicked at 'Storage root must match that calculated.', /tmp/tmp.qBJhjkZ34n/srml/executive/src/lib.rs:271:3
2019-09-26 02:37:17 Block import error:
Execution(Wasmi(Trap(Trap { kind: Unreachable })))
@pepyakin pepyakin changed the title Execution(Wasmi(Trap(Trap { kind: Unreachable }))) Storage root mismatch on testnet Sep 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant