You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose TransactionController methods needed by SmartTransactionsController through messenger
Currently, the `confirmExternalTransaction`, `getNonceLock`,
`getTransactions`, and `updateTransaction` methods in
`TransactionController` are accessed by the
`SmartTransactionsController` constructor, but in a non-standard way:
`SmartTransactionsController` takes function references, when we would
like to call these methods via the messenger instead.
This commit exposes these methods through TransactionController's
messenger so we can do this.
Copy file name to clipboardExpand all lines: packages/transaction-controller/CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
12
+
- Expose `confirmExternalTransaction`, `getNonceLock`, `getTransactions`, and `updateTransaction` actions through the messenger ([#6615](https://github.com/MetaMask/core/pull/6615))
13
+
- Like other action methods, they are callable as `TransactionController:*`
0 commit comments