chore: rm reth-interfaces from static file (#8441)

This commit is contained in:
Matthias Seitz
2024-05-28 19:56:03 +02:00
committed by GitHub
parent c67ed1d5a9
commit 1f2b68b8ea
3 changed files with 7 additions and 10 deletions

View File

@ -30,9 +30,9 @@ rayon.workspace = true
parking_lot = { workspace = true, features = ["send_guard", "arc_lock"] }
[dev-dependencies]
reth-interfaces.workspace = true
reth-db = { workspace = true, features = ["test-utils"] }
reth-stages = { workspace = true, features = ["test-utils"] }
reth-testing-utils.workspace = true
assert_matches.workspace = true
tempfile.workspace = true

View File

@ -246,21 +246,18 @@ mod tests {
};
use assert_matches::assert_matches;
use reth_db::{database::Database, test_utils::TempDatabase, transaction::DbTx, DatabaseEnv};
use reth_interfaces::{
provider::ProviderError,
test_utils::{
generators,
generators::{random_block_range, random_receipt},
},
};
use reth_primitives::{
static_file::HighestStaticFiles, PruneModes, StaticFileSegment, B256, U256,
};
use reth_provider::{
providers::{StaticFileProvider, StaticFileWriter},
ProviderFactory, StaticFileProviderFactory,
ProviderError, ProviderFactory, StaticFileProviderFactory,
};
use reth_stages::test_utils::{StorageKind, TestStageDB};
use reth_testing_utils::{
generators,
generators::{random_block_range, random_receipt},
};
use std::{
sync::{mpsc::channel, Arc},
time::Duration,