chore(util): Add reth payload util (#12590)

This commit is contained in:
Ayodeji Akinola
2024-11-16 05:39:34 +01:00
committed by GitHub
parent 02237bfa71
commit 5276093e71
14 changed files with 207 additions and 152 deletions

View File

@ -22,6 +22,7 @@ reth-rpc-types-compat.workspace = true
reth-evm.workspace = true
reth-execution-types.workspace = true
reth-payload-builder.workspace = true
reth-payload-util.workspace = true
reth-payload-primitives = { workspace = true, features = ["op"] }
reth-basic-payload-builder.workspace = true
reth-trie.workspace = true

View File

@ -16,6 +16,7 @@ use reth_optimism_chainspec::OpChainSpec;
use reth_optimism_consensus::calculate_receipt_root_no_memo_optimism;
use reth_optimism_forks::OpHardforks;
use reth_payload_primitives::{PayloadBuilderAttributes, PayloadBuilderError};
use reth_payload_util::PayloadTransactions;
use reth_primitives::{
proofs,
revm_primitives::{BlockEnv, CfgEnvWithHandlerCfg},
@ -24,7 +25,7 @@ use reth_primitives::{
use reth_provider::{ProviderError, StateProofProvider, StateProviderFactory, StateRootProvider};
use reth_revm::database::StateProviderDatabase;
use reth_transaction_pool::{
noop::NoopTransactionPool, BestTransactionsAttributes, PayloadTransactions, TransactionPool,
noop::NoopTransactionPool, BestTransactionsAttributes, TransactionPool,
};
use reth_trie::HashedPostState;
use revm::{