linea-tutorials icon indicating copy to clipboard operation
linea-tutorials copied to clipboard

Linea Gas estimate not works

Open m-e-m-f-i-s-19 opened this issue 1 year ago • 1 comments

Precondition

  • Infura RPC
  • Mainnet
  • method linea_estimateGas
  • Swap transaction of length 2

Actual result:

Estimated gas: 28000. 7000 only more then single transfer. For different data for different length gas estimation varies between 26000-29000.

Expected result

Correct result and provide tutorial how to estimate gas.

m-e-m-f-i-s-19 avatar Sep 24 '24 09:09 m-e-m-f-i-s-19

@m-e-m-f-i-s-19 thanks for reporting this. Could you provide a reproducible example (with exact calldata) so that we can investigate? Thanks

julien-marchand avatar Sep 24 '24 09:09 julien-marchand