Skip to content

Conversation

@0xjorgen
Copy link
Contributor

Skip ENS resolution for Solana and other non-EVM addresses by checking
isValidAddress() before enabling the query. This prevents ethers.js
getAddress() from throwing on invalid address formats.

Fixes ACROSS-FRONTEND-Y8T

Skip ENS resolution for Solana and other non-EVM addresses by checking
isValidAddress() before enabling the query. This prevents ethers.js
getAddress() from throwing on invalid address formats.

Fixes ACROSS-FRONTEND-Y8T
@vercel
Copy link

vercel bot commented Jan 15, 2026

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

Project Deployment Review Updated (UTC)
app-frontend-v3 Ready Ready Preview, Comment Jan 22, 2026 10:20am
sepolia-frontend-v3 Ready Ready Preview, Comment Jan 22, 2026 10:20am

Request Review

@vercel
Copy link

vercel bot commented Jan 15, 2026

Deployment failed with the following error:

Hobby accounts are limited to daily cron jobs. This cron expression (* * * * *) would run more than once per day. Upgrade to the Pro plan to unlock all Cron Jobs features on Vercel.

Learn More: https://vercel.link/3Fpeeb1

@linear
Copy link

linear bot commented Jan 15, 2026

import { useQuery } from "@tanstack/react-query";

import { ChainId, getProvider, isDefined } from "utils";
import { ChainId, getProvider, isDefined, isValidAddress } from "utils";
Copy link
Contributor

Choose a reason for hiding this comment

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

slightly unrelated, but should we maybe rename isValidAddress to isEvmAddress in our utils dir?

In api/_addresses.ts we export these utilities from ethers and solana/kit this way.

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.

3 participants