-
Notifications
You must be signed in to change notification settings - Fork 505
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
Consider supporting standard debug
rpc
#1007
Comments
#768 is what's already being discussed. |
this PR is about geth client-specific (non-standard) debug rpc |
@sorpaas what do you think? |
I have no objection. This is much simpler to implement than #768. Geth's debug does not include debug tracing, which means we can leave that unresolved "tracing in native / tracing in wasm" issue behind. Those raw RLP APIs should be straightforward.
|
Motivation
Standardize
debug
namespace: ethereum/execution-apis#247debug_getRawHeader(hashOrNumber) -> bytes
-- gets header RLP.debug_getRawBlock(hashOrNumber) -> bytes
-- gets block RLP.debug_getRawTransaction(hash) -> bytes
-- gets EIP-2718 encoded tx.debug_getRawReceipts(hashOrNumber) -> []bytes
-- gets array of EIP-2718 encoded receipts.debug_getBadBlocks -> []BadBlock
-- gets recent invalid blocks seen by the client.We can also provide some client-specific
debug
rpc, which can be hidden behind some features.Suggested Solution
Alternatives
Additional Information
The text was updated successfully, but these errors were encountered: