stafiprotocol/stafi-node

Thread 'tokio-runtime-worker' panicked at 'Storage root must match that calculated.'

Closed this issue · 1 comments

Mar 16 01:36:21.059 INFO execute_block: 💸 new validator set of size 160 has been elected via ElectionCompute::Unsigned for era 2219 {block}
Hash: given=a35066aaccc07ba34f70558ff1a3fae62ab8a7137cde73b67ded0df0066bff47, expected=8509bbe46d0963c3343b71edbb04eb787b81cea61971c3af74f8648b946ac6cc

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

Version: 0.5.0-unknown-x86_64-linux-gnu

0: sp_panic_handler::set::{{closure}}
1: std::panicking::rust_panic_with_hook
at /rustc/a1dfd2490a6cb456b92e469fa550dc217e20ad6d/library/std/src/panicking.rs:581:17
2: std::panicking::begin_panic::{{closure}}
3: std::sys_common::backtrace::__rust_end_short_backtrace
4: std::panicking::begin_panic
5: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllModules,COnRuntimeUpgrade>::final_checks
6: tracing::span::Span::in_scope
7: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllModules,COnRuntimeUpgrade>::execute_block
8: <node_runtime::Runtime as sp_api::runtime_decl_for_Core::Core<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<<pallet_indices::Module<node_runtime::Runtime> as sp_runtime::traits::StaticLookup>::Source,node_runtime::Call,sp_runtime::MultiSignature,(frame_system::extensions::check_spec_version::CheckSpecVersion<node_runtime::Runtime>,frame_system::extensions::check_tx_version::CheckTxVersion<node_runtime::Runtime>,frame_system::extensions::check_genesis::CheckGenesis<node_runtime::Runtime>,frame_system::extensions::check_mortality::CheckMortality<node_runtime::Runtime>,frame_system::extensions::check_nonce::CheckNonce<node_runtime::Runtime>,frame_system::extensions::check_weight::CheckWeight<node_runtime::Runtime>,pallet_transaction_payment::ChargeTransactionPayment<node_runtime::Runtime>)>>>>::execute_block
9: sp_api::runtime_decl_for_Core::execute_block_native_call_generator::{{closure}}
10: std::thread::local::LocalKey::with
11: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
12: sc_executor::wasm_runtime::RuntimeCache::with_instance
13: <sc_executor::native_executor::NativeExecutor as sp_core::traits::CodeExecutor>::call
14: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_aux
15: sp_state_machine::execution::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
16: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor>::contextual_call
17: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at
18: sp_api::Core::execute_block_with_context
19: <&sc_service::client::client::Client<B,E,Block,RA> as sp_consensus::block_import::BlockImport>::import_block
20: <sc_finality_grandpa::import::GrandpaBlockImport<BE,Block,Client,SC> as sp_consensus::block_import::BlockImport>::import_block
21: <sc_consensus_babe::BabeBlockImport<Block,Client,Inner> as sp_consensus::block_import::BlockImport>::import_block
22: sp_consensus::import_queue::import_single_block_metered
23: <futures_util::future::poll_fn::PollFn as core::future::future::Future>::poll
24: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
25: <futures_util::future::future::flatten::Flatten<Fut,::Output> as core::future::future::Future>::poll
26: <futures_util::future::poll_fn::PollFn as core::future::future::Future>::poll
27: <sc_service::task_manager::prometheus_future::PrometheusFuture as core::future::future::Future>::poll
28: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
29: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
30: std::thread::local::LocalKey::with
31: futures_executor::local_pool::block_on
32: tokio::runtime::task::core::Core<T,S>::poll
33: <std::panic::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
34: tokio::runtime::task::raw::poll
35: tokio::runtime::blocking::pool::Inner::run
36: tokio::runtime::context::enter
37: std::sys_common::backtrace::__rust_begin_short_backtrace
38: core::ops::function::FnOnce::call_once{{vtable.shim}}
39: <alloc::boxed::Box as core::ops::function::FnOnce>::call_once
at /rustc/a1dfd2490a6cb456b92e469fa550dc217e20ad6d/library/alloc/src/boxed.rs:1042:9
<alloc::boxed::Box as core::ops::function::FnOnce>::call_once
at /rustc/a1dfd2490a6cb456b92e469fa550dc217e20ad6d/library/alloc/src/boxed.rs:1042:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/a1dfd2490a6cb456b92e469fa550dc217e20ad6d/library/std/src/sys/unix/thread.rs:87:17
40: start_thread
41: clone

Thread 'tokio-runtime-worker' panicked at 'Storage root must match that calculated.', /root/.cargo/git/checkouts/stafi-blockchain-617d6602e3c006ac/2996165/frame/executive/src/lib.rs:414

This is a bug. Please report it at:

    https://github.com/stafiprotocol/stafi-node/issues/new

Hi, fixed this issue in the version 0.5.1. Thanks for reporting this.