Function calculate_tx_l1_cost_bedrock_empty_scalars

Source
pub fn calculate_tx_l1_cost_bedrock_empty_scalars(
    input: &[u8],
    l1_fee_overhead: U256,
    base_fee: U256,
    l1_fee_scalar: U256,
) -> U256
Expand description

Calculate the gas cost of a transaction based on L1 block data posted on L2 post-ecotone. This is a special case where the gas cost function uses the bedrock gas cost function, but the data gas is calculated using the ecotone data gas function.