wallet_addEthereumChain does not overwrite the network config if chainId already exists
Los mantenedores suelen responder en 2 días
@vandan ya está trabajando en esto.
Desde el 10/1/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Encountering a situation where a Dapp may use wallet_addEthereumChain to switch the user's MetaMask network settings to a better performing RPC endpoint (this is for an alternative L1, i.e. not a default MetaMask chain).
Noticed that if the chainId already exists in the user's network settings in the user's MetaMask browser extension, the wallet_addEthereumChain method does not do anything, specifically it does not overwrite the existing RPC endpoint settings.
Is this on purpose, or something that could be fixed so that the method overwrite the RPC endpoint settings ?
- Lenguaje dominante
- MDX
- Estrellas
- 865
- Forks
- 2.1k
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MetaMask/metamask-docs
-
ZKsync bridges are outdatedQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
MetaMask/metamask-docs#2928 ·
Los mantenedores suelen responder en 2 días
-
Notifications page switches code style without explanation (plain JS to JSX)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
MetaMask/metamask-docs#2895 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
Quickstart page doesn't clarify that the Functions tab uses a deprecated APIPosiblemente ocupada @Serjik-Developer la tomó hace 64 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
MetaMask/metamask-docs#2894 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Consolidate duplicated infrastructure content in dapp-share.mdxQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoembedded wallets
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
MetaMask/metamask-docs#2859 ·
Los mantenedores suelen responder en 2 días
-
GolpeAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
MetaMask/metamask-docs#3068 ·
Los mantenedores suelen responder en 2 días