mirror of
https://github.com/luxfi/explore.git
synced 2026-10-30 16:57:53 +00:00
Hanzo mainnet runs hanzod with its own committee and no P-Chain, so every platform.* read the explorer sent through /v1/node/p-chain came back "no such chain: P", and the validators and chains pages rendered reads that could never answer. ChainEntry.pChain says whether a chain's node runs a P-Chain: true for Lux and Zoo, false for Hanzo, true for white-label hosts as before. Where it is false, the P-Chain hooks send nothing, the Chains and Validators nav entries and the stats page's network panel are gone, and /validators, /chains and /chains/<slug> answer 404. Lux and Zoo are unchanged. gate.spec.tsx asserts each hook sends nothing without a P-Chain and reads it with one; chainRegistry.spec.ts pins which hosts have one. The useNetworkValidators mock gains the predicates the hook now imports; its six cases had been failing since the hook first called isPrimaryNetworkExplorer. Claude-Session: https://claude.ai/code/session_011Ge9UnfkEK37Lapx5nfPQK