neobase-one / canto-blockscout

EVM Explorer for Canto Network https://canto.io
https://evm.explorer.canto.io
GNU General Public License v3.0
0 stars 1 forks source link

Wrong gas estimation in Write Contract of a verified contract #10

Open jeonghoyeo7 opened 10 months ago

jeonghoyeo7 commented 10 months ago

Describe your issue here.

Environment

Steps to reproduce

Tell us how to reproduce this issue. ❤️ if you can push up a branch to your fork with a regression test we can run to reproduce locally.

You can choose tx button in Write Contract. E.g., https://testnet.tuber.build/address/0x6E7878718Dd58161cCc3F3A4efE217E7d7a4053d/write-contract#address-tabs

Then, when MetaMask comes out, you can see the messages like We were not able to estimate gas. There might be an error in the contract and this transaction may fail.

This transaction fails, I guess it is wrong estimation of gas price (too low).

Expected behaviour

Tell us what should happen.

Actual behaviour

Tell us what happens instead.