-
Notifications
You must be signed in to change notification settings - Fork 31
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 new RPC starkNet_addAccount
#474
feat: add new RPC starkNet_addAccount
#474
Conversation
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 changes and one question regarding the getNextIndex
Quality Gate passed for 'consensys_starknet-snap-wallet-ui'Issues Measures |
Quality Gate passed for 'consensys_starknet-snap-starknet-snap'Issues Measures |
61ea119
into
feat/enable-multiple-accounts
This PR is to add new RPC
starkNet_addAccount
Changes:
Add new RPC
starkNet_addAccount
A
MaxAccountLimitExceededError
will be thrown if more than 2 account created in the same networkAdd permission and entry point for RPC
starkNet_addAccount
Add the missing test for
AccountStateManager
Remove
addAccount
andupdateAccount
fromAccountStateManager
, as no use case exist.Requirements: