You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to choose the best max_gas parameter for a given operation, the best way to estimate the gas consumtion is to simulate it with a read_only call / read_only execution.
The returned value of the read_only call contains the gas used.
It however seems that the gas estimation is too low, and need to be increased by ~20% in order for the "real" call to suceed without an OutOfGas error.
We should investigate why the estimated gas value is too low and fix it.
The text was updated successfully, but these errors were encountered:
In order to choose the best max_gas parameter for a given operation, the best way to estimate the gas consumtion is to simulate it with a read_only call / read_only execution.
The returned value of the read_only call contains the gas used.
It however seems that the gas estimation is too low, and need to be increased by ~20% in order for the "real" call to suceed without an OutOfGas error.
We should investigate why the estimated gas value is too low and fix it.
The text was updated successfully, but these errors were encountered: