Skip to content
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 chainChanged event emitting for walletlink connection #1411

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

nateReiners
Copy link
Contributor

Summary

This fixes a bug where the first 'chainChanged' was not being emitted because no emitter callback was being passed to the WalletLinkSigner created by listenForWalletLinkSessionRequest

How did you test your changes?

Locally

Here's a video showing the bug in 4.1.0 and this fix in HEAD
https://github.com/user-attachments/assets/e762a9d1-69f1-4124-a844-cf0dc346e9df

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Sep 27, 2024

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Copy link
Contributor

@fan-zhang-sv fan-zhang-sv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for doing this! wonder how come we have callback as optional for WalletLinkSigner, should we make it required?

@nateReiners nateReiners merged commit 107bc87 into master Sep 27, 2024
8 checks passed
@nateReiners nateReiners deleted the nate/WALL-42689/walletlinkChainChangedEventFix branch September 27, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants