You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(relayer): chunk eth log queries and honor configured start block
The deposit-event poller issued a single eth_getLogs spanning
currentBlock+1..head, so a large catch-up gap tripped the provider's
range limit ("Block range limit exceeded") and retried the same
oversized range forever. The documented MaxBlockRange chunking existed
(chunkRange) but was never wired in. Walk the range in MaxBlockRange
slices via a new scanDepositRange helper, advancing scan progress only
through the last successful slice.
Also, loadEthereumOffset unconditionally used the stored chain_state
block and ignored eth_start_block once any progress was persisted, so
operators could only fast-forward by editing the DB. Take the later of
the stored block and the configured start_block; config can fast-forward
but never rewinds the relayer.
0 commit comments