This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Issues upgrading from react-celo 4 to react-celo 5.0.3 with WCv2 #354
Labels
bug
Something isn't working
Is there an existing issue for this?
Description
I've had some issues upgrading from
react-celo
4 toreact-celo
5.0.3 with ChurritoFi.These are the errors I'm getting on the dapp side after connecting with WCv2:
[react-celo] wallet-connect on-session-update Error: CeloProvider already stopped
[react-celo] wallet-connect onSessionCreated error TypeError: Cannot read properties of undefined (reading 'namespaces')
Another smaller issue is the reported
dappName
keepsreact-celo
and doesn't use the provided value.Side note: I noticed https://react-celo.vercel.app is still on
react-celo
4.Steps to reproduce
Or with the ChurritoFi preview PR:
Expected behavior
We shouldn't see errors about the provider and interactions with the wallet/rpc node should continue working.
Screenshot
And this is a screenshot showing the incorrect name shown when connecting to ChurritoFi using Valora:
Where is the problem happening?
Both
Environment
Device: iPhone
OS: iOS 16.4
Browser: Latest Chrome on MacOS Monterey
What version of
react-celo
were you using? (This can be found in the list of wallets in the "Connect" modal)5.0.3
What wallet were you using?
Valora
What is the dApp URL? (if applicable)
https://frontend-pr-2-e37n.onrender.com
Additional context
Here's the PR on ChurritoFi with the changes: ChurritoFi/frontend#2
The text was updated successfully, but these errors were encountered: