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

User assets migration #6038

Merged
merged 67 commits into from
Dec 19, 2024
Merged

User assets migration #6038

merged 67 commits into from
Dec 19, 2024

Conversation

benisgold
Copy link
Member

@benisgold benisgold commented Aug 23, 2024

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 at src/resources/assets/UserAssetsQuery.ts. The new user assets data is primarily accessed through the userAssetsStore.

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

@benisgold benisgold changed the base branch from develop to @benisgold/user-assets-refactor August 26, 2024 14:07
@benisgold benisgold changed the title @benisgold/user assets migration v2 User assets migration Aug 27, 2024
Copy link

linear bot commented Aug 27, 2024

@benisgold benisgold marked this pull request as ready for review August 27, 2024 13:31
Copy link

linear bot commented Sep 19, 2024

Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a 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

@brunobar79
Copy link
Member

Launch in simulator or device for 612b424

@benisgold benisgold marked this pull request as draft November 8, 2024 17:09
@benisgold benisgold force-pushed the @benisgold/user-assets-migration-v2 branch from a833689 to 153e842 Compare December 6, 2024 21:21
@benisgold benisgold marked this pull request as ready for review December 10, 2024 21:21
@derHowie
Copy link
Member

@benisgold can you take a look at these conflicts?

@brunobar79
Copy link
Member

Launch in simulator or device for 9364290

@brunobar79
Copy link
Member

Launch in simulator or device for 6775391

@brunobar79
Copy link
Member

Launch in simulator or device for a226781

@brunobar79
Copy link
Member

Launch in simulator or device for 925ee0e

Copy link
Contributor

@ibrahimtaveras00 ibrahimtaveras00 left a 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 👍🏽

@brunobar79
Copy link
Member

Launch in simulator or device for c693816

@benisgold benisgold merged commit a3547f3 into develop Dec 19, 2024
8 checks passed
@benisgold benisgold deleted the @benisgold/user-assets-migration-v2 branch December 19, 2024 01:54
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.

7 participants