Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed May 14, 2024
1 parent ae6f20e commit 2ad4e10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/katana/storage/provider/src/test_utils.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use std::sync::Arc;

use crate::providers::db::DbProvider;
use crate::{providers::in_memory::InMemoryProvider, traits::block::BlockWriter};

use katana_db::mdbx::{test_utils, DbEnvKind};
use katana_primitives::block::{BlockHash, FinalityStatus};
use katana_primitives::class::CompiledClass;
Expand All @@ -14,6 +11,10 @@ use katana_primitives::genesis::{Genesis, GenesisClass};
use katana_primitives::utils::class::parse_compiled_class_v1;
use starknet::macros::felt;

use crate::providers::db::DbProvider;
use crate::providers::in_memory::InMemoryProvider;
use crate::traits::block::BlockWriter;

/// Creates an in-memory provider with initial states loaded for testing.
pub fn test_in_memory_provider() -> InMemoryProvider {
let provider = InMemoryProvider::new();
Expand Down

0 comments on commit 2ad4e10

Please sign in to comment.