Skip to content

Conversation

@cryptodev-2s
Copy link
Contributor

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

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 team May 23, 2024 14:04
@cryptodev-2s cryptodev-2s added the team-wallet-framework Deprecated: Please use `team-core-platform` instead. label May 23, 2024
@desi desi requested a review from a team May 23, 2024 19:15
@cryptodev-2s cryptodev-2s force-pushed the feature/migrate-nft-detection-controller-to-base-controller-v2 branch from e28003f to 0d6e4fa Compare May 23, 2024 20:55
@cryptodev-2s cryptodev-2s requested a review from kanthesha May 28, 2024 13:37
@cryptodev-2s cryptodev-2s requested a review from kanthesha May 28, 2024 15:02
kanthesha
kanthesha previously approved these changes May 29, 2024
Copy link
Contributor

@kanthesha kanthesha left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Contributor

@kanthesha kanthesha left a comment

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 main May 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-wallet-framework Deprecated: 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

3 participants