omni-network / omni

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

fix(relayer/cursor): dont overwrite existing #2586

Closed corverroos closed 5 days ago

corverroos commented 5 days ago

Don't overwrite existing cursors. Just check if offsets are identical.

This fixes the following problem:

We could also start streaming from X+1 instead, since confirmed cursors are fully finalized, so no need to reprocess to handle partial submissions.

issue: none