pub fn cap_tx_gas_limit_with_caller_allowance<DB>(
    db: &mut DB,
    env: &mut TxEnv,
) -> Result<(), EthApiError>
where DB: Database, EthApiError: From<<DB as Database>::Error>,
Expand description

Caps the configured TxEnv gas_limit with the allowance of the caller.