paradigmxyz / reth

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

Convey more information about an invalid transaction #12405

Open mattsse opened 2 weeks ago

mattsse commented 2 weeks ago

Describe the feature

currently we have

https://github.com/paradigmxyz/reth/blob/9f6f63d45a1a5b9edf3087a9210e6a9170e4c1ec/crates/transaction-pool/src/traits.rs#L755-L760

which is usually invoked for several reasons:

we can add this info as additional context via an enum to mark_invalid

TODO

Additional context

No response

lean-apple commented 2 weeks ago

Hello, is it possible to work on it ?