Skip to content

feat: migrate NftDetectionController to BaseControllerV2 - #4312

Merged
cryptodev-2s merged 21 commits into
mainfrom
feature/migrate-nft-detection-controller-to-base-controller-v2
May 30, 2024
Merged

feat: migrate NftDetectionController to BaseControllerV2#4312
cryptodev-2s merged 21 commits into
mainfrom
feature/migrate-nft-detection-controller-to-base-controller-v2

Conversation

@cryptodev-2s

@cryptodev-2scryptodev-2s commented May 23, 2024

Copy link
Copy Markdown
Contributor

Explanation

The NftDetectionController has been migrated to BaseControllerV2. As part of this migration, the deprecated config property has been removed and replaced with messenger actions for chainId and selectedAddress retrieval..

References

Changelog

@metamask/assets-controllers

Changed

  • BREAKING: Convert NftDetectionController to BaseControllerV2

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@cryptodev-2s
cryptodev-2s requested a review from a teamMay 23, 2024 14:04
@cryptodev-2scryptodev-2s added the team-wallet-framework Deprecated: Please use `team-core-platform` instead. label May 23, 2024
@desi
desi requested a review from a teamMay 23, 2024 19:15
@cryptodev-2s
cryptodev-2sforce-pushed the feature/migrate-nft-detection-controller-to-base-controller-v2 branch from e28003f to 0d6e4faCompareMay 23, 2024 20:55
Comment threadpackages/assets-controllers/src/NftDetectionController.ts
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.test.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.test.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.test.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.test.ts Outdated
Comment threadpackages/assets-controllers/src/NftDetectionController.ts Outdated
kanthesha
kanthesha previously approved these changes May 29, 2024

@kantheshakanthesha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kantheshakanthesha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@cryptodev-2s
cryptodev-2s merged commit f522918 into mainMay 30, 2024
@cryptodev-2s
cryptodev-2s deleted the feature/migrate-nft-detection-controller-to-base-controller-v2 branch May 30, 2024 08:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-wallet-frameworkDeprecated: Please use `team-core-platform` instead.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Convert NftDetectionController from BaseControllerV1 to BaseControllerV2

2 participants

@cryptodev-2s@kanthesha