Skip to main content

maybe_override_fee_recipient

Function maybe_override_fee_recipient 

Source
pub(crate) fn maybe_override_fee_recipient<DB: Database>(
    builder: &mut impl BlockBuilder<Executor: BlockExecutor<Evm = TempoEvm<DB>>>,
    attributes: &TempoPayloadAttributes,
)
Expand description

Overrides the block’s fee recipient (beneficiary) with the value from the V2 validator config contract, if the contract is active and returns a non-zero address for the given public_key.