Use associated trait bound for Database Error = ProviderError #8152
Labels
A-execution
Related to the Execution and EVM
C-enhancement
New feature or request
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Describe the feature
reth/crates/evm/src/execute.rs
Line 144 in 8954ffb
ideally we can use something like
type Executor<DB: Database<Error : Into<ProviderError>>>:
instead.This currently only works on nightly, but will be stabilized:
rust-lang/rust#52662
Additional context
No response
The text was updated successfully, but these errors were encountered: