Skip to content

Commit

Permalink
Update estimate_gas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasExorde authored Feb 28, 2024
1 parent f10cadb commit cf16f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exorde/estimate_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]))
Expand Down

0 comments on commit cf16f1d

Please sign in to comment.