-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use different plugin for polyfilling / Fix walletconnect #332
Conversation
✅ Deploy Preview for rococo-souffle-a625f5 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
02e79d7
to
43b6ec7
Compare
@prayagd please check out the deploy preview and let me know if it works for you. |
@ebma why do we need to polyfill Node.JS in a frontend application in the first place? This sounds strange to me. Did you check whether removing this polyfill altogether works as well (see the second paragraph of this comment)? |
Good question. I looked it up again and I found this commit. Seems like I added the polyfills for the stellar-sdk. Then I checked if there are still errors and indeed, without the polyfills the stellar-sdk throws some errors. We could try to reduce the polyfills to the bare minimum instead of using the default configuration but I don't think that it's that important. What do you think @TorstenStueber? |
@ebma i am able to connect on Amplitude but it fails on Pendulum as the wallet does not load I also see and error saying error while connecting the node |
I think that's unrelated and more because our RPC nodes on Pendulum are still very slow and reject connections a lot. |
@ebma about the polyfills: I remember now and never liked this part of the stellar-sdk, quite bloated and with unnecessary dependencies. Okay, so then we need to keep this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine for me, didn't test.
I can confirm this, we experience random failures while accessing Pendulum RPC nodes from the portal. |
|
Do you still experience issues @prayagd? I tested it just now, refreshing https://portal.pendulumchain.org/pendulum/dashboard quite often but it doesn't fail for me anymore. But anyways, this is unrelated to this PR so I'll merge it now. |
🎉 This PR is included in version 1.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
What:
The issue about the WalletConnect connection not working is fixed.
How:
Apparently the polyfills are causing some issues, see this comment. The issue was addressed by changing the polyfills.
Comments:
It happened to me that a
no matching key. keychain ....
error was shown in the console when trying to sign a transaction. It's not 100% clear to me why this happened but I found some related issue tickets which suggested either updating the dependencies or cleaning local storage. Deleting the walletconnect-related items from local storage and then disconnecting, reconnecting again fixed this issue for me.Closes #327.