-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransactionController should Compose with PreferencesController #34
Comments
Part of me feels like the TransactionController's state shouldn't be limited to the transactions corresponding to the currently-selected address and the current network. This seems like something that downstream applications should handle when rendering a transaction list if they desire, and that the controller should always maintain all transactions a user has sent. FWIW, we already only check the current network ID from the NetworkController when updating transaction statuses. |
We are migrating away from the old controller composition system, so this is now obsolete. |
* Add byte array decoder utils * Add byte array encoder utils and more tests * Add tests for hex utils and export missing files * Add concat function and fix issue in hexToBytes function * Fix PR comments * Fix hexToBytes loop * Use TypeError * Optimise concat algorithm * Assert that number is non-negative * Fix docs * Add utils for working with signed bigints * Update docs * Support uppercase hex prefix and add tests with uppercase characters * Update comment
Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/MetaMask/auto-changelog/releases) - [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md) - [Commits](MetaMask/auto-changelog@v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: "@metamask/auto-changelog" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/MetaMask/auto-changelog/releases) - [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md) - [Commits](MetaMask/auto-changelog@v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: "@metamask/auto-changelog" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/MetaMask/auto-changelog/releases) - [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md) - [Commits](MetaMask/auto-changelog@v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: "@metamask/auto-changelog" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 2.6.1 to 3.0.0. - [Release notes](https://github.com/MetaMask/auto-changelog/releases) - [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md) - [Commits](MetaMask/auto-changelog@v2.6.1...v3.0.0) --- updated-dependencies: - dependency-name: "@metamask/auto-changelog" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
So the state can only expose the list of transactions for the selected address and current network
The text was updated successfully, but these errors were encountered: