Skip to content

Commit f4f66bb

Browse files
committed
fix
1 parent 7304b11 commit f4f66bb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

crates/consensus/src/block/header.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,10 @@ impl<T: BlockHeader> BlockHeader for alloy_serde::WithOtherFields<T> {
886886
fn requests_hash(&self) -> Option<B256> {
887887
self.inner.requests_hash()
888888
}
889+
890+
fn target_blobs_per_block(&self) -> Option<u64> {
891+
self.inner.target_blobs_per_block()
892+
}
889893
}
890894

891895
/// Bincode-compatibl [`Header`] serde implementation.

crates/rpc-types-eth/src/block.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ impl<H: BlockHeader> BlockHeader for Header<H> {
259259
fn requests_hash(&self) -> Option<B256> {
260260
self.inner.requests_hash()
261261
}
262+
263+
fn target_blobs_per_block(&self) -> Option<u64> {
264+
self.inner.target_blobs_per_block()
265+
}
262266
}
263267

264268
impl<H: BlockHeader> HeaderResponse for Header<H> {

0 commit comments

Comments
 (0)