omni-network / omni

Monorepo for Omni node, contracts and other related tools
https://omni.network
GNU General Public License v3.0
81 stars 46 forks source link

feat(relayer): tooling to manually send XMsgs through #1374

Open arajasek opened 3 months ago

arajasek commented 3 months ago

In certain edge-cases, especially around sudden bursts of activity, the relayer might get stuck due to bugs in its logic. In these situations, all XMsgs between a particular (Sending Chain, Destination Chain) tuple will freeze.

It will be useful to be able to manually intercede in such cases, taking human action to get us across whatever the sticking point is. This will require tooling that (for any stream) can read the latest delivered offset, fetch XMsgs as needed, and send them. This tooling should be:

(Regardless of this stopgap tooling, we should fix whatever bug in the relayer caused the issue in the first place -- this is meant to minimize the operational impact, not replace having a correct relayer).

corverroos commented 2 months ago

Another use-case that should be supported: