omni-network / omni

Monorepo for Omni node, contracts and other related tools

Home Page:https://omni.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Race condition in xprovider offset tracker

corverroos opened this issue · comments

The xprovider tracker assumes that fetchBatch is called sequentially. This isn't the case. There are actually multiple concurrent workers calling it concurrently.

This is especially the case for arb_sepolia, which has very fast blocks and uses 4 workers.

This results in "get unexpected old height [BUG]" see example logs.