1

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!

0

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.