I'm getting the following error:
{ code: 13, message: 'execution simulation failed: status = 106' }
When executing this code:
const gasEstimate = await WJEWELContract.methods.mint(amount).estimateGas({from: account.address}, function(estimatedGas) { console.log(estimatedGas) });
WJEWELContract is just an ERC20 with a "mint" method.
Does anybody know what this can be?
Thanks!