hoodquidity/apps
Денис Зефиров 68baf5704b
All checks were successful
deploy / deploy (push) Successful in 54s
fix: seed campaign data when no live vault is reachable
The public build sets ACTIVE_CHAIN_ID to Arbitrum Sepolia (421614), which has
no deployment and isn't in the prod wagmi config, so useReadContracts never
resolved -> Campaigns/Markets/Positions hung on skeletons forever.

Add CAMPAIGN_SEED (mirrors script/Deploy.s.sol's launch set) and HAS_LIVE_VAULT.
When no vault is reachable, useCampaigns returns the seeded launch set instead
of reading on-chain, and the position/balance reads are disabled so they can't
hang against an unreachable chain. Live anvil/dev path is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 23:25:06 +04:00
..
web fix: seed campaign data when no live vault is reachable 2026-07-11 23:25:06 +04:00