-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Copy link
Labels
Priority: P0Added to issues and PRs relating to a critical severity bugs.Added to issues and PRs relating to a critical severity bugs.Type: BugAdded to issues and PRs if they are addressing a bugAdded to issues and PRs if they are addressing a bug
Description
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]
Metadata
Metadata
Assignees
Labels
Priority: P0Added to issues and PRs relating to a critical severity bugs.Added to issues and PRs relating to a critical severity bugs.Type: BugAdded to issues and PRs if they are addressing a bugAdded to issues and PRs if they are addressing a bug