You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently using concrete ProviderFactory to obtain DB providers in node components. This results in any generics of database provider implementations leaking into all types requiring DB access. Additionaly this affects compie times as we're becoming bottlenecked on reth-provider crate.
We can slightly change DatabaseProviderFactory trait and use it instead of ProviderFactory:
Describe the feature
We're currently using concrete
ProviderFactory
to obtain DB providers in node components. This results in any generics of database provider implementations leaking into all types requiring DB access. Additionaly this affects compie times as we're becoming bottlenecked onreth-provider
crate.We can slightly change
DatabaseProviderFactory
trait and use it instead ofProviderFactory
:reth/crates/storage/provider/src/traits/database_provider.rs
Lines 6 to 9 in 94e6939
Additional context
No response
The text was updated successfully, but these errors were encountered: