Skip to content

Conversation

@ffmcgee725
Copy link
Member

Explanation

Uniswap reported a bug in slack here where MetaMask was unpermitting any EVM connections for a dapp if that dapp used the solana wallet standard provider to make a connect request and then cancelled it.

This call to disconnect() is happening outside of our packages and is not related to a previous but similar bug where our own wallet-standard provider was calling wallet_revokeSession when receiving an empty solana accountsChanged event.

To fix this, this PR proposes an implementation for partial permission revoking in the wallet_revokeSession handler so that we can then update our solana wallet-standard provider to only revoke the solana scopes when it is asked to disconnect.

References

@ffmcgee725 ffmcgee725 marked this pull request as ready for review September 22, 2025 10:57
@ffmcgee725 ffmcgee725 requested a review from a team as a code owner September 22, 2025 10:57
@ffmcgee725 ffmcgee725 merged commit 4f6e36d into main Sep 22, 2025
22 checks passed
@ffmcgee725 ffmcgee725 deleted the jc/WAPI-728 branch September 23, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants