chore: bump alloy 0bb7604 (#8107)

This commit is contained in:
Matthias Seitz
2024-05-05 20:26:29 +02:00
committed by GitHub
parent fa59ec8078
commit 199503531c
6 changed files with 83 additions and 71 deletions

View File

@ -1,4 +1,4 @@
use alloy_consensus::{SidecarCoder, SimpleCoder};
use alloy_consensus::{Blob, SidecarCoder, SimpleCoder};
use alloy_rlp::Decodable as _;
use eyre::OptionExt;
use reth::transaction_pool::TransactionPool;
@ -157,7 +157,7 @@ async fn decode_transactions<Pool: TransactionPool>(
.map(|(blob, commitment)| (blob, kzg_to_versioned_hash((*commitment).into())))
// Filter only blobs that are present in the block data
.filter(|(_, hash)| blob_hashes.contains(hash))
.map(|(blob, _)| blob)
.map(|(blob, _)| Blob::from(*blob))
.collect::<Vec<_>>();
if blobs.len() != blob_hashes.len() {
eyre::bail!("some blobs not found")