Skip to content

Commit be5a6ff

Browse files
zone-liveccharly
andauthored
feat(multichain-transactions-controller)!: store transactions by chain ID (support for devnet chains) (#5756)
## Explanation 1. Removes the Solana mainnet filtering 2. Reorganizes data structure to support an account[] -> chain[] -> transactions ``` nonEvmTransactions: { [accountId: string]: { [chain: string]: TransactionStateEntry; }; }; ``` 3. Updates logic to reflect these changes ## References Extension PR with this package preview and working solution: - MetaMask/metamask-extension#32858 ## Changelog <!-- THIS SECTION IS NO LONGER NEEDED. The process for updating changelogs has changed. Please consult the "Updating changelogs" section of the Contributing doc for more. --> ## 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 - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --------- Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
1 parent 4a42d7a commit be5a6ff

File tree

3 files changed

+222
-121
lines changed

3 files changed

+222
-121
lines changed

packages/multichain-transactions-controller/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- **BREAKING:** Store transactions by chain IDs ([#5756](https://github.com/MetaMask/core/pull/5756))
13+
- Remove Solana mainnet filtering to support other Solana networks (devnet, testnet) ([#5756](https://github.com/MetaMask/core/pull/5756))
14+
1015
## [0.11.0]
1116

1217
### Changed

0 commit comments

Comments
 (0)