Skip to content

Conversation

@Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Jan 9, 2026

WHAT

Remove deprecated alchemy rpc url and replace it with a new one

Copilot AI review requested due to automatic review settings January 9, 2026 16:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Ethereum mainnet RPC URL used by the Lit Protocol's Naga network, replacing a deprecated Alchemy API endpoint with a new one.

  • Replaces the deprecated alchemyapi.io domain with the current alchemy.com domain format

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/constants/src/lib/constants/constants.ts Updates Ethereum mainnet RPC URL from deprecated Alchemy endpoint to new endpoint
.changeset/nice-states-design.md Adds changeset documenting the RPC URL update as a patch version change

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

type: 'ERC1155',
rpcUrls: [
'https://eth-mainnet.alchemyapi.io/v2/EuGnkVlzVoEkzdg0lpCarhm8YHOxWVxE',
'https://eth-mainnet.g.alchemy.com/v2/_J7v1gEI40Tiulq7rFh913Xjy2-C4L8T',
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

Hardcoded API key in the RPC URL exposes sensitive credentials in this public repository. The Alchemy API key "_J7v1gEI40Tiulq7rFh913Xjy2-C4L8T" should not be committed to source control. Instead, this should be loaded from environment variables or configuration files that are not tracked by version control. Anyone with access to this repository can use this key, potentially leading to quota exhaustion or unauthorized usage charges.

Suggested change
'https://eth-mainnet.g.alchemy.com/v2/_J7v1gEI40Tiulq7rFh913Xjy2-C4L8T',
'https://cloudflare-eth.com',

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants