@@ -29,37 +29,39 @@ use alloy_rpc_types::{
29
29
Withdrawal ,
30
30
} ;
31
31
use reth:: {
32
- api:: { InvalidPayloadAttributesError , PayloadTypes } ,
33
32
builder:: {
34
33
components:: { BasicPayloadServiceBuilder , ComponentsBuilder , PayloadBuilderBuilder } ,
35
34
node:: NodeTypes ,
36
35
rpc:: { EngineValidatorBuilder , RpcAddOns } ,
37
36
BuilderContext , FullNodeTypes , Node , NodeAdapter , NodeBuilder , NodeComponentsBuilder ,
38
37
} ,
39
- primitives:: { Block , EthPrimitives , RecoveredBlock , SealedBlock , TransactionSigned } ,
40
- providers:: { EthStorage , StateProviderFactory } ,
41
38
rpc:: types:: engine:: ExecutionPayload ,
42
39
tasks:: TaskManager ,
43
- transaction_pool:: { PoolTransaction , TransactionPool } ,
44
40
} ;
45
41
use reth_basic_payload_builder:: { BuildArguments , BuildOutcome , PayloadBuilder , PayloadConfig } ;
46
- use reth_chainspec:: { Chain , ChainSpec , ChainSpecProvider } ;
47
42
use reth_engine_local:: payload:: UnsupportedLocalAttributes ;
48
- use reth_ethereum_payload_builder:: { EthereumBuilderConfig , EthereumExecutionPayloadValidator } ;
49
- use reth_node_api:: {
50
- payload:: { EngineApiMessageVersion , EngineObjectValidationError , PayloadOrAttributes } ,
51
- validate_version_specific_fields, AddOnsContext , EngineTypes , EngineValidator ,
52
- FullNodeComponents , NewPayloadError , PayloadAttributes , PayloadBuilderAttributes ,
53
- PayloadValidator ,
54
- } ;
55
- use reth_node_core:: { args:: RpcServerArgs , node_config:: NodeConfig } ;
56
- use reth_node_ethereum:: {
43
+ use reth_ethereum:: {
44
+ chainspec:: { Chain , ChainSpec , ChainSpecProvider } ,
57
45
node:: {
58
- EthereumConsensusBuilder , EthereumExecutorBuilder , EthereumNetworkBuilder ,
59
- EthereumPoolBuilder ,
46
+ api:: {
47
+ payload:: { EngineApiMessageVersion , EngineObjectValidationError , PayloadOrAttributes } ,
48
+ validate_version_specific_fields, AddOnsContext , EngineTypes , EngineValidator ,
49
+ FullNodeComponents , InvalidPayloadAttributesError , NewPayloadError , PayloadAttributes ,
50
+ PayloadBuilderAttributes , PayloadTypes , PayloadValidator ,
51
+ } ,
52
+ core:: { args:: RpcServerArgs , node_config:: NodeConfig } ,
53
+ node:: {
54
+ EthereumConsensusBuilder , EthereumExecutorBuilder , EthereumNetworkBuilder ,
55
+ EthereumPoolBuilder ,
56
+ } ,
57
+ EthEvmConfig , EthereumEthApiBuilder ,
60
58
} ,
61
- EthEvmConfig , EthereumEthApiBuilder ,
59
+ pool:: { PoolTransaction , TransactionPool } ,
60
+ primitives:: { RecoveredBlock , SealedBlock } ,
61
+ provider:: { EthStorage , StateProviderFactory } ,
62
+ Block , EthPrimitives , TransactionSigned ,
62
63
} ;
64
+ use reth_ethereum_payload_builder:: { EthereumBuilderConfig , EthereumExecutionPayloadValidator } ;
63
65
use reth_payload_builder:: { EthBuiltPayload , EthPayloadBuilderAttributes , PayloadBuilderError } ;
64
66
use reth_tracing:: { RethTracer , Tracer } ;
65
67
use reth_trie_db:: MerklePatriciaTrie ;
@@ -160,7 +162,7 @@ impl PayloadTypes for CustomEngineTypes {
160
162
161
163
fn block_to_payload (
162
164
block : SealedBlock <
163
- <<Self :: BuiltPayload as reth_node_api :: BuiltPayload >:: Primitives as reth_node_api :: NodePrimitives >:: Block ,
165
+ <<Self :: BuiltPayload as reth_ethereum :: node :: api :: BuiltPayload >:: Primitives as reth_ethereum :: node :: api :: NodePrimitives >:: Block ,
164
166
> ,
165
167
) -> ExecutionData {
166
168
let ( payload, sidecar) =
0 commit comments