foundry_common::constants

Function is_known_system_sender

Source
pub fn is_known_system_sender(sender: Address) -> bool
Expand description

Returns whether the sender is a known L2 system sender that is the first tx in every block.

Transactions from these senders usually don’t have a any fee information.

See: ARBITRUM_SENDER, OPTIMISM_SYSTEM_ADDRESS