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

Add ETH RPC API to watcher server #535

Merged
merged 7 commits into from
Sep 13, 2024
Merged

Add ETH RPC API to watcher server #535

merged 7 commits into from
Sep 13, 2024

Conversation

prathamesh0
Copy link
Collaborator

@prathamesh0 prathamesh0 commented Sep 13, 2024

Part of Watcher ETH JSON-RPC wrapper

  • Added a JSON RPC server at /rpc path to the watcher server behind a flag enableEthRPCServer
  • Added support for eth_blockNumber and eth_call methods
    • Currently supported block tags: block hash, block number, latest
  • To be handled in a follow on PR:
    • Add support for eth_getLogs method
    • Handle GET requests to match Geth's behaviour
    • Required codegen changes

@prathamesh0 prathamesh0 changed the title [WIP] Add ETH RPC API to watcher server Add ETH RPC API to watcher server Sep 13, 2024
@nikugogoi nikugogoi merged commit b46d881 into main Sep 13, 2024
2 checks passed
@nikugogoi nikugogoi deleted the pm-add-eth-rpc-api branch September 13, 2024 07:14
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