Improve OP txpool batch validation #13902
Labels
A-op-reth
Related to Optimism and op-reth
C-enhancement
New feature or request
C-perf
A change motivated by improving speed, memory usage or disk footprint
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
the opvalidator currently does:
reth/crates/optimism/node/src/txpool.rs
Line 411 in 6dabd52
and delegates to the regular eth validator:
reth/crates/optimism/node/src/txpool.rs
Lines 334 to 346 in 6dabd52
this is suboptimal for batches because the eth validator is optimized for batches.
we can improve this by delegating to
reth/crates/transaction-pool/src/validate/eth.rs
Lines 498 to 499 in 6dabd52
TODO
reth/crates/optimism/node/src/txpool.rs
Line 346 in 6dabd52
cc @hai-rise
Additional context
No response
The text was updated successfully, but these errors were encountered: