paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.91k stars 1.16k forks source link

Track invalid transactions by sender #12136

Open mattsse opened 2 hours ago

mattsse commented 2 hours ago

Describe the feature

The docs state

https://github.com/paradigmxyz/reth/blob/87a615fe265137fab0831fb9047268addbbe4d2c/crates/transaction-pool/src/traits.rs#L748-L753

but we only track the hash here:

https://github.com/paradigmxyz/reth/blob/87a615fe265137fab0831fb9047268addbbe4d2c/crates/transaction-pool/src/pool/best.rs#L95-L98

the docs even mention this but the impl is incorrect

TODO

perhaps @greged93 ?

Additional context

No response

greged93 commented 2 hours ago

down for this yes!