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

chore: add base controller ChainRpcController #443

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Nov 28, 2024

This PR is to add ChainRpcController for the case that a RPC doesnt need account discover, but just getting the network instance by a chainId

the ChainRpcController will place into './rpcs/abstract'

due to stateManager is included ChainRpcController, it will result a cycle require when some RPC extends the ChainRpcController

and the other abstract RPC controllers should move to the same place

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner November 28, 2024 07:41
@stanleyyconsensys stanleyyconsensys requested review from Akaryatrh and jonesho and removed request for a team November 28, 2024 07:41
Copy link

sonarcloud bot commented Nov 28, 2024

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

Issues
1 New issue
0 Accepted issues

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

See analysis details on SonarQube Cloud

Copy link

sonarcloud bot commented Nov 28, 2024

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 SonarQube Cloud

@stanleyyconsensys stanleyyconsensys changed the title chore: add ChainRpcController chore: add base controller ChainRpcController Nov 28, 2024
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

@khanti42 khanti42 added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 2a37d50 Nov 29, 2024
15 checks passed
@khanti42 khanti42 deleted the chore/add-chain-rpc-controller branch November 29, 2024 08:00
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