[Feature] Make EthStateCacheService
generic over primitives
#13049
Labels
C-enhancement
New feature or request
S-blocked
This cannot more forward until something else changes
S-needs-triage
This issue needs to be labelled
Describe the feature
We need to make the cache service generic over node primitives
reth/crates/rpc/rpc-eth-types/src/cache/mod.rs
Lines 206 to 212 in 890f082
Steps:
BlockLruCache
,ReceiptsLruCache
andHeaderLruCache
helpers generic over corresponding primitives.N: NodePrimitives
generic to the type and pass it toCacheAction
and caches from step 1.N
in impl blocks, i.eProvider: BlockReader<Block = N::Block, Receipt = N::Receipt>
EthPrimitives
in the code creating and spawning the service here:reth/crates/rpc/rpc-eth-types/src/cache/mod.rs
Lines 69 to 90 in 890f082
Additional context
No response
The text was updated successfully, but these errors were encountered: