Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage root must match that calculated #17

Closed
hulatown opened this issue Apr 13, 2019 · 3 comments
Closed

Storage root must match that calculated #17

hulatown opened this issue Apr 13, 2019 · 3 comments

Comments

@hulatown
Copy link

0.9.8测试网验证者节点在高度25951的位置产生问题。节点会重复打印如下日志:

stack backtrace:
   0: substrate_panic_handler::set::{{closure}}::h6151f83348fe5cb3 (0x564ac756131f)
   1: rust_panic_with_hook (0x564ac77481e8)
             at src/libstd/panicking.rs:478
   2: std::panicking::begin_panic::ha17c276b68ef3911 (0x564ac7321ad4)
   3: <chainx_runtime::xexecutive::Executive<System, Block, Context, Payment, AllModules>>::execute_block::hf28d0b5901e8ead2 (0x564ac7384ef7)
   4: chainx_runtime::api::dispatch::hbd978dc53fe9f7c9 (0x564ac72baa52)
   5: std::panicking::try::do_call::h7ae11b3d4cdfbdfb (0x564ac6d47e11)
   6: __rust_maybe_catch_panic (0x564ac774e579)
             at src/libpanic_unwind/lib.rs:87
   7: substrate_executor::native_executor::safe_call::h13303d24dfa76ef7 (0x564ac6d47af2)
   8: <std::thread::local::LocalKey<T>>::with::hf324c8a2d7642d9b (0x564ac6d47516)
   9: <chainx_executor::Executor as substrate_executor::native_executor::NativeExecutionDispatch>::dispatch::hffd4afadc7f37f13 (0x564ac6d46e7c)
  10: <std::thread::local::LocalKey<T>>::with::he29e68a370bece3e (0x564ac6a77316)
  11: <substrate_state_machine::StateMachine<'a, H, B, T, O, Exec>>::execute_aux::h10a9eb4603a2b4ce (0x564ac68c3ca2)
  12: <substrate_state_machine::StateMachine<'a, H, B, T, O, Exec>>::execute_call_with_native_else_wasm_strategy::h01e29a7158eeac09 (0x564ac694c4b2)
  13: <substrate_state_machine::StateMachine<'a, H, B, T, O, Exec>>::execute_using_consensus_failure_handler::hb71ec0f91bbf6eca (0x564ac6928f11)
  14: <substrate_client::call_executor::LocalCallExecutor<B, E> as substrate_client::call_executor::CallExecutor<Block, substrate_primitives::hasher::blake2::Blake2Hasher>>::call_at_state::h39de45a6d010cf78 (0x564ac69f6de1)
  15: <substrate_client::client::Client<B, E, Block, RA>>::lock_import_and_run::{{closure}}::h576be5145f13c396 (0x564ac6bf82be)
  16: <substrate_client::client::Client<B, E, Block, RA> as substrate_consensus_common::block_import::BlockImport<Block>>::import_block::h6e2b74ee4ad6ffc3 (0x564ac6bc9371)
  17: <substrate_finality_grandpa::import::GrandpaBlockImport<B, E, Block, RA, PRA> as substrate_consensus_common::block_import::BlockImport<Block>>::import_block::hbc25775dd83ec082 (0x564ac6add6f2)
  18: <substrate_consensus_common::import_queue::BlockImportWorker<B, V>>::import_a_batch_of_blocks::h6640ccd940ec190c (0x564ac684b62b)
  19: std::sys_common::backtrace::__rust_begin_short_backtrace::hc46b607889d60a21 (0x564ac6cdc9fe)
  20: std::panicking::try::do_call::hefc70362a4239358 (0x564ac668487d)
  21: __rust_maybe_catch_panic (0x564ac774e579)
             at src/libpanic_unwind/lib.rs:87
  22: <F as alloc::boxed::FnBox<A>>::call_box::hdf3f10eb1475be8f (0x564ac669f99e)
  23: call_once<(),()> (0x564ac774d8bd)
             at /rustc/a9da8fc9c267c08cfdb8cf5b39da14f154d12939/src/liballoc/boxed.rs:759
      start_thread
             at src/libstd/sys_common/thread.rs:14
      thread_start
             at src/libstd/sys/unix/thread.rs:80
  24: start_thread (0x7f120ca2d6da)
  25: __clone (0x7f120c53e88e)
  26: <unknown> (0x0)

Thread 'ImportQueueWorker' panicked at 'Storage root must match that calculated.', runtime/src/xexecutive.rs:265

This is a bug. Please report it at:

	https://github.com/chainx-org/ChainX

2019-04-13 09:32:19.557 INFO [runtime|xrml_xsystem] height:25951, blockproducer: 0b257ad398a034bec8e2020bf0d8f8102cdeb8a0ba21455e11d8df9a44636791 (5CKKWyrD...)|name:Amazon
Runtime: Cannot nominate if greater than your avaliable free balance.
Hash: given=64235d7dd78d74819d15055b1165b1bae7b7feeb88de41d7e1304795fbc669ef, expected=46c2a5652dd2c05a7ecd67c92b58a0839c47333d7f54d4d4a710fdca69ccf2ce
@hulatown
Copy link
Author

补充:直接 kill 掉重启后,可继续同步区块并参选

@gguoss
Copy link
Member

gguoss commented Apr 17, 2019

@hulatown
Copy link
Author

节点:HB_Research

icodezjb referenced this issue in btclayer2/BEVM Jun 8, 2024
* Add rpc to get withdrawal fee

* Add rpc to get trustee cold pubkeys

* Add rpc to get withdrawal history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants