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

Statenetwork-eth-methods #500

Merged
merged 9 commits into from
Nov 2, 2023
Merged

Statenetwork-eth-methods #500

merged 9 commits into from
Nov 2, 2023

Conversation

ScottyPoi
Copy link
Collaborator

@ScottyPoi ScottyPoi commented Nov 1, 2023

Stubs eth_ namespace JSON-RPC methods for StateProtocol class.

state.eth_getBalance
state.eth_getStorageAt
state.eth_getTransactionCount
state.eth_call
state.eth_estimateGas

Actual implementation to follow in future PR.
This prepares StateProtocol to serve calls from a Ultralight State Provider

Currently they will all return undefined,

This should trigger the Ultralight State Provider to redirect the request to the fallback.

Copy link
Collaborator

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM

@acolytec3 acolytec3 merged commit 4a67770 into master Nov 2, 2023
4 checks passed
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