mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: ChainStorageReader (#12836)
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
use alloy_primitives::{BlockNumber, B256};
|
||||
use reth_execution_types::ChainBlocks;
|
||||
use reth_primitives_traits::BlockBody as _;
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
/// The type that is used to track canonical blob transactions.
|
||||
@ -42,6 +43,7 @@ impl BlobStoreCanonTracker {
|
||||
let iter = block
|
||||
.body
|
||||
.transactions()
|
||||
.iter()
|
||||
.filter(|tx| tx.transaction.is_eip4844())
|
||||
.map(|tx| tx.hash());
|
||||
(*num, iter)
|
||||
|
||||
Reference in New Issue
Block a user