用hardhat 做ERC20转帐时报了 Nonce too high. Expected nonce to be 6 but got 11. Note that transactions can't be queued when automining

https://github.com/scaffold-eth/scaffold-eth/issues/476

In Metamask, ensure you are on your dev/test account then:

  1. click on the avatar circle top right
  2. In the menu, choose Settings
  3. Click Advanced
  4. Scroll down a bit, make sure again you are on your testnet account, click Reset Account

大概是重置帐号就能解决

posted @ 2023-01-05 11:06  jackluo  阅读(165)  评论(0编辑  收藏  举报