Skip to content

rpc proxy#523

Open
shafu0x wants to merge 9 commits intomainfrom
shafu/rpc-proxy
Open

rpc proxy#523
shafu0x wants to merge 9 commits intomainfrom
shafu/rpc-proxy

Conversation

@shafu0x
Copy link
Contributor

@shafu0x shafu0x commented Jan 22, 2026

exposes simple /balance/:address endpoint

@vercel
Copy link
Contributor

vercel bot commented Jan 22, 2026

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

Project Deployment Review Updated (UTC)
x402scan Ready Ready Preview, Comment Jan 22, 2026 9:29pm

Comment on lines +38 to +41
return NextResponse.json(
{ error: 'Unhandled error' },
{ status: 500 }
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return NextResponse.json(
{ error: 'Unhandled error' },
{ status: 500 }
);
const _exhaustiveCheck: never = error;
return _exhaustiveCheck;

Switch statement has a default case that silently catches unhandled GetBalanceError union members instead of enforcing exhaustiveness checking

Fix on Vercel

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