Skip to content

Commit 50d4945

Browse files
committed
fix: enable network if a transacgtion was submitted into it
1 parent daea9b9 commit 50d4945

File tree

7 files changed

+151
-240
lines changed

7 files changed

+151
-240
lines changed

packages/network-enablement-controller/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16+
- Change transaction listener from `TransactionController:transactionConfirmed` to `TransactionController:transactionSubmitted` for earlier network enablement ([#6329](https://github.com/MetaMask/core/pull/6329))
17+
- Update transaction event handler to properly access chainId from nested transactionMeta structure ([#6329](https://github.com/MetaMask/core/pull/6329))
1618
- Bump `@metamask/controller-utils` from `^11.11.0` to `^11.12.0` ([#6303](https://github.com/MetaMask/core/pull/6303))
1719

1820
## [0.1.1]

packages/network-enablement-controller/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"@metamask/auto-changelog": "^3.4.4",
5151
"@metamask/multichain-network-controller": "^0.11.1",
5252
"@metamask/network-controller": "^24.1.0",
53+
"@metamask/transaction-controller": "^59.2.0",
5354
"@types/jest": "^27.4.1",
5455
"deepmerge": "^4.2.2",
5556
"jest": "^27.5.1",
@@ -67,7 +68,8 @@
6768
},
6869
"peerDependencies": {
6970
"@metamask/multichain-network-controller": "^0.11.0",
70-
"@metamask/network-controller": "^24.0.0"
71+
"@metamask/network-controller": "^24.0.0",
72+
"@metamask/transaction-controller": "^59.0.0"
7173
},
7274
"engines": {
7375
"node": "^18.18 || >=20"

0 commit comments

Comments
 (0)