Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Nov 6, 2024
1 parent 7304b11 commit f4f66bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/consensus/src/block/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,10 @@ impl<T: BlockHeader> BlockHeader for alloy_serde::WithOtherFields<T> {
fn requests_hash(&self) -> Option<B256> {
self.inner.requests_hash()
}

fn target_blobs_per_block(&self) -> Option<u64> {
self.inner.target_blobs_per_block()
}
}

/// Bincode-compatibl [`Header`] serde implementation.
Expand Down
4 changes: 4 additions & 0 deletions crates/rpc-types-eth/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ impl<H: BlockHeader> BlockHeader for Header<H> {
fn requests_hash(&self) -> Option<B256> {
self.inner.requests_hash()
}

fn target_blobs_per_block(&self) -> Option<u64> {
self.inner.target_blobs_per_block()
}
}

impl<H: BlockHeader> HeaderResponse for Header<H> {
Expand Down

0 comments on commit f4f66bb

Please sign in to comment.