Skip to content

Node panic in sc_transaction_pool: assertion failed on tag mapping (ready.rs:397)) #2405

@kate102066

Description

@kate102066

The node error log that appeared after upgrading to both v3.3.6-372 and v3.3.7-373 is as follows:
Node panic logs encountered on versions v3.3.6-372 and v3.3.7-373 after upgrade:

Version: 4.0.0-dev-206e7c890d2
 
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: __rustc::rust_begin_unwind
5: core::panicking::panic_fmt
6: core::panicking::assert_failed_inner
7: core::panicking::assert_failed
8: sc_transaction_pool::graph::base_pool::BasePool<Hash,Ex>::prune_tags
9: sc_transaction_pool::graph::validated_pool::ValidatedPool<B,L>::prune_tags
10: sc_transaction_pool::graph::pool::Pool<B,L>::prune_tags::{{closure}}
11: sc_transaction_pool::single_state_txpool::single_state_txpool::prune_known_txs_for_block::{{closure}}
12: sc_transaction_pool::fork_aware_txpool::fork_aware_txpool::ForkAwareTxPool<ChainApi,Block>::update_view_with_fork::{{closure}}::{{closure}}::{{closure}}
13: sc_transaction_pool::fork_aware_txpool::fork_aware_txpool::ForkAwareTxPool<ChainApi,Block>::update_view_with_fork::{{closure}}
14: sc_transaction_pool::fork_aware_txpool::fork_aware_txpool::ForkAwareTxPool<ChainApi,Block>::handle_new_block::{{closure}}::{{closure}}
15: <sc_transaction_pool::fork_aware_txpool::fork_aware_txpool::ForkAwareTxPool<ChainApi,Block> as sc_transaction_pool_api::MaintainedTransactionPool>::maintain::{{closure}}
16: <sc_transaction_pool::transaction_pool_wrapper::TransactionPoolWrapper<Block,Client> as sc_transaction_pool_api::MaintainedTransactionPool>::maintain::{{closure}}
17: sc_transaction_pool::common::notification_future::{{closure}}
18: <tracing_futures::Instrumented<T> as core::future::future::Future>::poll
19: tokio::runtime::task::raw::poll
20: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
21: tokio::runtime::scheduler::multi_thread::worker::run
22: tokio::runtime::task::raw::poll
23: std::sys::backtrace::__rust_begin_short_backtrace
24: core::ops::function::FnOnce::call_once{{vtable.shim}}
25: std::sys::pal::unix::thread::Thread::new::thread_start
26: <unknown>
27: <unknown>
 
 
Thread 'tokio-runtime-worker' panicked at 'assertion left == right failed: The pool contains exactly one transaction providing given tag; the removed transaction
claims to provide that tag, so it has to be mapped to it's hash; qed
left: None
right: Some(0x00b9c44b0f93ed00af57688c41cc90b910dc12dc920468a57399d8abe6d3e302)', /usr/local/cargo/git/checkouts/polkadot-sdk-bd333005fe41d9e5/58add17/substrate/client/transaction-pool/src/graph/ready.rs:397
 
This is a bug. Please report it at:
 
support.anonymous.an

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions