diff --git a/crates/storage/provider/src/providers/mod.rs b/crates/storage/provider/src/providers/mod.rs index d02c59278666a..6830508fb197c 100644 --- a/crates/storage/provider/src/providers/mod.rs +++ b/crates/storage/provider/src/providers/mod.rs @@ -124,7 +124,6 @@ impl TreeNodeTypes for T where T: ProviderNodeTypes + NodeTypesForTree {} /// This type serves as the main entry point for interacting with the blockchain and provides data /// from database storage and from the blockchain tree (pending state etc.) It is a simple wrapper /// type that holds an instance of the database and the blockchain tree. -#[allow(missing_debug_implementations)] pub struct BlockchainProvider { /// Provider type used to access the database. database: ProviderFactory, @@ -964,3 +963,9 @@ impl AccountReader for BlockchainProvider { self.database.provider()?.basic_account(address) } } + +impl fmt::Debug for BlockchainProvider { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_struct("BlockchainProvider").finish_non_exhaustive() + } +}