#42430 [BC-Insight] `add_mempool_transaction()` does not check if the transaction already exist in the mempool
Description
Brief/Intro
Vulnerability Details
async fn add_mempool_transactions(
&self,
transactions: Vec<MempoolTransaction>,
) -> Result<(), anyhow::Error> {
--- SNIPET ---
for transaction in transactions {
if Self::internal_has_mempool_transaction(&db,
transaction.transaction.id())? {
continue;
}
--- SNIPET ---Impact Details
References
Proof of Concept
Proof of Concept
Previous#42298 [BC-Critical] Blocks from Celestia are not executed in order which breaks sequencer logic and application prioritiesNext#42480 [BC-Medium] Unable to deposit the gas fee into the `governed_gas_pool` when using `deposit_from_fungible_store`
Was this helpful?