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

refactor(SwitchNetwork): revamp RPC starkNet_switchNetwork #368

Merged
merged 14 commits into from
Oct 10, 2024

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Oct 8, 2024

This PR is to revamp the RPC starkNet_switchNetwork handler to align with new RPC standard

Requirement:

Requires this PR to be merged first:

BEGIN_COMMIT_OVERRIDE
feat: Refactor RPC starkNet_switchNetwork to have superstruct validation (#369, #373, #368)
END_COMMIT_OVERRIDE

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner October 8, 2024 04:21
@stanleyyconsensys stanleyyconsensys requested review from Akaryatrh and jonesho and removed request for a team October 8, 2024 04:21
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.

Add suggestion to make it compatible with new error handling from #374

packages/starknet-snap/src/rpcs/switch-network.test.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.test.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.test.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.ts Outdated Show resolved Hide resolved
packages/starknet-snap/src/rpcs/switch-network.test.ts Outdated Show resolved Hide resolved
Copy link

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

Issues
2 New issues
0 Accepted issues

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

See analysis details on SonarCloud

Copy link

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

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

@stanleyyconsensys stanleyyconsensys added this pull request to the merge queue Oct 10, 2024
Merged via the queue into main with commit d0384bf Oct 10, 2024
13 checks passed
@stanleyyconsensys stanleyyconsensys deleted the chore/revamp-swtich-network branch October 10, 2024 11:03
@github-actions github-actions bot mentioned this pull request Oct 28, 2024
This was referenced Nov 26, 2024
This was referenced Nov 27, 2024
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