wallet_addEthereumChain does not overwrite the network config if chainId already exists
@vandan がすでに取り組んでいます。
2024年1月10日 から。
評価
この issue はまだ評価されていません。
説明
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 ?
- 主要言語
- MDX
- スター
- 864
- フォーク
- 2.1k
- 平均マージ
- 1時間 27分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MetaMask/metamask-docs のほかの issue
-
ZKsync bridges are outdated再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
MetaMask/metamask-docs#2928 ·
-
Notifications page switches code style without explanation (plain JS to JSX)再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
MetaMask/metamask-docs#2895 · コメント 2 件 ·
-
Quickstart page doesn't clarify that the Functions tab uses a deprecated API対応中かも @Serjik-Developer が 75 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
MetaMask/metamask-docs#2894 · コメント 1 件 ·
-
Consolidate duplicated infrastructure content in dapp-share.mdx再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンembedded wallets
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
MetaMask/metamask-docs#2859 ·
-
Snaps transaction insights tutorial links to the deprecated Infura faucet対応中かも @subhamkumarr が 8 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
MetaMask/metamask-docs#3071 ·