[Bug]: avalanche interchain relayer
keep error *nonce too low* and can not be auto recover #2560
Closed
Description
Describe the bug
When a 'nonce too low' error occurs, the relayer will remain in that state and cannot automatically recover the correct nonce on blockchain.
To Reproduce
I do not know how to reproduce it, however in severe cases the relayer may encounter such errors
Expected behavior
When a 'nonce too low' error occurs, automatically reset application's nonce value to the value of web3.eth.getTransactionCount(relayerManageWallet).
Screenshots
Logs
If applicable, please include the relevant logs that indicate a problem.
Operating System
Ubuntu 22.04
Additional context
Currently, the only way to fix this error is to restart the relayer service by following commands:
avalanche interchain relayer stop
avalanche interchain relayer start
Metadata
Assignees
Labels
Type
Projects
Status
Done ✅