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
feat: validate nested transactions are not to internal accounts (#5369)
## Explanation
Throw if `addTransactionBatch` is called with any nested transaction
with a `to` matching an internal account.
Also fix `@metamask/remote-feature-flag-controller` dependency.
## References
## Changelog
See `CHANGELOG.md`.
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
Copy file name to clipboardExpand all lines: packages/transaction-controller/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
24
25
25
### Changed
26
26
27
+
- Throw if `addTransactionBatch` is called with any nested transaction with `to` matching internal account ([#5369](https://github.com/MetaMask/core/pull/5369))
27
28
-**BREAKING:** Support atomic batch transactions ([#5306](https://github.com/MetaMask/core/pull/5306))
28
29
- Require `AccountsController:getState` action permission in messenger.
29
30
- Require `RemoteFeatureFlagController:getState` action permission in messenger.
0 commit comments