remix-project
remix-project copied to clipboard
Gas estimation failed without revert reason or error message.
Hello @EVMlord, have you been able to resolve this issue?
Which network is this?
I reported this months ago on twitter. I might just have to go and fix it myself! It happens on all networks.
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