-
Notifications
You must be signed in to change notification settings - Fork 635
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
User assets migration #6038
User assets migration #6038
Conversation
…@benisgold/user-assets-refactor
…@benisgold/user-assets-refactor
…@benisgold/user-assets-refactor
…@benisgold/user-assets-migration-v2
…rainbow-me/rainbow into @benisgold/user-assets-migration-v2
…rainbow-me/rainbow into @benisgold/user-assets-migration-v2
…@benisgold/user-assets-refactor
…rainbow-me/rainbow into @benisgold/user-assets-migration-v2
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.
When attempting to send any token on any network I get insufficient ETH even though I have a high enough balance to make the transaction
Seen here:
Screen.Recording.2024-09-25.at.10.15.01.AM.mov
…@benisgold/user-assets-migration-v2
a833689
to
153e842
Compare
…nt initial no assets state
…@benisgold/user-assets-migration-v2
@benisgold can you take a look at these conflicts? |
…@benisgold/user-assets-migration-v2
…@benisgold/user-assets-migration-v2
…@benisgold/user-assets-migration-v2
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.
Issues have been resolved, QA Passed 👍🏽
…@benisgold/user-assets-migration-v2
Fixes APP-1644, APP-1822
What changed (plus any additional context for devs)
Currently there is a mismatch between user assets within swaps and user assets elsewhere in the app because we have two different user assets queries. This PR migrates all usage of user assets over to the newer query located at
src/__swaps__/screens/Swap/resources/assets/userAssets.ts
and removes usage of the old query (and related code) located atsrc/resources/assets/UserAssetsQuery.ts
. The new user assets data is primarily accessed through theuserAssetsStore
.Screen recordings / screenshots
What to test
will build a TF but having build issues rn
i encourage thorough testing of all features involving using assets including sends, swaps, wallet screen, change wallet sheet, wallet switching, persistence