-
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
refactor(SwitchNetwork): revamp RPC starkNet_switchNetwork
#368
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.
Add suggestion to make it compatible with new error handling from #374
Quality Gate passed for 'consensys_starknet-snap-starknet-snap'Issues Measures |
Quality Gate passed for 'consensys_starknet-snap-wallet-ui'Issues Measures |
This PR is to revamp the RPC
starkNet_switchNetwork
handler to align with new RPC standardRequirement:
Requires this PR to be merged first:
NetworkStateManager
with new configuration #369StateManager
to return value inwithTransaction
#373BEGIN_COMMIT_OVERRIDE
feat: Refactor RPC
starkNet_switchNetwork
to have superstruct validation (#369, #373, #368)END_COMMIT_OVERRIDE