chore: move primitives/prune to reth-prune-types (#8676)

This commit is contained in:
joshieDo
2024-06-07 17:24:39 +02:00
committed by GitHub
parent 977def880a
commit ade059235b
86 changed files with 268 additions and 151 deletions

View File

@ -17,6 +17,7 @@ reth-primitives.workspace = true
reth-storage-errors.workspace = true
reth-execution-errors.workspace = true
reth-consensus-common.workspace = true
reth-prune-types.workspace = true
reth-storage-api.workspace = true
reth-trie = { workspace = true, optional = true }

View File

@ -2,10 +2,8 @@
use crate::{precompile::Address, primitives::alloy_primitives::BlockNumber};
use reth_execution_errors::BlockExecutionError;
use reth_primitives::{
PruneMode, PruneModes, PruneSegmentError, Receipt, Receipts, Request, Requests,
MINIMUM_PRUNING_DISTANCE,
};
use reth_primitives::{Receipt, Receipts, Request, Requests};
use reth_prune_types::{PruneMode, PruneModes, PruneSegmentError, MINIMUM_PRUNING_DISTANCE};
use revm::db::states::bundle_state::BundleRetention;
use std::time::Duration;
use tracing::debug;