opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
146 stars 150 forks source link

Could not lookup information required to validate the transaction #824

Closed 474420502 closed 1 week ago

474420502 commented 1 week ago

Describe the bug

2024-09-20 08:18:56 Block prepare storage changes error: Error at calling runtime api: Execution failed: Runtime panicked: Could not lookup information required to validate the transaction

2024-09-20 08:18:56 💔 Error importing block 0x2a8a7f5bc6fa39ba9ccda1cd1d740079d162a25d1a1011791bf8b5ea284d3df0: consensus error: Import failed: Import failed: Error at calling runtime api: Execution failed: Runtime panicked: Could not lookup information required to validate the transaction

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

Version: 4.0.0-dev-af585b9b8a1

0: sp_panic_handler::set::{{closure}}

1: std::panicking::rust_panic_with_hook

2: std::panicking::begin_panic_handler::{{closure}}

3: std::sys::backtrace::__rust_end_short_backtrace

4: rust_begin_unwind

5: core::panicking::panic_fmt

6: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPalletsWithSystem,COnRuntimeUpgrade>::apply_extrinsics::{{closure}}::panic_cold_display

7: <node_subtensor_runtime::Runtime as sp_api::runtime_decl_for_core::CoreV5<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<sp_runtime::multiaddress::MultiAddress<<::Signer as sp_runtime::traits::IdentifyAccount>::AccountId,()>,node_subtensor_runtime::RuntimeCall,sp_runtime::MultiSignature,(frame_system::extensions::check_non_zero_sender::CheckNonZeroSender,frame_system::extensions::check_spec_version::CheckSpecVersion,frame_system::extensions::check_tx_version::CheckTxVersion,frame_system::extensions::check_genesis::CheckGenesis,frame_system::extensions::check_mortality::CheckMortality,node_subtensor_runtime::check_nonce::CheckNonce,frame_system::extensions::check_weight::CheckWeight,pallet_transaction_payment::ChargeTransactionPayment,pallet_subtensor::SubtensorSignedExtension,pallet_commitments::CommitmentsSignedExtension,frame_metadata_hash_extension::CheckMetadataHash)>>>>::execute_block

8: node_subtensor_runtime::api::dispatch

9: sc_executor::executor::WasmExecutor::with_instance::{{closure}}

10: <sc_executor::executor::NativeElseWasmExecutor as sp_core::traits::CodeExecutor>::call

11: sp_state_machine::execution::StateMachine<B,H,Exec>::execute

12: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at

13: <node_subtensor_runtime::RuntimeApiImpl<SrApiBlock,RuntimeApiImplCall> as sp_api::Core<__SrApiBlock__>>::__runtime_api_internal_call_api_at::{{closure}}

14: <node_subtensor_runtime::RuntimeApiImpl<SrApiBlock,RuntimeApiImplCall> as sp_api::Core<__SrApiBlock__>>::__runtime_api_internal_call_api_at

15: sp_api::Core::execute_block

16: <&sc_service::client::client::Client<B,E,Block,RA> as sc_consensus::block_import::BlockImport>::import_block::{{closure}}

17: <sc_consensus_grandpa::import::GrandpaBlockImport<BE,Block,Client,SC> as sc_consensus::block_import::BlockImport>::import_block::{{closure}}

18: <alloc::boxed::Box<dyn sc_consensus::block_import::BlockImport+Error = sp_consensus::error::Error+core::marker::Send+core::marker::Sync> as sc_consensus::block_import::BlockImport>::import_block::{{closure}}

19: <core::pin::Pin

as core::future::future::Future>::poll

20: sc_consensus::import_queue::basic_queue::BlockImportWorker::new::{{closure}}

21: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll

22: <tracing_futures::Instrumented as core::future::future::Future>::poll

23: tokio::runtime::task::raw::poll

24: std::sys::backtrace::__rust_begin_short_backtrace

25: core::ops::function::FnOnce::call_once{{vtable.shim}}

26: std::sys::pal::unix::thread::Thread::new::thread_start

27: start_thread

28: clone

Thread 'tokio-runtime-worker' panicked at 'Could not lookup information required to validate the transaction', /root/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/8d2f55d/substrate/frame/executive/src/lib.rs:693

This is a bug. Please report it at:

support.anonymous.an

2024-09-20 08:18:56 Evicting failed runtime instance error=Runtime panicked: Could not lookup information required to validate the transaction

2024-09-20 08:18:56 Block prepare storage changes error: Error at calling runtime api: Execution failed: Runtime panicked: Could not lookup information required to validate the transaction

2024-09-20 08:18:56 💔 Error importing block 0x2a8a7f5bc6fa39ba9ccda1cd1d740079d162a25d1a1011791bf8b5ea284d3df0: consensus error: Import failed: Import failed: Error at calling runtime api: Execution failed: Runtime panicked: Could not lookup information required to validate the transaction

2024-09-20 08:18:56 💔 Error importing block 0x180bacb4a22671f8eff26dcb5b9197270ad756e499e6fb9b577571598efe791c: block has an unknown parent

2024-09-20 08:18:56 💔 Error importing block 0xfc3dcca02a8d2046974716d9100ce6020209c0284dd42bbe83335cedf1aea580: block has an unknown parent

2024-09-20 08:19:00 ⚙️ Syncing 0.0 bps, target=#3867349 (37 peers), best: #3867197 (0x9980…a950), finalized #3867197 (0x9980…a950), ⬇ 1001.3kiB/s ⬆ 8.1kiB/s

To Reproduce

ENTRYPOINT ["/usr/local/bin/node-subtensor" "--chain=/raw_spec_finney.json" "--bootnodes=/ip4/x.x.x.x/tcp/30333/p2p/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]

Expected behavior

the log

Screenshots

No response

Environment

ubuntu 20.04

Additional context

No response

goshasty commented 1 week ago