Skip to content

Self-healing mechanism #126

@lok52

Description

@lok52

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:

  1. Backups Ways to improve relayer sync on startup #75
  2. Soft-rollbacks. This will help in case of messed up state, e.g. missing past transaction.
  3. Nonce reset.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions