-
Notifications
You must be signed in to change notification settings - Fork 240
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
fix: fix broken wallet adapter in proposals app #2494
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
LedgerWalletAdapter, | ||
PhantomWalletAdapter, | ||
SolflareWalletAdapter, | ||
SolletExtensionWalletAdapter, | ||
SolletWalletAdapter, |
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.
fyi @guibescos these wallet adapters have been deprecated and no longer exist in the current version of the solana wallet adapter library.
@@ -24,6 +24,9 @@ | |||
"pnpm": { | |||
"overrides": { | |||
"@solana/[email protected]>rpc-websockets": "7.11.0" | |||
}, | |||
"patchedDependencies": { | |||
"[email protected]": "patches/[email protected]" |
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.
I removed this patch in #2489 and the proposals app works in prod without it, but I didn't test local dev mode, and there without this patch we get a syntax error in eccrypto, so I need to resurrect it.
Summary
This PR upgrades the wallet adapters used in the proposals app to use the catalog dependencies.
It looks like the solana packages revved some patches but released a number of breaking changes. Unifying on the catalog dependencies both fixes the issues and also makes it easier for me to keep these up to date with the rest of the monorepo moving forward.
Rationale
The proposals app wallet button is currently broken, presumably as a result of #2489 .
How has this been tested?