chore: move Transaction container to reth_provider (#1238)

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
Dan Cline
2023-02-11 00:25:26 -05:00
committed by GitHub
parent b23bd7c609
commit 3d0864bbb9
25 changed files with 181 additions and 179 deletions

View File

@@ -6,20 +6,20 @@ use crate::{
dirs::{ConfigPath, DbPath, PlatformPath},
prometheus_exporter,
};
use clap::{Parser, ValueEnum};
use reth_consensus::beacon::BeaconConsensus;
use reth_downloaders::bodies::bodies::BodiesDownloaderBuilder;
use reth_net_nat::NatResolver;
use reth_primitives::ChainSpec;
use reth_provider::Transaction;
use reth_staged_sync::{
utils::{chainspec::chain_spec_value_parser, init::init_db},
Config,
};
use reth_stages::{
stages::{BodyStage, ExecutionStage, SenderRecoveryStage},
ExecInput, Stage, StageId, Transaction, UnwindInput,
ExecInput, Stage, StageId, UnwindInput,
};
use clap::{Parser, ValueEnum};
use std::{net::SocketAddr, sync::Arc};
use tracing::*;

View File

@@ -13,8 +13,9 @@ use reth_primitives::{
keccak256, Account as RethAccount, Address, ChainSpec, ForkCondition, Hardfork, JsonU256,
SealedBlock, SealedHeader, StorageEntry, H256, U256,
};
use reth_provider::Transaction;
use reth_rlp::Decodable;
use reth_stages::{stages::ExecutionStage, ExecInput, Stage, StageId, Transaction};
use reth_stages::{stages::ExecutionStage, ExecInput, Stage, StageId};
use std::{
collections::HashMap,
ffi::OsStr,