diff --git a/src/providers/eth_provider/gas.rs b/src/providers/eth_provider/gas.rs index 07544b869..c2e34a45a 100644 --- a/src/providers/eth_provider/gas.rs +++ b/src/providers/eth_provider/gas.rs @@ -48,10 +48,10 @@ where let gas_used = self.estimate_gas(request, block_id).await?; - // Increase the gas used by 20% to make sure the transaction will not fail due to gas. + // Increase the gas used by 40% to make sure the transaction will not fail due to gas. // This is a temporary solution until we have a proper gas estimation. // Does not apply to Hive feature otherwise end2end tests will fail. - let gas_used = if cfg!(feature = "hive") { gas_used } else { gas_used * 120 / 100 }; + let gas_used = if cfg!(feature = "hive") { gas_used } else { gas_used * 140 / 100 }; Ok(U256::from(gas_used)) }