Introduce OpPooledTx
trait
#14635
Labels
A-block-building
Related to block building
A-op-reth
Related to Optimism and op-reth
A-tx-pool
Related to the transaction mempool
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
We need to provide op payload builder with access to conditionals and encoded bytes of transaction
reth/crates/optimism/txpool/src/transaction.rs
Lines 29 to 30 in 8c0f25d
We can solve this with an additional trait for op pooled transaction which would need to have
MaybeConditionalTransaction
andPoolTransaction
as supertraits.reth/crates/optimism/txpool/src/conditional.rs
Line 7 in 8c0f25d
Once the trait is introduced we can change bounds for
OpPayloadBuilder
to enforce itreth/crates/optimism/payload/src/builder.rs
Line 162 in 8c0f25d
TODO
trait OpPooledTx: MaybeConditionalTransaction
Additional context
No response
The text was updated successfully, but these errors were encountered: