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

@ -66,6 +66,7 @@ reth-evm-ethereum.workspace = true
reth-ethereum-engine-primitives.workspace = true
reth-config.workspace = true
reth-testing-utils.workspace = true
reth-prune-types.workspace = true
assert_matches.workspace = true

View File

@ -432,11 +432,12 @@ mod tests {
use reth_network_p2p::{either::Either, test_utils::TestFullBlockClient};
use reth_primitives::{
constants::ETHEREUM_BLOCK_GAS_LIMIT, stage::StageCheckpoint, BlockBody, ChainSpecBuilder,
Header, PruneModes, SealedHeader, MAINNET,
Header, SealedHeader, MAINNET,
};
use reth_provider::{
test_utils::create_test_provider_factory_with_chain_spec, BundleStateWithReceipts,
};
use reth_prune_types::PruneModes;
use reth_stages::{test_utils::TestStages, ExecOutput, StageError};
use reth_static_file::StaticFileProducer;
use reth_tasks::TokioTaskExecutor;

View File

@ -21,12 +21,13 @@ use reth_network_p2p::{
test_utils::NoopFullBlockClient,
};
use reth_payload_builder::test_utils::spawn_test_payload_service;
use reth_primitives::{BlockNumber, ChainSpec, FinishedExExHeight, PruneModes, B256};
use reth_primitives::{BlockNumber, ChainSpec, FinishedExExHeight, B256};
use reth_provider::{
providers::BlockchainProvider, test_utils::create_test_provider_factory_with_chain_spec,
BundleStateWithReceipts, HeaderSyncMode,
};
use reth_prune::Pruner;
use reth_prune_types::PruneModes;
use reth_rpc_types::engine::{
CancunPayloadFields, ExecutionPayload, ForkchoiceState, ForkchoiceUpdated, PayloadStatus,
};