ReceiptFileClient
generic over codec
#8145
Labels
A-cli
Related to the reth CLI
C-debt
A section of code is hard to understand or change
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
Make
ReceiptFileClient
generic over codec. This way it can be used for importing the standard receipts RLP encoding. Rn it is fixed toHackReceiptCodec
, a special codec used on testinprod-io/op-geth#1.reth/crates/net/downloaders/src/receipt_file_client.rs
Line 41 in 0ad9c78
Probably best way to do this, is add an extension trait,
FromReceiptReader
, that hasFromReader
as supertrait.Additional context
No response
The text was updated successfully, but these errors were encountered: