Skip to content

Commit

Permalink
chore: fix feature code usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Apr 30, 2024
1 parent af9cdf6 commit 540e90e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/katana/storage/provider/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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}")]
Expand Down

0 comments on commit 540e90e

Please sign in to comment.