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: wallet sync non-vanilla objects failure #487

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

victorkirov
Copy link
Member

@victorkirov victorkirov commented Jun 16, 2023

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

(Optional) Resolved: ENG-2265
If more than one chrome window is open and both windows have the XVerse popup open, then we sync the entire state between them, causing some objects to not deserialise properly. This causes issues when we try to use class obejcts that deserialised into native JS objects. This was evident in the balances shown in the home screen.

What is the new behavior?

We only sync the required bits of the store, so we don't end up with invalid objects in our store.

@linear
Copy link

linear bot commented Jun 16, 2023

ENG-2265 wallet data loading issue

When Switching accounts initially the wallet balances are not shown until you select the same account again

841e85a9-6a4f-4e8a-b2dd-c444eb05ac3e

@DuskaT021 DuskaT021 added this to the Sprint 35 - June 19 milestone Jun 19, 2023
@DuskaT021
Copy link
Contributor

This is tested and can be merged 👍

@m-aboelenein m-aboelenein merged commit 719e9e5 into develop Jun 19, 2023
1 check passed
@m-aboelenein m-aboelenein deleted the victor/eng-2265-wallet-data-loading-issue branch June 19, 2023 15:12
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.

None yet

3 participants