Commit 27aa809
committed
refactor(engine): wire TransactionController into @metamask/wallet init
Move TransactionController construction into the @metamask/wallet-owned
wallet-init flow, mirroring extension PR #43182. The wallet now owns the
TransactionController controller messenger and persisted state; the legacy
messenger-client init registry entry is removed.
- Bump @metamask/wallet 6->7 (bundles transaction-controller 68.2.2).
- Relocate the TransactionController init messenger into wallet-init and
drop the now-obsolete controller messenger factory.
- Add wallet-init instance-options builder + listener setup for
TransactionController.
- Resolve the constructed instance via wallet.getInstance.1 parent de26145 commit 27aa809
17 files changed
Lines changed: 635 additions & 1286 deletions
File tree
- app
- core/Engine
- controllers/transaction-controller
- messengers
- wallet-init
- instance-options
- messengers
- util/transactions/hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
291 | 290 | | |
292 | 291 | | |
293 | 292 | | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | 329 | | |
331 | 330 | | |
332 | 331 | | |
| |||
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
433 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
| |||
Lines changed: 0 additions & 1 deletion
This file was deleted.
0 commit comments