Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

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

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

jonas089 merged 1 commit into
mainfrom
oracle-deployments

Conversation

@jonas089

@jonas089 jonas089 commented May 5, 2026

Copy link
Copy Markdown
Collaborator

… 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant