reth::consensus_common::calc

Function base_block_reward_pre_merge

pub fn base_block_reward_pre_merge(
    chain_spec: impl Hardforks,
    block_number: u64,
) -> u128
Expand description

Calculates the base block reward before the merge (Paris hardfork).

Caution: The caller must ensure that the block number is before the merge.