diff --git a/crates/storage/provider/src/providers/mod.rs b/crates/storage/provider/src/providers/mod.rs index 25a5df9096d9..427534d9d2de 100644 --- a/crates/storage/provider/src/providers/mod.rs +++ b/crates/storage/provider/src/providers/mod.rs @@ -35,7 +35,9 @@ use reth_primitives::{ }; use reth_prune_types::{PruneCheckpoint, PruneSegment}; use reth_stages_types::{StageCheckpoint, StageId}; -use reth_storage_api::{BlockBodyIndicesProvider, CanonChainTracker, OmmersProvider}; +use reth_storage_api::{ + BlockBodyIndicesProvider, CanonChainTracker, OmmersProvider, StateCommitmentProvider, +}; use reth_storage_errors::provider::ProviderResult; use std::{ collections::BTreeMap, @@ -255,6 +257,10 @@ impl DatabaseProviderFactory for BlockchainProvider { } } +impl StateCommitmentProvider for BlockchainProvider { + type StateCommitment = N::StateCommitment; +} + impl StaticFileProviderFactory for BlockchainProvider { fn static_file_provider(&self) -> StaticFileProvider { self.database.static_file_provider()