Add an example how to use EthFilter
with just the database
#12508
Labels
C-enhancement
New feature or request
D-complex
Quite challenging from either a design or technical perspective Ask for help!
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
the endpoint impls can be useful on its own, for example user opens database and wants to fetch logs directly.
however this requires a bit more setup due to some API constraints, so we should add a new example for this that
the setup would be similar to this
reth/examples/rpc-db/src/main.rs
Line 44 in bf44c97
but use the
EthFilter::new
directly with all the necessary components and setup, like spawn the cache. the ideal example should consist ofEthFilter::new
reth/crates/rpc/rpc/src/eth/filter.rs
Lines 73 to 80 in bf44c97
Additional context
No response
The text was updated successfully, but these errors were encountered: