forked from zeropoolnetwork/zeropool-relayer
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Relayer error:
POOL WORKER: Job 2298: Send TX failed: Error: Returned error: {"jsonrpc":"2.0","id":0,"error":{"code":0,"message":""}} {"timestamp":"2022-12-30T17:08:30.309Z"}
RPC returned an error on transaction send, but for some reason it was accounted and mined. In this case relayer missed this tx and got incorrect nonce and state. We need a self-healing mechanism to prevent such rare cases and possible reorg issues as well.
Ideas:
- Backups Ways to improve relayer sync on startup #75
- Soft-rollbacks. This will help in case of messed up state, e.g. missing past transaction.
- Nonce reset.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working