#43137 [BC-Medium] Multiple Transactions from the same account with increasing sequence number and priorities will be sorted incorrectly in the block causing some to fail
Description
Brief/Intro
Vulnerability Details
async fn build_next_block(
&self,
metadata: block::BlockMetadata,
transactions: Vec<Transaction>,
) -> Result<Block, anyhow::Error> {
let mut parent_block = self.parent_block.write().await;
let new_block = Block::new(metadata, *parent_block, BTreeSet::from_iter(transactions));
*parent_block = new_block.id();
Ok(new_block)
}Impact Details
Proof of Concept
Proof of Concept
Previous#43136 [BC-High] Multiple transactions sent by the same account in the same block timeframe can get stuck in the TranactionPipe core_mempoolNext#43148 [BC-Medium] Potential unhandled panic in protocol-units::execution::maptos::opt-executor::executor/mod::decrement_transactions_in_flight
Was this helpful?