From cf16f1d205f8f25d36334572a283f247e18280f8 Mon Sep 17 00:00:00 2001 From: Mathias Dail <93382891+MathiasExorde@users.noreply.github.com> Date: Wed, 28 Feb 2024 17:05:07 +0100 Subject: [PATCH] Update estimate_gas.py --- exorde/estimate_gas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exorde/estimate_gas.py b/exorde/estimate_gas.py index 4eedc240..ebea47c8 100644 --- a/exorde/estimate_gas.py +++ b/exorde/estimate_gas.py @@ -9,7 +9,7 @@ async def do_estimate_gas(): estimate = await read_web3.eth.estimate_gas(transaction) * 1.5 if estimate < 100_000: gas = estimate + 500_000 - return max(10_000_000, gas) + return max(3_000_000, gas) function_bytecode = str(transaction["data"])[2:10] data_length = len(str(transaction["data"]))