-
Notifications
You must be signed in to change notification settings - Fork 5.4k
feat: assets controllers package upgrade with fix #36808
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
Draft
bergarces
wants to merge
26
commits into
main
Choose a base branch
from
account-tracker-controller-migration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+116
−1,859
Draft
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
102687b
migrate controller
bergarces c130949
more adjustments
bergarces d7a8983
progress
bergarces 35700fc
Merge branch 'main' into account-tracker-controller-migration
bergarces f7624cf
remove logs
bergarces bf14880
remnove logs
bergarces 025f486
remove logs
bergarces 49f553d
rename file
bergarces f631510
Add missing state
bergarces 791b24c
comments
bergarces 2012727
revert
bergarces c4a696f
easy fix for preferences controller
bergarces 8d2e86c
test file
bergarces eae81ee
Merge branch 'main' into account-tracker-controller-migration
bergarces 53290e8
better comment
bergarces a18994c
remove keyringcontroller wrong allowed actions and events
bergarces 7e745db
linting
bergarces 970d100
revert changes
bergarces 5302bed
do not include staked assets
bergarces 22cb1c7
remove comment
bergarces 4d6060c
revert
bergarces 8013943
fix
bergarces cdd10c6
more comments removed
bergarces 1749a1e
more comments
bergarces 7cea266
remove hw balance sync
bergarces c3bca42
remove comment
bergarces 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
import { Messenger } from '@metamask/base-controller'; | ||
import { | ||
AllowedActions, | ||
AllowedEvents, | ||
} from '../../controllers/account-tracker-controller'; | ||
import { AppStateControllerRequestQrCodeScanAction } from '../../controllers/app-state-controller'; | ||
|
||
export type KeyringControllerMessenger = ReturnType< | ||
|
@@ -17,7 +13,7 @@ export type KeyringControllerMessenger = ReturnType< | |
* messenger. | ||
*/ | ||
export function getKeyringControllerMessenger( | ||
messenger: Messenger<AllowedActions, AllowedEvents>, | ||
messenger: Messenger<never, never>, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was using the wrong types from a different controller. |
||
) { | ||
return messenger.getRestricted({ | ||
name: 'KeyringController', | ||
|
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
File renamed without changes.
Oops, something went wrong.
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.
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.
Not part of this PR to include staked assets in the assets list. When we want to enable them, we can do so.