refactor: migrate SmartTransactionController to @metamask/messenger#543
refactor: migrate SmartTransactionController to @metamask/messenger#543cryptodev-2s merged 6 commits intomainfrom
SmartTransactionController to @metamask/messenger#543Conversation
mcmire
left a comment
There was a problem hiding this comment.
Looks good. Let me know when this is ready for final review.
|
@metamaskbot publish-preview |
|
A preview build for this branch has been published. You can configure your project to use the preview build with this identifier: See these instructions for more information about preview builds. |
|
@metamaskbot publish-preview |
|
A preview build for this branch has been published. You can configure your project to use the preview build with this identifier: See these instructions for more information about preview builds. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning MetaMask internal reviewing guidelines:
|
This PR migrates
SmartTransactionControllerto@metamask/messengerinstead of@metamask/base-controller. This is part of a larger effort to migrate all controllers to use@metamask/messenger.Depends on MetaMask/core#6444 for
StaticIntervalPollingController.Note
Migrate
SmartTransactionsControllerto the new@metamask/messenger, rename debug metadata, and bump related controller deps; update tests and TS module resolution.RestrictedMessenger/messagingSystem(from@metamask/base-controller) to newMessenger(@metamask/messenger).SmartTransactionsControllerMessengertype and allcall/publish/subscribeusages tomessengerAPIs.anonymoustoincludeInDebugSnapshotand update metadata-driven state derivation/tests.messengercalls forNetworkControllerandTransactionController.Messenger, namespacing, anddelegatefor allowed actions/events.includeInDebugSnapshot.module/moduleResolutiontoNode16.@metamask/messenger.@metamask/base-controllerto^9.0.0and@metamask/polling-controllerto^15.0.0.@metamask/network-controllerto^25.0.0and@metamask/transaction-controllerto^61.0.0.Written by Cursor Bugbot for commit 1e109ac. This will update automatically on new commits. Configure here.