-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Relocating jsonrpc endpoints #1273
Comments
@kclowes From what I can tell, we're very close to wrapping this up. One concern I have is that the reference I've been using for the Geth-implemented endpoints might be outdated (last updated 2017). Have you come across any better resources? Somewhat related to the above point, but from what I can tell, neither Geth nor Parity have implemented As of now, Another question about the documentation layout. A lot of the recently shuffled around modules ( Lastly, this has been discussed in various places, but adding typehints, doctest, and autodoc are all good targets to hit in V5 and probably deserve their own issue (though as @pipermerriam said, they aren't breaking changes so it won't block the V5 release) |
This is the link I've been using. Looks like it was updated a little more recently than 2017 :)
I think they have both implemented and merged (see this issue but maybe there are no docs yet. And maybe it hasn't been released yet? I'm not sure how geth/parity releases work. @Bhargavasomu is implementing in the
Yeah, I think that makes sense.
Yeah, moving them to a
yes! I made an issue for increasing doctest coverage, but I don't see one for typehints or autodoc. Do you mind adding those in? Thanks @njgheorghita! |
@njgheorghita can this be closed? |
What was wrong?
Web3's api needs updating to match EIP 1474, and the Parity / Geth supported jsonrpc endpoints.
Configuration.
Only endpoints listed in EIP 1474 should be available under the
web3
namespaceeth_signTransaction
->web3.eth.signTransaction
Endpoints supported by Geth but not defined in EIP 1474 should be available under the
web3.geth
namespacetxpool_status
->web3.geth.txpool.status
Endpoints supported by Parity but not defined in EIP 1474 should be available under the
web3.parity
namespaceshh_post
->web3.parity.shh.post
EIP 1474 defined endpoints currently missing in Web3
eth_signTransaction
eth_signTypedData
eth_submitHashrate
eth_submitWork
What needs moving in Web3?
web3.shh
->web3.parity.shh
andweb3.geth.shh
web3.version.ethereum
->web3.eth.protocolVersion
web3.version.node
-> ??? (jsonrpc method =web3_clientVersion
)web3.version
api entirely?web3.txpool
->web3.geth.txpool
web3.miner
->web3.geth.miner
web3.admin
->web3.geth.admin
@kclowes
How can it be fixed?
Fill this section in if you know how this could or should be fixed.
The text was updated successfully, but these errors were encountered: