Install missing eth_
handlers if eth module is selected
#1268
Labels
A-rpc
Related to the RPC implementation
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
with #1267 we now have EthPubSub and EthFilter handlers for the eth namespace, which are currently not installed if the eth module is selected.
TODO
install all eth handlers.
Currently only the
EthApi
handler is installedreth/crates/rpc/rpc-builder/src/lib.rs
Line 400 in a58cf8a
if we add multiple handlers per namespace, this will break the
reth_methods
function because now we need to return multipleMethods
.we should refactor this:
reth/crates/rpc/rpc-builder/src/lib.rs
Lines 379 to 390 in a58cf8a
so that
reth_methods
takesimpl Iterator<RethRpcModule>
and returns aVec<Methods>
instead.cc @leruaa
Additional context
No response
The text was updated successfully, but these errors were encountered: