From 540e90ea12729800b1bd1c5a2d2e3c4a6fcc84cf Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Tue, 30 Apr 2024 11:50:54 +0800 Subject: [PATCH] chore: fix feature code usage --- crates/katana/storage/provider/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/katana/storage/provider/src/error.rs b/crates/katana/storage/provider/src/error.rs index 531c37dfc9..a2b894ecf2 100644 --- a/crates/katana/storage/provider/src/error.rs +++ b/crates/katana/storage/provider/src/error.rs @@ -4,8 +4,6 @@ use katana_primitives::class::ClassHash; use katana_primitives::contract::{ContractAddress, StorageKey}; use katana_primitives::transaction::TxNumber; -use crate::providers::fork::backend::ForkedBackendError; - /// Possible errors returned by the storage provider. #[derive(Debug, thiserror::Error)] pub enum ProviderError { @@ -108,7 +106,7 @@ pub enum ProviderError { /// [ForkedProvider](crate::providers::fork::ForkedProvider). #[cfg(feature = "fork")] #[error(transparent)] - ForkedBackend(#[from] ForkedBackendError), + ForkedBackend(#[from] crate::providers::fork::backend::ForkedBackendError), /// Any error that is not covered by the other variants. #[error("soemthing went wrong: {0}")]