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

crash: panicked at 'Bad input data provided to validate_transaction: Could not decode UncheckedExtrinsic.0: #1318

Closed
CRossel87a opened this issue Aug 8, 2024 · 4 comments

Comments

@CRossel87a
Copy link

Using latest commit in master:

Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Version: 5.42.2-6f34256f9fb
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 0: sp_panic_handler::set::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 1: std::panicking::rust_panic_with_hook
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 2: std::panicking::begin_panic_handler::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 3: std::sys_common::backtrace::__rust_end_short_backtrace
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 4: rust_begin_unwind
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 5: core::panicking::panic_fmt
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 6: astar_runtime::api::dispatch
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 7: environmental::using
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 8: sc_executor::executor::WasmExecutor::with_instance::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 9: sc_executor::wasm_runtime::RuntimeCache::with_instance
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 10: <sc_executor::executor::NativeElseWasmExecutor as sp_core::traits::CodeExecutor>::call
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 11: sp_state_machine::execution::StateMachine<B,H,Exec>::execute
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 12: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 13: <astar_runtime::RuntimeApiImpl<SrApiBlock,RuntimeApiImplCall> as fp_rpc::EthereumRuntimeRPCApi<SrApiBlock>>::__runtime_api_internal_call_api_at
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 14: sp_transaction_pool::runtime_api::TaggedTransactionQueue::validate_transaction
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 15: tracing::span::Span::in_scope
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 16: <sc_transaction_pool::api::FullChainApi<Client,Block> as sc_transaction_pool::graph::pool::ChainApi>::validate_transaction::{{closure}}::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 17: sc_transaction_pool::api::spawn_validation_pool_task::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 18: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 19: <sc_service::task_manager::prometheus_future::PrometheusFuture as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 20: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 21: <tracing_futures::Instrumented as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 22: tokio::runtime::park::CachedParkThread::block_on
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 23: <tokio::runtime::blocking::task::BlockingTask as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 24: tokio::runtime::task::core::Core<T,S>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 25: tokio::runtime::task::harness::Harness<T,S>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 26: tokio::runtime::blocking::pool::Inner::run
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 27: std::sys_common::backtrace::__rust_begin_short_backtrace
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 28: core::ops::function::FnOnce::call_once{{vtable.shim}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 29: std::sys::pal::unix::thread::Thread::new::thread_start
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 30: start_thread
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 31: clone
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Thread 'tokio-runtime-worker' panicked at 'Bad input data provided to validate_transaction: Could not decode UncheckedExtrinsic.0:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode CheckMetadataHash::mode:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode Mode, variant doesn't exist
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: ', runtime/astar/src/lib.rs:1392
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: This is a bug. Please report it at:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: https://github.com/AstarNetwork/Astar/issues/new
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: ====================
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Version: 5.42.2-6f34256f9fb
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 0: sp_panic_handler::set::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 1: std::panicking::rust_panic_with_hook
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 2: std::panicking::begin_panic_handler::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 3: std::sys_common::backtrace::__rust_end_short_backtrace
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 4: rust_begin_unwind
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 5: core::panicking::panic_fmt
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 6: astar_runtime::api::dispatch
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 7: environmental::using
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 8: sc_executor::executor::WasmExecutor::with_instance::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 9: sc_executor::wasm_runtime::RuntimeCache::with_instance
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 10: <sc_executor::executor::NativeElseWasmExecutor as sp_core::traits::CodeExecutor>::call
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 11: sp_state_machine::execution::StateMachine<B,H,Exec>::execute
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 12: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt>::call_api_at
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 13: <astar_runtime::RuntimeApiImpl<SrApiBlock,RuntimeApiImplCall> as fp_rpc::EthereumRuntimeRPCApi<SrApiBlock>>::__runtime_api_internal_call_api_at
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 14: sp_transaction_pool::runtime_api::TaggedTransactionQueue::validate_transaction
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 15: tracing::span::Span::in_scope
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 16: <sc_transaction_pool::api::FullChainApi<Client,Block> as sc_transaction_pool::graph::pool::ChainApi>::validate_transaction::{{closure}}::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 17: sc_transaction_pool::api::spawn_validation_pool_task::{{closure}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 18: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 19: <sc_service::task_manager::prometheus_future::PrometheusFuture as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 20: <futures_util::future::select::Select<A,B> as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 21: <tracing_futures::Instrumented as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 22: tokio::runtime::park::CachedParkThread::block_on
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 23: <tokio::runtime::blocking::task::BlockingTask as core::future::future::Future>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 24: tokio::runtime::task::core::Core<T,S>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 25: tokio::runtime::task::harness::Harness<T,S>::poll
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 26: tokio::runtime::blocking::pool::Inner::run
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 27: std::sys_common::backtrace::__rust_begin_short_backtrace
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 28: core::ops::function::FnOnce::call_once{{vtable.shim}}
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 29: std::sys::pal::unix::thread::Thread::new::thread_start
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 30: start_thread
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 31: clone
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Thread 'tokio-runtime-worker' panicked at 'Bad input data provided to validate_transaction: Could not decode UncheckedExtrinsic.0:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode CheckMetadataHash::mode:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode Mode, variant doesn't exist
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: ', runtime/astar/src/lib.rs:1392
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: This is a bug. Please report it at:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: https://github.com/AstarNetwork/Astar/issues/new
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 2024-08-08 10:14:26 [Parachain] Evicting failed runtime instance error=Runtime panicked: Bad input data provided to validate_transaction: Could not decode UncheckedExtrinsic.0:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode CheckMetadataHash::mode:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode Mode, variant doesn't exist
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: 2024-08-08 10:14:26 [Parachain] Evicting failed runtime instance error=Runtime panicked: Bad input data provided to validate_transaction: Could not decode UncheckedExtrinsic.0:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode CheckMetadataHash::mode:
Aug 08 10:14:26 ubuntu-32gb-fsn1-1 astar-collator[3358624]: Could not decode Mode, variant doesn't exist

@kylee9612
Copy link

Having same issue after changing metadata.

@Dinonard
Copy link
Member

Dinonard commented Aug 8, 2024

Can you please post the minimum required info from the issue template?

Did you download the latest release?
How do you start the node?

@ermalkaleci
Copy link
Contributor

ermalkaleci commented Aug 8, 2024

Update polkadot.js/api if it's your request. If this is users request than nothing to worry. This is the RPC call failing. It doesn't affect the node itself.

@Dinonard
Copy link
Member

No additional info or response provided, assuming it's been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants