Skip to content
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

addEthereumChain Remove 'May not specify default MetaMask chain' error #10623

Closed
RomanG11 opened this issue Mar 10, 2021 · 1 comment
Closed

Comments

@RomanG11
Copy link

I'm trying to make something like change network chain request. Everything works correctly, but only with new network IDs.I don't understand the reason why you did this check. If you could remove this, many developers will thank you.

if (CHAIN_ID_TO_NETWORK_ID_MAP[_chainId]) {
return end(
ethErrors.rpc.invalidParams({
message: May not specify default MetaMask chain.,
}),
);
}

@Gudahtt
Copy link
Member

Gudahtt commented Mar 10, 2021

Thanks for the feedback! We are tracking this request here: #10597
I'll close this as a duplicate. Please subscribe to the other issue for updates.

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 a pull request may close this issue.

2 participants