-
-
Notifications
You must be signed in to change notification settings - Fork 255
feat(multichain-account-service): add transient state #6401
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
Conversation
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
7baa727 to
8159614
Compare
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
fabiobozzo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One question: where exactly do you "reduce" the in-progress state of each wallet to a 'global' service state? aka "at least one wallet alignment is in progress" ?
| } from './MultichainAccountService'; | ||
| import type { MultichainAccountWalletTransientState } from './MultichainAccountWallet'; | ||
|
|
||
| export type MultichainAccountServiceTransientState = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit nit: JSDoc here?
I didn't change anything for this, so we loop through every wallet instances and use |
Explanation
Testing transient state for services.
References
N/A
Checklist