-
-
Notifications
You must be signed in to change notification settings - Fork 246
feat: add backup & sync capabilities to AccountTreeController
#6344
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
115 commits
Select commit
Hold shift + click to select a range
8278450
feat: add multichain account syncing skeleton architecture WIP
mathieuartu 047d6be
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu c3c5177
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 92e7c25
WIP
mathieuartu 1714365
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu d0bdc57
feat: add multichain-account-service peerDep
mathieuartu afb4846
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 5fd9808
still wip
mathieuartu 34fb3e0
feat: move every piece of logic in extracted methods
mathieuartu 92d9420
feat: better architecture
mathieuartu 4c04cea
fix: lint errors & architecture
mathieuartu 4a081e1
fix: rename file
mathieuartu 01d3d53
feat: implement tracing and analytics
mathieuartu d81642d
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu d984233
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu b00431b
fix: UT
mathieuartu fa7a7ae
fix: add proper jsdoc everywhere
mathieuartu 36432ec
feat: improve logs & error management
mathieuartu 6445ff5
fix: improve snapshot system
mathieuartu 8dc9eab
fix: improve comment
mathieuartu 3f261c8
feat: add legacy syncing conflict resolution method
mathieuartu 849e9f7
fix: better conflict resolution logic for legacy syncs
mathieuartu 7d06813
update JSDOC
mathieuartu 1e11b5f
feat: add better conflict resolution for legacy syncing
mathieuartu 29c06e3
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 07dff5d
feat: remove conflict resolution methods as those are not needed anymore
mathieuartu bd50593
feat: use superstruct to validate user storage data
mathieuartu 18aa59b
feat: add atomic updates support
mathieuartu 0c75fd2
fix: extract event queue
mathieuartu 0c7e038
feat: move everything to BackupAndSyncService
mathieuartu 978b784
feat: update global folder structure and names
mathieuartu 53bcffa
fix: comment out init method - may be unnecessary
mathieuartu 372d070
fix: existing UTs
mathieuartu 271acd9
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 1a46c75
fix: yarn.lock
mathieuartu ee36c63
fix: update for clearer names
mathieuartu 4653830
fix: add CHANGELOG entry and fix import issue
mathieuartu 6c17c33
fix: update dependency version + profile-sync-controller CHANGELOG
mathieuartu 5978064
fix: tsconfig files
mathieuartu f6cf802
fix: update yarn.lock
mathieuartu 279444b
fix: do not use subpath exports for profile-sync-controller
mathieuartu 8a715e7
fix: rename state property + better types
mathieuartu c90e025
feat: add possible remote feature flag usage to user storage controller
mathieuartu fc19df5
feat: better flows, better types, fix logic errors
mathieuartu 971632b
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 51aa061
fix: yarn.lock
mathieuartu d098734
feat: add logger + better architecture
mathieuartu 3615811
feat: add contextual logger
mathieuartu a7f1a1c
fix: update package.json
mathieuartu 8658e68
feat: use RemoteFeatureFlagController to get multichain FF value
mathieuartu 912722d
fix: import order
mathieuartu df14223
fix: small improvements
mathieuartu 82f3bd8
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu dc34acc
fix: merge artifacts
mathieuartu acd7058
fix: lint issues
mathieuartu 541d905
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu cea8a34
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 7935b45
chore: add method jsdoc
mathieuartu 94c7382
chore: add unit tests with 100% coverage
mathieuartu d8294a8
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 54c80a9
chore: update yarn.lock
mathieuartu e5d5396
chore: fix lint issues
mathieuartu 5fbc662
chore: fix more lint issues
mathieuartu 66e5be2
fix: all lint problems
mathieuartu 7ebff27
fix: import order
mathieuartu f722537
chore: update package.json
mathieuartu 3400640
feat: push new wallets & groups even without metadata and prepare for…
mathieuartu dad5461
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 5f9d516
feat: add stripped down version of legacy account syncing to help mig…
mathieuartu 2e63354
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 18ba5c4
fix: update CHANGELOG
mathieuartu 0e02e61
fix: AccountsController ts comment
mathieuartu 7622939
fix: ts-ignore
mathieuartu f0ec870
fix: ts-ignore
mathieuartu fb30289
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 93dcb54
fix: revert AccountsController changes
mathieuartu fd5158f
feat: disable multiple legacy syncs, add more debug logs
mathieuartu d01278e
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 612e915
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu e50e552
feat: remove UserStorageController account syncing code
mathieuartu bfd2a71
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu a7f224b
fix: update yarn.lock
mathieuartu b13da65
fix: lint issue
mathieuartu 1fd8295
fix: remove isAccountSyncingInProgress state property
mathieuartu 236bab4
fix: prevent atomic syncs if big sync has never ran yet + fix legacy …
mathieuartu d7c088a
fix: better comment to explain group creation no-op in case of error
mathieuartu f8caa65
fix: PR feedbacks (global logger enablement, ProfileId type, #context…
mathieuartu a00c446
fix: use imperative for test descriptions
mathieuartu d5895e7
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu bde2cd2
fix: yarn.lock
mathieuartu bdceb6d
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 3eef0ed
feat: rename analytics object & types
mathieuartu 0465587
fix: address PR feedbacks
mathieuartu 8a5b6ca
fix: cursor feedback
mathieuartu 024ba1d
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 54bb87c
fix: update CHANGELOG
mathieuartu 50346af
fix: address PR feedbacks
mathieuartu c667c49
fix: remove remote-feature-flag ref in user-storage-controller + pr f…
mathieuartu 380bb5d
fix: PR feedbacks
mathieuartu 03ab1b9
fix: pr feedbacks
mathieuartu 2173883
fix: pr feedbacks
mathieuartu 4a1458a
fix: pr feedback
mathieuartu ae627d8
fix: perf improvements
mathieuartu 9b7e519
fix: perf improvements & pr feedbacks
mathieuartu 13fc61c
fix: use metamask/utils logger instead of a custom one
mathieuartu 82849f8
fix: update yarn.lock
mathieuartu 609700f
fix: lint issue
mathieuartu 5bec9d5
fix: update yarn.lock
mathieuartu 3e5cd7e
fix: multiple logic improvements
mathieuartu 5ca78b0
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu c3dafc3
feat: cleanup work + add performFullSyncAtLeastOnce + better promise …
mathieuartu ea6406b
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 90fa526
fix: remaining pr feedbacks
mathieuartu 9dd05f3
Merge branch 'main' into feat/multichain-account-syncing
mathieuartu 4093fe6
fix: align new (and removed) state properties metadata
mathieuartu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.