pub fn cap_tx_gas_limit_with_caller_allowance<DB>(
db: &mut DB,
env: &mut TxEnv,
) -> EthResult<()>where
DB: Database,
EthApiError: From<<DB as Database>::Error>,
Expand description
Caps the configured [TxEnv
] gas_limit
with the allowance of the caller.