Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
JSON-RPC server #178
Looking for the list of supported RPC endpoints?
See the full checklist here: #835
We need to implement the basic API for JSON-RPC server. A simplistic start can be found here: https://github.com/ethereum/py-evm/tree/master/evm/rpc
Lets flesh this out further to something more complete. For now lets keep it as something that must be run as
I suggest sticking to the read-only apis for now.
Compiled to-do list:
(Checked off at the time of merge)
To save for another PR:
Reasonable approach: only serve json-rpc over sockets, plus an HTTP proxy like: https://github.com/chfast/json-rpc-proxy/blob/master/jsonrpcproxy.py
More notes to self. This was said somewhere in our conversations. cc @chfast Pulling the
At the very least, pulling
I'm starting to look at how to test an RPC server, and here's my plan so far:
Quick information drop about
This may be as simple as returning
The way that I recall go-ethereum doing this is to execute the transaction with some very large upper bound of gas like
I'll re-iterate that the binary search approach may not be necessary based on how we do gas consumption tracking. Let's see.