You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when starting a new hardhat chain, then trying to do a transaction, the wallet we have set up through the mneumonic is remmebering previous transactions that dont technically exist when you restart hardhat. When trying to do a new transaction the wallet defaults to the cumulative nonce - see below - metamask defaults to nonce 8 but the hardhat chain is expecting nonce 0
Something went wrong with your minting: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"Nonce too high. Expected nonce to be 0 but got 8. Note that transactions can't be queued when automining."}}}'
cheap workaround:
go to metamask settings -> advanced -> turn edit nonce on
on each transaction - just set the nonce to the one it is expecting..
when starting a new hardhat chain, then trying to do a transaction, the wallet we have set up through the mneumonic is remmebering previous transactions that dont technically exist when you restart hardhat. When trying to do a new transaction the wallet defaults to the cumulative nonce - see below - metamask defaults to nonce 8 but the hardhat chain is expecting nonce 0
cheap workaround:
go to metamask settings -> advanced -> turn edit nonce on
on each transaction - just set the nonce to the one it is expecting..
or reset the account
https://blog.chronologic.network/how-to-change-and-reset-your-nonce-in-metamask-f7ca52f480e5
The text was updated successfully, but these errors were encountered: