This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ccharly
force-pushed
the
refactor/split-account-type
branch
from
April 23, 2024 10:51
f85ce44
to
faa242d
Compare
This allow to have proper error messages rather than confusing superstruct messages when dealing with union(s)!
ccharly
force-pushed
the
refactor/split-account-type
branch
from
April 23, 2024 13:18
faa242d
to
bb84603
Compare
gantunesr
reviewed
Apr 23, 2024
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.
Left some comments about the acronyms capitalization, this is a minor comment that can lead to a breaking change so feel free to ignore them if it's not worth it
is there a ticket we can link this PR to? |
Co-authored-by: Gustavo Antunes <[email protected]>
1 task
The only issue I can think of right now would be this one: https://github.com/MetaMask/accounts-planning/issues/385 |
gantunesr
previously approved these changes
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
danroc
reviewed
Apr 24, 2024
Co-authored-by: Daniel Rocha <[email protected]>
danroc
approved these changes
Apr 25, 2024
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This splits the existing
KeyringAccount
type into two sub-types. Allowing to have "concrete" types for EOA and 4337 accounts.This is not a breaking change since
KeyringAccount
now uses aunion
to match any of the 2 account types.Relates https://github.com/MetaMask/accounts-planning/issues/385