chore: use execution-types instead of provider where possible (#8971)

This commit is contained in:
Dan Cline
2024-06-19 18:42:25 -04:00
committed by GitHub
parent da49358483
commit e2b8254a3d
38 changed files with 77 additions and 46 deletions

View File

@ -22,6 +22,7 @@ reth-rpc-types.workspace = true
reth-rpc-types-compat.workspace = true
reth-evm.workspace = true
reth-evm-optimism.workspace = true
reth-execution-types.workspace = true
reth-payload-builder.workspace = true
reth-payload-primitives.workspace = true
reth-basic-payload-builder.workspace = true

View File

@ -7,6 +7,7 @@ use crate::{
use reth_basic_payload_builder::*;
use reth_chainspec::ChainSpec;
use reth_evm::ConfigureEvm;
use reth_execution_types::ExecutionOutcome;
use reth_payload_builder::error::PayloadBuilderError;
use reth_primitives::{
constants::{BEACON_NONCE, EMPTY_RECEIPTS, EMPTY_TRANSACTIONS},
@ -16,7 +17,7 @@ use reth_primitives::{
Block, Hardfork, Header, IntoRecoveredTransaction, Receipt, TxType, EMPTY_OMMER_ROOT_HASH,
U256,
};
use reth_provider::{ExecutionOutcome, StateProviderFactory};
use reth_provider::StateProviderFactory;
use reth_revm::database::StateProviderDatabase;
use reth_transaction_pool::{BestTransactionsAttributes, TransactionPool};
use revm::{