Skip to content
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: Add RPC starkNet_toggleAccountVisibility to toggle the account visibility #494

Conversation

stanleyyconsensys
Copy link
Collaborator

This PR is add a new RPC starkNet_toggleAccountVisibility to toggle the account visibility

Changes:

  • Add RPC starkNet_toggleAccountVisibility and allowlist from the permission (restricted)
  • remove removedAccounts related code
  • when derive a account from AccountService, we can pass a json data into the Account object, hence it can store it when reflect the correct data when using serialize

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner January 23, 2025 09:11
@stanleyyconsensys stanleyyconsensys requested review from Julink-eth and jonesho and removed request for a team January 23, 2025 09:11
Copy link
Collaborator

@khanti42 khanti42 left a comment

Choose a reason for hiding this comment

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

LGTM!

Base automatically changed from chore/unblock-account-create-limit to feat/enable-multiple-accounts January 27, 2025 01:27
Copy link

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-wallet-ui'

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
4.4% Duplication on New Code

See analysis details on SonarQube Cloud

Copy link

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-starknet-snap'

Issues
17 New issues
0 Accepted issues

Measures
0 Security Hotspots
1.8% Coverage on New Code
0.6% Duplication on New Code

See analysis details on SonarQube Cloud

@stanleyyconsensys stanleyyconsensys merged commit 492e311 into feat/enable-multiple-accounts Jan 27, 2025
14 checks passed
@stanleyyconsensys stanleyyconsensys deleted the feat/toggle-account-visility-rpc branch January 27, 2025 02:40
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