reth
reth copied to clipboard
Use associated trait bound for Database Error = ProviderError
Describe the feature
https://github.com/paradigmxyz/reth/blob/8954ffb42333a0966d509ae470558a5d96396dbc/crates/evm/src/execute.rs#L144-L144
ideally we can use something like type Executor<DB: Database<Error : Into<Self::Error>>>: instead.
This currently only works on nightly, but will be stabilized:
https://github.com/rust-lang/rust/issues/52662
Additional context
No response