Phala-Network / khala-parachain

Khala parachain
Apache License 2.0
27 stars 19 forks source link

启动新版数据结构的khala-node,反复报错 #317

Closed wowvwow closed 10 months ago

wowvwow commented 10 months ago

2024-01-11 09:37:00 Khala Node
2024-01-11 09:37:00 ✌️ version 0.1.26-399a7ef7c3e
2024-01-11 09:37:00 ❤️ by Phala Network, 2018-2024
2024-01-11 09:37:00 📋 Chain specification: Khala
2024-01-11 09:37:00 🏷 Node name: khala-node
2024-01-11 09:37:00 👤 Role: FULL
2024-01-11 09:37:00 💾 Database: ParityDb at /root/data/chains/khala/paritydb/full
--state-cache-size was deprecated. Please switch to --trie-cache-size. 2024-01-11 09:37:04 It isn't safe to expose RPC publicly without a proxy server that filters available set of RPC methods.
2024-01-11 09:37:04 Parachain id: Id(2004)
2024-01-11 09:37:04 Parachain Account: 5Ec4AhPVjsshXjh8ynp6MwaJTJBnen3pkHiiyDhHfie5VWkN
2024-01-11 09:37:04 Is collating: no
2024-01-11 09:37:27 [Relaychain] 🏷 Local node identity is: 12D3KooWKDBHyLQcJ4oAvBaomukBJfBD94WkEu3smak6V71EtMNU
2024-01-11 09:37:27 [Relaychain] 💻 Operating system: linux
2024-01-11 09:37:27 [Relaychain] 💻 CPU architecture: x86_64
2024-01-11 09:37:27 [Relaychain] 💻 Target environment: gnu
2024-01-11 09:37:27 [Relaychain] 💻 CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
2024-01-11 09:37:27 [Relaychain] 💻 CPU cores: 4
2024-01-11 09:37:27 [Relaychain] 💻 Memory: 7948MB
2024-01-11 09:37:27 [Relaychain] 💻 Kernel: 5.15.0-73-generic
2024-01-11 09:37:27 [Relaychain] 💻 Linux distribution: Ubuntu 22.04.3 LTS
2024-01-11 09:37:27 [Relaychain] 💻 Virtual machine: yes
2024-01-11 09:37:27 [Relaychain] 📦 Highest known block at #21266639
2024-01-11 09:37:27 [Relaychain] 〽️ Prometheus exporter started at 0.0.0.0:9616
2024-01-11 09:37:27 [Relaychain] Running JSON-RPC server: addr=0.0.0.0:9945, allowed origins=[""]
2024-01-11 09:37:27 [Relaychain] Starting with an empty approval vote DB. 2024-01-11 09:37:27 [Parachain] 🏷 Local node identity is: 12D3KooWLsnTwzN6q6yc5yvEH19ecQXw8U7C13DYRR3qoj5Snveh
2024-01-11 09:37:27 [Parachain] 💻 Operating system: linux
2024-01-11 09:37:27 [Parachain] 💻 CPU architecture: x86_64
2024-01-11 09:37:27 [Parachain] 💻 Target environment: gnu
2024-01-11 09:37:27 [Parachain] 💻 CPU: Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
2024-01-11 09:37:27 [Parachain] 💻 CPU cores: 4
2024-01-11 09:37:27 [Parachain] 💻 Memory: 7948MB
2024-01-11 09:37:27 [Parachain] 💻 Kernel: 5.15.0-73-generic
2024-01-11 09:37:27 [Parachain] 💻 Linux distribution: Ubuntu 22.04.3 LTS
2024-01-11 09:37:27 [Parachain] 💻 Virtual machine: yes
2024-01-11 09:37:27 [Parachain] 📦 Highest known block at #5263414
2024-01-11 09:37:27 [Parachain] Running JSON-RPC server: addr=0.0.0.0:9944, allowed origins=["
"]
2024-01-11 09:37:27 [Parachain] 〽️ Prometheus exporter started at 0.0.0.0:9615
2024-01-11 09:37:27 [Relaychain] discovered: 12D3KooWLsnTwzN6q6yc5yvEH19ecQXw8U7C13DYRR3qoj5Snveh /ip4/172.23.0.2/tcp/30333/ws
2024-01-11 09:37:27 [Parachain] discovered: 12D3KooWKDBHyLQcJ4oAvBaomukBJfBD94WkEu3smak6V71EtMNU /ip4/172.23.0.2/tcp/30334/ws
2024-01-11 09:37:28 [Parachain] 🔍 Discovered new external address for our node: /ip4/116.136.130.138/tcp/30333/ws/p2p/12D3KooWLsnTwzN6q6yc5yvEH19ecQXw8U7C13DYRR3qoj5Snveh
2024-01-11 09:37:28 [Relaychain] 🔍 Discovered new external address for our node: /ip4/116.136.130.138/tcp/30334/ws/p2p/12D3KooWKDBHyLQcJ4oAvBaomukBJfBD94WkEu3smak6V71EtMNU

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

Version: 0.1.26-399a7ef7c3e

0: sp_panic_handler::set::{{closure}} 1: <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9 std::panicking::rust_panic_with_hook at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:711:13 2: std::panicking::begin_panic_handler::{{closure}} at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13 3: std::sys_common::backtrace::rust_end_short_backtrace at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18 4: rust_begin_unwind at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5 5: core::panicking::panic_fmt at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14 6: core::result::unwrap_failed at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1652:5 7: <sp_state_machine::ext::Ext<H,B> as sp_externalities::Externalities>::storage 8: sp_io::storage::get_version_1 9: sp_io::storage::ExtStorageGetVersion1::call 10: <F as wasmtime::func::IntoFunc<T,(wasmtime::func::Caller,A1),R>>::into_func::wasm_to_host_shim 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: wasmtime_runtime::traphandlers::catch_traps::call_closure 23: wasmtime_setjmp 24: sc_executor_wasmtime::runtime::WasmtimeInstance::call_impl 25: sc_executor_common::wasm_runtime::WasmInstance::call_export 26: sc_executor::executor::WasmExecutor::with_instance::{{closure}} 27: <sc_executor::executor::WasmExecutor as sp_core::traits::CodeExecutor>::call 28: sp_state_machine::execution::StateMachine<B,H,Exec>::execute 29: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at 30: <khala_parachain_runtime::RuntimeApiImpl<SrApiBlock,RuntimeApiImplCall> as sp_api::Core<__SrApiBlock__>>::runtime_api_internal_call_api_at 31: <&sc_service::client::client::Client<B,E,Block,RA> as sc_consensus::block_import::BlockImport>::import_block::{{closure}} 32: <alloc::sync::Arc as sc_consensus::block_import::BlockImport>::import_block::{{closure}} 33: <cumulus_client_consensus_common::ParachainBlockImport<Block,BI,BE> as sc_consensus::block_import::BlockImport>::import_block::{{closure}} 34: <alloc::boxed::Box<dyn sc_consensus::block_import::BlockImport+Error = sp_consensus::error::Error+core::marker::Sync+core::marker::Send> as sc_consensus::block_import::BlockImport>::import_block::{{closure}} 35: sc_consensus::import_queue::basic_queue::BlockImportWorker::new::{{closure}} 36: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll 37: <tracing_futures::Instrumented as core::future::future::Future>::poll 38: tokio::runtime::task::raw::poll 39: std::sys_common::backtrace::rust_begin_short_backtrace 40: core::ops::function::FnOnce::call_once{{vtable.shim}} 41: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9 <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9 std::sys::unix::thread::Thread::new::thread_start at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys/unix/thread.rs:108:17 42: 43: clone

Thread 'tokio-runtime-worker' panicked at 'Externalities not allowed to fail within runtime: "Trie lookup error: Database missing expected key: 0xfece5216d2677951509e74a6ba5b990fce918a36dee3fdc9aecb336ac21a6760"', /root/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/72c4535/substrate/primitives/state-machine/src/ext.rs:176

This is a bug. Please report it at:

https://github.com/Phala-Network/khala-parachain/issues/new
wowvwow commented 10 months ago

phalanetwork/khala-node-with-launcher latest 985cc884daf6 5 weeks ago 443MB