-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: eth_accounts
return all permitted accounts
#6499
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
eth_accounts
return all permitted accounts
I have read the CLA Document and I hereby sign the CLA |
eth_accounts
return all permitted accountseth_accounts
return all permitted accounts
…/mme-18515/eth_accounts-return-all-permitted-sdk-wc
I'm unsure if my assumptions are correct for
|
Reverted sdk and wc behavior based on discussion with @andreahaku |
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 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
hey @jiexi I have a couple of questions: Did you test removing accounts that were connected to a dapp? |
Did you test removing accounts that were connected to a dapp? Did you test importing accounts while one of your previous accounts was connected to a dapp? Did you test connecting and disconnecting hardware wallets while connected to a dapp? Was this tested against the portfolio dapp? EDIT: This issue doesn't occur in extension partly because it's not possible to permit multiple accounts via wallet ui after initial account connection. Bug filed in slack. See conversation for video proof as well WC v2 was merged a couple of days ago, was this tested on the most recent main commit? |
Kudos, SonarCloud Quality Gate passed! |
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.
Approving! I went through some manual verifications and I did not find any issues.
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
eth_accounts
with most recently used first for browser and SDKThis change was made to align with the change suggested in extension. The goal is start returning all accounts on each
eth_accounts
call rather than only returning an array with a single account. We achieve this by updating therestrictReturnedAccounts
decoratorScreenshots/Recordings
Screen.Recording.2023-06-07.at.4.12.55.PM.mov
NOTE: test dapp page changes are not deployed yet, but have been merged into the main branch and be run locally to reproduce the recording above.
Screen.Recording.2023-06-07.at.4.30.05.PM.mov
Issue
Ticket: mme-18515
Documentation PR
Checklist