feat: bump alloy (#12930)

Co-authored-by: Ryan Schneider <ryanleeschneider@gmail.com>
This commit is contained in:
Arsenii Kulikov
2024-12-02 04:55:17 +04:00
committed by GitHub
parent 890f082453
commit 7f88e62781
41 changed files with 386 additions and 204 deletions

View File

@ -88,6 +88,8 @@ pub struct Header {
pub parent_beacon_block_root: Option<B256>,
/// Requests root.
pub requests_hash: Option<B256>,
/// Target blobs per block.
pub target_blobs_per_block: Option<U256>,
}
impl From<Header> for SealedHeader {
@ -114,6 +116,7 @@ impl From<Header> for SealedHeader {
excess_blob_gas: value.excess_blob_gas.map(|v| v.to::<u64>()),
parent_beacon_block_root: value.parent_beacon_block_root,
requests_hash: value.requests_hash,
target_blobs_per_block: value.target_blobs_per_block.map(|v| v.to::<u64>()),
};
Self::new(header, value.hash)
}