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

Tracking: RPC methods #3661

Open
81 of 89 tasks
mattsse opened this issue Jul 7, 2023 · 7 comments
Open
81 of 89 tasks

Tracking: RPC methods #3661

mattsse opened this issue Jul 7, 2023 · 7 comments
Labels
A-rpc Related to the RPC implementation C-tracking-issue An issue that collects information about a broad development initiative M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity

Comments

@mattsse
Copy link
Collaborator

mattsse commented Jul 7, 2023

Describe the change

Namespaces and methods

admin

  • admin_removePeer
  • admin_nodeInfo
  • admin_addTrustedPeer
  • admin_peerEvents
  • admin_addPeer
  • admin_removeTrustedPeer
  • admin_peerEvents_unsubscribe

debug

  • debug_getRawReceipts
  • debug_getBadBlocks
  • debug_traceBlockByHash
  • debug_getRawHeader
  • debug_traceChain
  • debug_traceTransaction
  • debug_traceBlock
  • debug_getRawBlock
  • debug_getRawTransaction
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceCallMany

eth

  • eth_getTransactionByBlockHashAndIndex
  • eth_getBlockReceipts
  • eth_hashrate
  • eth_blockNumber
  • eth_sendTransaction
  • eth_sendRawTransaction
  • eth_subscribe
  • eth_newPendingTransactionFilter
  • eth_getUncleByBlockHashAndIndex
  • eth_getBlockTransactionCountByNumber
  • eth_estimateGas
  • eth_signTransaction
  • eth_getLogs
  • eth_getFilterChanges
  • eth_newFilter
  • eth_unsubscribe
  • eth_maxPriorityFeePerGas
  • eth_getUncleByBlockNumberAndIndex
  • eth_getBlockTransactionCountByHash
  • eth_mining
  • eth_submitHashrate
  • eth_uninstallFilter
  • eth_signTypedData
  • eth_sign
  • eth_getBalance
  • eth_coinbase
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getStorageAt
  • eth_getTransactionCount
  • eth_syncing
  • eth_gasPrice
  • eth_getWork
  • eth_submitWork
  • eth_getTransactionReceipt
  • eth_accounts
  • eth_getUncleCountByBlockNumber
  • eth_getProof
  • eth_getBlockByNumber
  • eth_feeHistory
  • eth_getBlockByHash
  • eth_newBlockFilter
  • eth_getFilterLogs
  • eth_getCode
  • eth_protocolVersion
  • eth_createAccessList
  • eth_chainId
  • eth_getUncleCountByBlockHash
  • eth_call
  • eth_callMany

net

  • net_listening
  • net_version
  • net_peerCount

trace

  • trace_block
  • trace_call
  • trace_filter
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_get
  • trace_transaction

trace Limitations

txpool

  • txpool_status
  • txpool_inspect
  • txpool_content
  • txpool_contentFrom

web3

  • web3_sha3
  • web3_clientVersion

rpc

  • rpc_modules

Additional context

No response

@mattsse mattsse added C-docs An addition or correction to our documentation S-needs-triage This issue needs to be labelled A-rpc Related to the RPC implementation and removed C-docs An addition or correction to our documentation S-needs-triage This issue needs to be labelled labels Jul 7, 2023
@mattsse
Copy link
Collaborator Author

mattsse commented Jul 7, 2023

rpc-builder code to generate this

diff --git a/crates/rpc/rpc-builder/src/lib.rs b/crates/rpc/rpc-builder/src/lib.rs
index bcd41aa76..78becb9e1 100644
--- a/crates/rpc/rpc-builder/src/lib.rs
+++ b/crates/rpc/rpc-builder/src/lib.rs
@@ -317,6 +317,7 @@ where
 
         modules.config = module_config;
         modules.http = registry.maybe_module(http.as_ref());
+        panic!();
         modules.ws = registry.maybe_module(ws.as_ref());
         modules.ipc = registry.maybe_module(ipc.as_ref());
 
@@ -810,7 +811,15 @@ where
     pub fn module_for(&mut self, config: &RpcModuleSelection) -> RpcModule<()> {
         let mut module = RpcModule::new(());
         let all_methods = self.reth_methods(config.iter_selection());
+        let mut iter = config.iter_selection();
+
         for methods in all_methods {
+            let name = iter.next().expect("No more names");
+            println!("## {}", name);
+            for meth in methods.method_names() {
+                println!("  - [x] {}", meth);
+            }
+            println!();
             module.merge(methods).expect("No conflicts");
         }
         module

@mattsse mattsse added the A-meta Changes in the contributor workflow and planning label Jul 7, 2023
@gakonst gakonst pinned this issue Jul 7, 2023
@onbjerg onbjerg changed the title reth RPC endpoints Overview Tracking: RPC methods Jul 11, 2023
@onbjerg onbjerg added C-tracking-issue An issue that collects information about a broad development initiative and removed A-meta Changes in the contributor workflow and planning labels Jul 11, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label Aug 18, 2023
@mattsse mattsse added M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity and removed S-stale This issue/PR is stale and will close with no further activity labels Aug 18, 2023
@cyberhorsey
Copy link

Any potential ETA on arbitrary-length-rewind eth_getProof, ala geth?

@tjayrush
Copy link

Any potential ETA on trace_fitler? It's super useful for indexing. If someone were to give me a brief tutorial on how to get started and where to focus, I might be interested in either writing a PR myself or bounty-ing it out. (Assuming I can find some funding to bounty.)

@pistomat
Copy link
Contributor

Any plans on eth_multicallV1? ethereum/execution-apis#484 Should we add it to tracking/create an issue for it?

@mattsse
Copy link
Collaborator Author

mattsse commented Nov 27, 2023

please open a new issue for this

@emhane emhane unpinned this issue Apr 9, 2024
@emhane emhane pinned this issue Apr 9, 2024
@onbjerg
Copy link
Member

onbjerg commented Apr 22, 2024

@mattsse can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-tracking-issue An issue that collects information about a broad development initiative M-prevent-stale Prevents old inactive issues/PRs from being closed due to inactivity
Projects
Status: Todo
Development

No branches or pull requests

5 participants