Skip to content

fix: revamp rpc fallbacks - #1

Merged
ShankarWarang merged 1 commit into
mainfrom
dev
Aug 5, 2026
Merged

fix: revamp rpc fallbacks#1
ShankarWarang merged 1 commit into
mainfrom
dev

Conversation

@ShankarWarang

Copy link
Copy Markdown
Member

Leaderboard RPC Fix:

  • Root cause: rpc.sepolia.org returning HTTP 404, causing 'Failed to fetch'
  • Add configurable SEPOLIA_RPC_URL in abi.js with reliable publicnode.com default
  • Add VITE_RPC_URL env var (client-side) for leaderboard provider
  • Update SEPOLIA_NETWORK.rpcUrls to use same configurable URL

Server-Side API:

  • Update RPC fallback in api/quiz/start.js and api/quiz/complete.js

Documentation & Config:

  • Update .env, .env.example, README.md, docs/getting-started.md, docs/smart-contract.md to reference VITE_RPC_URL and new default
  • Remove all references to deprecated rpc.sepolia.org

Leaderboard RPC Fix:
- Root cause: rpc.sepolia.org returning HTTP 404, causing 'Failed to fetch'
- Add configurable SEPOLIA_RPC_URL in abi.js with reliable publicnode.com default
- Add VITE_RPC_URL env var (client-side) for leaderboard provider
- Update SEPOLIA_NETWORK.rpcUrls to use same configurable URL

Server-Side API:
- Update RPC fallback in api/quiz/start.js and api/quiz/complete.js

Documentation & Config:
- Update .env, .env.example, README.md, docs/getting-started.md,
  docs/smart-contract.md to reference VITE_RPC_URL and new default
- Remove all references to deprecated rpc.sepolia.org
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
road2devcon Ready Ready Preview Aug 5, 2026 6:15pm

@ShankarWarang
ShankarWarang merged commit e7088aa into main Aug 5, 2026
4 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