Use relaxed SealedBlock in txpool API #13223
Labels
A-sdk
Related to reth's use as a library
C-enhancement
New feature or request
S-needs-triage
This issue needs to be labelled
Describe the feature
the update fn currently expects a specific block type
reth/crates/transaction-pool/src/validate/mod.rs
Line 209 in d68d7c8
we can either solve this introducing a new associated type on the validator trait, or provide the generics on the function.
the latter would be easier but would not allow for type specific validator impls, but this should likely be fine and we can still change it later.
TODO
SealedBlock
arg generic over header+bodyAdditional context
No response
The text was updated successfully, but these errors were encountered: