-
Notifications
You must be signed in to change notification settings - Fork 542
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Current Behavior
Just tried out to implement the wallet-connect v2-module.
Connecting works (it seems), but after connecting switch request does not seem to work

wallet does not seem to be defined or set properly
- noticed that the chain id is not correctly parsed and has an additional 0x added to it (might be part of issue?)
Expected Behavior
Wallet should be properly set when connected
Chain-id should not be double prefixed
Steps To Reproduce
Steps to reproduce:
- go to https://good-swap-nxlct9qga-gooddollarteam.vercel.app/
- open up a gooddollar-wallet at wallet.gooddollar.org
- connect with wallet-connect (copy link)
- click on gooddapp on the network button (top-nav)
- switch to other chain
- see log (as shared on screen)
Running it with web3-onboard example gives different issue currently, outside scope of this particular bug
definition of wc-module: https://github.com/GoodDollar/GoodWeb3-Mono/blob/7363f1aae6e08631018526f77da1d948130dcbed/packages/sdk-v2/src/sdk/onboard/react.tsx#L66
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.17.0
Node Version
16.17.1
What browsers are you seeing the problem on?
Chrome
Relevant log output
See screen.Anything else?
web3-onboard/[email protected] as dependency of web3-onboard/[email protected]
Sanity Check
- If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working