Skip to content

flare: set validate-peers: false (Avalanche C-chain has no EVM peer count)#234

Merged
artemrootman merged 1 commit into
mainfrom
arootman/flare-disable-peer-validation
Jun 25, 2026
Merged

flare: set validate-peers: false (Avalanche C-chain has no EVM peer count)#234
artemrootman merged 1 commit into
mainfrom
arootman/flare-disable-peer-validation

Conversation

@artemrootman

Copy link
Copy Markdown
Contributor

Adds validate-peers: false to the flare chain settings, matching the existing avalanche, aurora, and kite entries.

Flare runs go-flare, an Avalanche/coreth-based node. Peering happens at the Avalanche P2P layer, so the C-chain EVM RPC always returns net_peerCount: 0x0 regardless of how many peers the node actually has. With peer validation enabled, the upstream therefore fails the peer check and is permanently reported as IMMATURE, even when the node is fully bootstrapped and synced.

Observed on a healthy Flare mainnet node:

POST /ext/info    {"method":"info.peers"}     -> {"result":{"numPeers":"166", ...}}   # real Avalanche peers
POST /ext/bc/C/rpc {"method":"net_peerCount"} -> {"result":"0x0"}                     # EVM peer count is always 0

avalanche and kite (also Avalanche C-chains) already carry validate-peers: false for exactly this reason; flare was simply missed.

Validated locally with yamale -s chains.yamale.yaml chains.yaml → success.

@artemrootman
artemrootman merged commit 9cd162d into main Jun 25, 2026
1 check 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.

2 participants