You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use signet_zenith::{Zenith::BlockSubmitted,ZenithBlock};
17
-
use smallvec::SmallVec;
18
17
use std::{ops::Deref, sync::Arc};
19
18
use tokio::select;
20
19
use tracing::{error, instrument, trace};
@@ -305,98 +304,23 @@ where
305
304
}
306
305
}
307
306
308
-
/// Extracts the blobs from the [`BeaconBlobBundle`], and returns the blobs that match the versioned hashes in the transaction.
309
-
/// This also dedups any duplicate blobs if a builder lands the same blob multiple times in a block.
310
-
fnextract_blobs_from_bundle(
311
-
bundle:BeaconBlobBundle,
312
-
versioned_hashes:&[B256],
313
-
) -> FetchResult<Blobs>{
314
-
letmut blobs = vec![];
315
-
// NB: There can be, at most, 9 blobs per block from Pectra forwards. We'll never need more space than this, unless blob capacity is increased again or made dynamic.
use reth::rpc::types::beacon::sidecar::BeaconBlobBundle;
7
+
use smallvec::SmallVec;
8
+
9
+
/// Extracts the blobs from the [`BeaconBlobBundle`], and returns the blobs that match the versioned hashes in the transaction.
10
+
/// This also dedups any duplicate blobs if a builder lands the same blob multiple times in a block.
11
+
pub(crate)fnextract_blobs_from_bundle(
12
+
bundle:BeaconBlobBundle,
13
+
versioned_hashes:&[B256],
14
+
) -> FetchResult<Blobs>{
15
+
letmut blobs = vec![];
16
+
// NB: There can be, at most, 9 blobs per block from Pectra forwards. We'll never need more space than this, unless blob capacity is increased again or made dynamic.
0 commit comments