3

I noticed that estimateGas behavior in Ganache has changed:

In version 6.4.1, it throws an exception if exceeding the gas-limit.

In version 6.5.1, it returns the estimation even if exceeding the gas-limit.

I've been testing my script, and I had to update it according to this change.

What behavior should I expect on the mainnet? (I ask before I start spending my funds there).

Thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.