Skip to content

fix(oracle-operator): lag head by 5 blocks to dodge load-balancer RPC…#55

Merged
jonas089 merged 1 commit intomainfrom
oracle-deployments
May 5, 2026
Merged

fix(oracle-operator): lag head by 5 blocks to dodge load-balancer RPC…#55
jonas089 merged 1 commit intomainfrom
oracle-deployments

Conversation

@jonas089
Copy link
Copy Markdown
Collaborator

@jonas089 jonas089 commented May 5, 2026

… races

Public load-balanced RPCs (e.g. publicnode.com) can serve eth_blockNumber and eth_getLogs from backends 1-2 blocks out of sync, producing recurring "block range extends beyond current head block" warnings. Subtracting HEAD_LAG_BLOCKS from the queried head avoids the race; trades ~60s of attestation latency on Ethereum for clean logs.

Overview

… races

Public load-balanced RPCs (e.g. publicnode.com) can serve eth_blockNumber and
eth_getLogs from backends 1-2 blocks out of sync, producing recurring
"block range extends beyond current head block" warnings. Subtracting
HEAD_LAG_BLOCKS from the queried head avoids the race; trades ~60s of
attestation latency on Ethereum for clean logs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jonas089 jonas089 merged commit c89fbac into main May 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant