Function reth::rpc::server_types::eth::revm_utils::cap_tx_gas_limit_with_caller_allowance
source ยท pub fn cap_tx_gas_limit_with_caller_allowance<DB>(
db: &mut DB,
env: &mut TxEnv,
) -> Result<(), EthApiError>
Expand description
Caps the configured TxEnv
gas_limit
with the allowance of the caller.