Skip to content

refactor(snap-account-service): add SnapAccountCache - #10290

Draft
ccharly wants to merge 2 commits into
gar/fix/snap-account-event-publishfrom
cc/refactor/snap-account-cache
Draft

ccharly wants to merge 2 commits into
gar/fix/snap-account-event-publishfrom
cc/refactor/snap-account-cache

Conversation

@ccharly

@ccharly ccharly commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Explanation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • 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
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

@ccharly
ccharly force-pushed the cc/refactor/snap-account-cache branch from de36aa6 to d7dab0d Compare September 17, 2026 21:29
@ccharly
ccharly force-pushed the cc/refactor/snap-account-cache branch from d7dab0d to 3a46764 Compare September 17, 2026 21:32

@gantunesr gantunesr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of sonar errors, they can be resolved in the next PR

import type {
AccountsControllerAccountsAddedEvent,
AccountsControllerAccountsRemovedEvent,
AccountsControllerGetStateAction,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flagged by sonar: 'AccountsControllerGetStateAction' is defined but never used

): void {
rootMessenger.publish(
'AccountsController:accountsRemoved',
accountIds as AccountsControllerAccountsRemovedEvent['payload'][0],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagged by sonar: This assertion is unnecessary since it does not change the type of the expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants