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

Update user's primaryZID after adding new wallet #2252

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

ratik21
Copy link
Collaborator

@ratik21 ratik21 commented Sep 10, 2024

What does this do?

If you add a new wallet, and your wallet has some zid's, then the backend now will set that user's "default zid", and return that in the response. This PR updates the saga logic to update the local redux state with that ZID.

If none is present in the API response, then primary ZID is derived from the wallet address (eg. 0x64af...63fe)

@ratik21 ratik21 requested a review from a team September 10, 2024 21:56
@ratik21 ratik21 merged commit d875410 into main Sep 10, 2024
5 checks passed
@ratik21 ratik21 deleted the ratik/zos-73-primary-zid branch September 10, 2024 22:15
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.

1 participant