remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

Gas estimation failed without revert reason or error message.

Open EVMlord opened this issue 1 year ago • 4 comments

image

EVMlord avatar Nov 14 '23 08:11 EVMlord

Hello @EVMlord, have you been able to resolve this issue?

MartyMari avatar Nov 14 '23 12:11 MartyMari

Which network is this?

LianaHus avatar Nov 19 '23 08:11 LianaHus

I reported this months ago on twitter. I might just have to go and fix it myself! It happens on all networks.

calmacfadden avatar Nov 20 '23 13:11 calmacfadden

Ok so i decided to look into it. Its being caused by the web3j library. The text being shown "Error happened while trying to execute a function inside a smart contract" is hardcoded instead of actually showing the error reported by the contract.

Its also reported as an issue in the web3j github https://github.com/web3/web3.js/issues/6388

calmacfadden avatar Nov 20 '23 13:11 calmacfadden