Skip to content

Feature Request: Change forked chain ID #1595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Swader opened this issue Mar 26, 2025 · 0 comments
Open

Feature Request: Change forked chain ID #1595

Swader opened this issue Mar 26, 2025 · 0 comments

Comments

@Swader
Copy link

Swader commented Mar 26, 2025

When forking a chain and serving it, ideally it would possible to configure an overridden Common such that the chain ID is different.

This is useful because a same chain ID will confuse legacy wallets like Metamask, where they will insist that a chain returning chain ID X be added as an alternative RPC to an entry already using that chain ID, rather than allowing you to add a new chain with the same ID but different RPC.

This is a problem because interacting with the fork will change the nonce and force the user to have to clear the activity of an address when going back to interact with the "real" chain that was previously forked.

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

No branches or pull requests

1 participant