json-rpchedera-hashgraph

How to fix discrepancy in transaction nonce after Hedera Testnet reset?


Prior to the Testnet reset, the transaction nonce on an EVM account was being picked up correctly.

However, after the Testnet reset, there is a discrepancy:

(Using a DApp, connected through Metamask)


Solution

  • Metamask caches the transaction nonce for accounts.

    Therefore after the reset, you need to clear its cache. To do so:

    Metamask --> Settings --> Clear activity tab data

    enter image description here

    After this, your nonce should reset to 0, and the eth_getTransactionCount discrepancy should stop happening.