Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/eips/src/eip7742.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub const BLOB_BASE_FEE_UPDATE_FRACTION_NORMALIZED: u128 =
pub const fn calc_excess_blob_gas_at_transition(
parent_excess_blob_gas: u64,
parent_blob_gas_used: u64,
parent_target_blobs_per_block: u64,
) -> u64 {
let normalized_parent_excess_blob_gas = parent_excess_blob_gas
* EXCESS_BLOB_GAS_NORMALIZATION_TARGET
Expand All @@ -29,7 +28,7 @@ pub const fn calc_excess_blob_gas_at_transition(
calc_excess_blob_gas(
normalized_parent_excess_blob_gas,
parent_blob_gas_used,
parent_target_blobs_per_block,
eip4844::TARGET_BLOBS_PER_BLOCK,
)
}

Expand Down
1 change: 1 addition & 0 deletions crates/rpc-types-beacon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ workspace = true
alloy-eips = { workspace = true, features = ["serde"] }
alloy-rpc-types-engine = { workspace = true, features = ["serde"] }
alloy-primitives.workspace = true
alloy-serde.workspace = true

# ssz
ethereum_ssz_derive = { workspace = true, optional = true }
Expand Down
3 changes: 3 additions & 0 deletions crates/rpc-types-beacon/src/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ pub struct SignedBidSubmissionV4 {
pub blobs_bundle: BlobsBundleV1,
/// The Pectra execution requests for this bid.
pub execution_requests: Vec<Bytes>,
/// The EIP-7742 blobs per block for this bid.
#[serde(with = "alloy_serde::quantity")]
pub target_blobs_per_block: u64,
/// The signature associated with the submission.
pub signature: BlsSignature,
}
Expand Down