compute_poster_cost_standalone

Function compute_poster_cost_standalone 

Source
pub fn compute_poster_cost_standalone(
    tx_bytes: &[u8],
    poster: Address,
    price_per_unit: U256,
    brotli_compression_level: u64,
) -> (U256, u64)
Expand description

Compute poster cost and calldata units from pre-loaded pricing parameters.

This is the standalone version used by the block executor which has already extracted L1 pricing state values into the execution context.