Skip to content

Instantly share code, notes, and snippets.

@gavofyork
Created January 30, 2019 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavofyork/0db8f8aecddf0828e0499a035fbe97a6 to your computer and use it in GitHub Desktop.
Save gavofyork/0db8f8aecddf0828e0499a035fbe97a6 to your computer and use it in GitHub Desktop.
➜ substrate git:(cheme-metadata2) ✗ ./target/release/substrate purge-chain --dev
Are you sure to remove "/Users/gav/Library/Application Support/substrate/chains/dev/db"? (y/n)y
"/Users/gav/Library/Application Support/substrate/chains/dev/db" removed.
➜ substrate git:(cheme-metadata2) ✗ ./target/release/substrate --dev
2019-01-30 16:18:08 Substrate Node
2019-01-30 16:18:08 version 0.10.0-54adf3ec-x86_64-macos
2019-01-30 16:18:08 by Parity Technologies <admin@parity.io>, 2017, 2018
2019-01-30 16:18:08 Chain specification: Development
2019-01-30 16:18:08 Node name: lying-mask-0112
2019-01-30 16:18:08 Roles: AUTHORITY
2019-01-30 16:18:08 Initialising Genesis block/state (state: 0x377a…e2ae, header-hash: 0xbac3…a260)
2019-01-30 16:18:08 Loaded block-time = 4 seconds from genesis on first-launch
2019-01-30 16:18:08 Loading GRANDPA authorities from genesis on what appears to be first startup.
2019-01-30 16:18:08 Best block: #0
2019-01-30 16:18:08 Using authority key 5GoKvZWG5ZPYL1WUovuHW3zJBWBP5eT8CbqjdRY4Q6iMaDtZ
2019-01-30 16:18:08 Loaded block-time = 4 seconds from genesis on first-launch
2019-01-30 16:18:08 Running Grandpa session as Authority 5GoKvZWG5ZPYL1WUovuHW3zJBWBP5eT8CbqjdRY4Q6iMaDtZ
2019-01-30 16:18:08 Idle (0 peers), best: #0 (0xbac3…a260), finalized #0 (0xbac3…a260), ⭳ 0 ⭱ 0
2019-01-30 16:18:12 Starting consensus session on top of parent 0xbac30088538120ce3389548c3dddd1458f91cefb011ebf7f2de5dbb948f0a260
2019-01-30 16:18:12 Prepared block for proposing at 1 [hash: 0xb833087df843c5cb2b19e5b0b441dd1125b3964adb5ea0459b31525e982ef0c0; parent_hash: 0xbac3…a260; extrinsics: [0xaf0a…ffff]]
2019-01-30 16:18:12 Pre-sealed block for proposal at 1. Hash now 0xd9e78bb89fd16032d50f4a75157d6ae2498d43d55f27d3e66c8e266f9b4c6885, previously 0xb833087df843c5cb2b19e5b0b441dd1125b3964adb5ea0459b31525e982ef0c0.
2019-01-30 16:18:12 Imported #1 (0xd9e7…6885)
2019-01-30 16:18:13 Idle (0 peers), best: #1 (0xd9e7…6885), finalized #0 (0xbac3…a260), ⭳ 0 ⭱ 0
2019-01-30 16:18:16 Starting consensus session on top of parent 0xd9e78bb89fd16032d50f4a75157d6ae2498d43d55f27d3e66c8e266f9b4c6885
2019-01-30 16:18:16 Prepared block for proposing at 2 [hash: 0x54000211a838acc1182d9186006e4012c6d77468313aa4f40756e4392b3704cd; parent_hash: 0xd9e7…6885; extrinsics: [0xa2ef…6abf]]
2019-01-30 16:18:16 Pre-sealed block for proposal at 2. Hash now 0x676750a2513bb960c161ef541edc1a00353eb64027ecd5a9d7f1ccd1dccf6efb, previously 0x54000211a838acc1182d9186006e4012c6d77468313aa4f40756e4392b3704cd.
2019-01-30 16:18:16 Imported #2 (0x6767…6efb)
2019-01-30 16:18:17 Kademlia random query has yielded empty results
2019-01-30 16:18:18 Kademlia random query has yielded empty results
2019-01-30 16:18:18 Idle (0 peers), best: #2 (0x6767…6efb), finalized #0 (0xbac3…a260), ⭳ 0 ⭱ 0
2019-01-30 16:18:20 Starting consensus session on top of parent 0x676750a2513bb960c161ef541edc1a00353eb64027ecd5a9d7f1ccd1dccf6efb
2019-01-30 16:18:20 Prepared block for proposing at 3 [hash: 0xde987bd7bf767172de956a0fdf5d588013bb890e85602e1db0d1af8c1590f56a; parent_hash: 0x6767…6efb; extrinsics: [0x774a…a69c]]
2019-01-30 16:18:20 Pre-sealed block for proposal at 3. Hash now 0x798d47de0390844de5caf0b75be5f573bd5d5f8ac965920b2e79ae624d78b8a7, previously 0xde987bd7bf767172de956a0fdf5d588013bb890e85602e1db0d1af8c1590f56a.
2019-01-30 16:18:20 Imported #3 (0x798d…b8a7)
2019-01-30 16:18:20 Kademlia random query has yielded empty results
2019-01-30 16:18:23 Idle (0 peers), best: #3 (0x798d…b8a7), finalized #0 (0xbac3…a260), ⭳ 0 ⭱ 0
2019-01-30 16:18:24 Starting consensus session on top of parent 0x798d47de0390844de5caf0b75be5f573bd5d5f8ac965920b2e79ae624d78b8a7
2019-01-30 16:18:24 Prepared block for proposing at 4 [hash: 0xf9563aff221b73999d318436552af18cf1347d07481a7225209837c7a6b965b9; parent_hash: 0x798d…b8a7; extrinsics: [0x98b2…902e]]
2019-01-30 16:18:24 Pre-sealed block for proposal at 4. Hash now 0xe4c2d1b9caae895a94565757df0109a1dc59b7a12cc7fd32ba55fcdacc945933, previously 0xf9563aff221b73999d318436552af18cf1347d07481a7225209837c7a6b965b9.
2019-01-30 16:18:24 Imported #4 (0xe4c2…5933)
2019-01-30 16:18:24 Kademlia random query has yielded empty results
2019-01-30 16:18:28 Starting consensus session on top of parent 0xe4c2d1b9caae895a94565757df0109a1dc59b7a12cc7fd32ba55fcdacc945933
thread 'tokio-runtime-worker-7' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0x20c0170e84c9e9645ed644a4b77fa9385f3acf8089ca2ca6eb2ead21852396d2"', src/libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
====================
stack backtrace:
0: substrate_cli::panic_hook::panic_hook::h210bbd9a842340d2 (0x101d1e339)
1: core::ops::function::Fn::call::hfcb571ddac9e9df3 (0x101d1d8fb)
2: std::panicking::rust_panic_with_hook::h3fe6a67edb032589 (0x102993261)
3: std::panicking::continue_panic_fmt::hf7169aba6b1afe9c (0x102992cac)
4: _rust_begin_unwind (0x102992b98)
5: core::panicking::panic_fmt::hf684b13de6e3dd2d (0x1029a95b1)
6: core::result::unwrap_failed::h84b278e34e6c239e (0x101c00b0d)
7: <substrate_state_machine::ext::Ext<'a, H, B, T> as substrate_state_machine::Externalities<H>>::storage::hd8a1ea179c983655 (0x10182d6ff)
8: <substrate_executor::wasm_executor::FunctionExecutor<'e, E> as wasmi::host::Externals>::invoke_index::h969be379c5c8bbb8 (0x101ab222e)
9: wasmi::func::FuncInstance::invoke::h982501772f1adf6e (0x1018a126a)
10: wasmi::runner::Interpreter::start_execution::h4f735ddba57f1ee1 (0x101c034a1)
11: wasmi::func::FuncInstance::invoke::h982501772f1adf6e (0x1018a1329)
12: wasmi::module::ModuleInstance::invoke_export::haedd795c1aa48bc3 (0x10195f0fa)
13: substrate_executor::wasm_executor::WasmExecutor::call_in_wasm_module::h170ff14033d26824 (0x101acdd5f)
14: <std::thread::local::LocalKey<T>>::with::h2d206f43e404c3cb (0x10184db1b)
15: <substrate_client::call_executor::LocalCallExecutor<B, E> as substrate_client::call_executor::CallExecutor<Block, substrate_primitives::hasher::blake2::Blake2Hasher>>::contextual_call::h5df05347727ce7ec (0x101a1f725)
16: <node_runtime::RuntimeApiImpl<RuntimeApiImplCall> as substrate_client::block_builder::api::BlockBuilder<<node_runtime::Runtime as sr_primitives::traits::GetNodeBlockType>::NodeBlock>>::finalise_block::h9196ffd81d57b063 (0x1019a9a3c)
17: <substrate_client::block_builder::block_builder::BlockBuilder<'a, Block, A>>::bake::hda5f1847d77cc058 (0x10181a4f7)
18: <substrate_basic_authorship::basic_authorship::Proposer<Block, C, A> as substrate_consensus_common::Proposer<<C as substrate_basic_authorship::basic_authorship::AuthoringApi>::Block>>::propose::h71c9a7553a1d4195 (0x101ad03be)
19: <futures::stream::for_each::ForEach<S, F, U> as futures::future::Future>::poll::h9a8aeb2f4f71bfb6 (0x101983a3a)
20: std::panicking::try::do_call::hb8faa6412ad0f633 (0x101ad14ef)
21: ___rust_maybe_catch_panic (0x1029a2c6e)
22: <futures::future::catch_unwind::CatchUnwind<F> as futures::future::Future>::poll::h095bd7e2de8829cc (0x10197c4d1)
23: <futures::future::chain::Chain<A, B, C>>::poll::h25fb972bf6b87fcf (0x1019c89bc)
24: <futures::future::select::Select<A, B> as futures::future::Future>::poll::hbe815cb25c34a6c7 (0x10194d627)
25: <futures::future::chain::Chain<A, B, C>>::poll::h44e6002aa1eea6cf (0x1019cb2ab)
26: futures::task_impl::std::set::h8332df38b824a982 (0x10285171c)
27: <futures::task_impl::Spawn<T>>::poll_future_notify::h0f872e8f6cbdd520 (0x10285b2ee)
28: std::panicking::try::do_call::ha60a229533cda4b9 (0x102851ea3)
29: ___rust_maybe_catch_panic (0x1029a2c6e)
30: tokio_threadpool::task::Task::run::h1c610eecd6b03257 (0x102852ac4)
31: tokio_threadpool::worker::Worker::run_task::hddfecc3a179e64a5 (0x102850ee9)
32: tokio_threadpool::worker::Worker::run::h295b2f00b3bebf1b (0x10285042d)
33: <std::thread::local::LocalKey<T>>::with::h45da8b9f9d9a5402 (0x10283ebc2)
34: <std::thread::local::LocalKey<T>>::with::haf605cd61ef480d4 (0x10283ee7d)
35: <std::thread::local::LocalKey<T>>::with::he151a0f58fb4ca52 (0x10283eff7)
36: tokio::runtime::threadpool::builder::Builder::build::{{closure}}::h3d21cb3e53ac3316 (0x102838c30)
37: <std::thread::local::LocalKey<T>>::with::h5493a4ac67b3dd29 (0x102857918)
38: <std::thread::local::LocalKey<T>>::with::h34e770c23a788b4b (0x1028572d5)
39: std::sys_common::backtrace::__rust_begin_short_backtrace::h70a423bd18524a9f (0x10285e09f)
40: std::panicking::try::do_call::h8ad589278198b204 (0x102851e5f)
41: ___rust_maybe_catch_panic (0x1029a2c6e)
42: <F as alloc::boxed::FnBox<A>>::call_box::hb32a2e25e4d70f56 (0x102854fe5)
43: std::sys::unix::thread::Thread::new::thread_start::hb66fd5e16b37cfd7 (0x102996e3b)
44: __pthread_body (0x7fff63242304)
45: __pthread_start (0x7fff6324526e)
Thread 'tokio-runtime-worker-7' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0x20c0170e84c9e9645ed644a4b77fa9385f3acf8089ca2ca6eb2ead21852396d2"', src/libcore/result.rs:1009
This is a bug. Please report it at:
https://github.com/paritytech/polkadot/issues/new
➜ substrate git:(cheme-metadata2) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment