Reown fails in iOS if connected network is not Sepolia and tries to switch
@kantagara がすでに取り組んでいます。
2025年1月9日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
If the network that you have in Metamask is not Sepolia, and you connect with Reown, it will try to switch to Sepolia but it fails
Steps
Steps to reproduce the behavior:
- Build in iOS
- Connect with Reown
- Connect with Metamask
- Sign message in Metamask
- Go back to Unity app
- It will switch you back to Metamask
- Nothing happens in Metamask
- Go back to Unity app
Expected behavior
Network is switched to Sepolia
Console errors
Web3Exception: HTTP.POST to ‘https://rpc.walletconnect.com/v1?chainId=eip155:8333&projectId=f4bff60eb260841f46b1c77588cd8acb’ responded with error: {“status”:“FAILED”,“reasons”:[{“field”:“chainId”,“description”:“We don’t support the chainId you provided: eip155:8333. See the list of supported chains here: https://docs.walletconnect.com/cloud/blockchain-api#supported-chains”}]}
at ChainSafe.Gaming.Web3.Core.Unity.UnityHttpClient.UnityWebRequestToNetworkResponse (UnityEngine.Networking.UnityWebRequest request) [0x00000] in <00000000000000000000000000000000>:0
at ChainSafe.Gaming.Web3.Core.Unity.UnityHttpClient+<>c__DisplayClass3_0.<PostRaw>b__0 () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
at IEnumeratorAwaitExtensions+InstructionWrappers+<ReturnSelf>d__2`1[T].MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
--- End of stack trace from previous location where exception was thrown ---
Mobile (please complete the following information):
- Chainsafe SDK version: [dev]
- Platform: [iOS]
- Device Type: [Real device]
- OS Version: [latest]
- 主要言語
- C#
- スター
- 944
- フォーク
- 245
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChainSafe/web3.unity のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
ChainSafe/web3.unity#1303 ·
-
Type: Bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ChainSafe/web3.unity#1300 · コメント 2 件 ·
-
Type: Documentation
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
ChainSafe/web3.unity#1294 ·
-
Pinata Integration オープンType: Feature
ChainSafe/web3.unity#1281 · 担当者 1 名 ·
-
Unity compile error オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
ChainSafe/web3.unity#1279 · コメント 1 件 ·
ChainSafe/web3.unity の issue をすべて見る
似ている issue
-
untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
dotnet/dotnet-api-docs#13095 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
newrelic/newrelic-dotnet-agent#3850 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
LuckyPennySoftware/AutoMapper#4660 ·