11use alloy:: primitives:: { B256 , U256 , b256} ;
2+ use lh_eth2:: ForkVersionedResponse ;
3+ pub use lh_types:: ForkName ;
24use lh_types:: { BlindedPayload , ExecPayload , MainnetEthSpec } ;
3- pub use lh_types:: { ForkName , ForkVersionedResponse } ;
45use serde:: { Deserialize , Serialize } ;
56
67use crate :: types:: BlsPublicKey ;
78
89pub const EMPTY_TX_ROOT_HASH : B256 =
910 b256 ! ( "7ffe241ea60187fdb0187bfa22de35d1f9bed7ab061d9401fd47e34a54fbede1" ) ;
1011
11- pub type ExecutionRequests = lh_types:: execution_requests :: ExecutionRequests < MainnetEthSpec > ;
12+ pub type ExecutionRequests = lh_types:: ExecutionRequests < MainnetEthSpec > ;
1213
1314/// Request object of POST `/eth/v1/builder/blinded_blocks`
14- pub type SignedBlindedBeaconBlock =
15- lh_types:: signed_beacon_block:: SignedBlindedBeaconBlock < MainnetEthSpec > ;
15+ pub type SignedBlindedBeaconBlock = lh_types:: SignedBlindedBeaconBlock < MainnetEthSpec > ;
1616pub type BlindedBeaconBlock < ' a > =
17- lh_types:: beacon_block :: BeaconBlockRef < ' a , MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
17+ lh_types:: BeaconBlockRef < ' a , MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
1818pub type BlindedBeaconBlockElectra =
19- lh_types:: beacon_block :: BeaconBlockElectra < MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
19+ lh_types:: BeaconBlockElectra < MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
2020pub type BlindedBeaconBlockFulu =
21- lh_types:: beacon_block :: BeaconBlockFulu < MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
21+ lh_types:: BeaconBlockFulu < MainnetEthSpec , BlindedPayload < MainnetEthSpec > > ;
2222
2323pub type BlobsBundle = lh_eth2:: types:: BlobsBundle < MainnetEthSpec > ;
2424pub type PayloadAndBlobs = lh_eth2:: types:: ExecutionPayloadAndBlobs < MainnetEthSpec > ;
2525/// Response object of POST `/eth/v1/builder/blinded_blocks`
26- pub type SubmitBlindedBlockResponse = lh_types :: ForkVersionedResponse < PayloadAndBlobs > ;
26+ pub type SubmitBlindedBlockResponse = ForkVersionedResponse < PayloadAndBlobs > ;
2727
2828pub type ExecutionPayloadHeader = lh_types:: ExecutionPayloadHeader < MainnetEthSpec > ;
2929pub type ExecutionPayloadHeaderElectra = lh_types:: ExecutionPayloadHeaderElectra < MainnetEthSpec > ;
@@ -32,15 +32,15 @@ pub type ExecutionPayloadHeaderRef<'a> = lh_types::ExecutionPayloadHeaderRef<'a,
3232pub type ExecutionPayload = lh_types:: ExecutionPayload < MainnetEthSpec > ;
3333pub type ExecutionPayloadElectra = lh_types:: ExecutionPayloadElectra < MainnetEthSpec > ;
3434pub type ExecutionPayloadFulu = lh_types:: ExecutionPayloadFulu < MainnetEthSpec > ;
35- pub type SignedBuilderBid = lh_types:: builder_bid :: SignedBuilderBid < MainnetEthSpec > ;
36- pub type BuilderBid = lh_types:: builder_bid :: BuilderBid < MainnetEthSpec > ;
37- pub type BuilderBidElectra = lh_types:: builder_bid :: BuilderBidElectra < MainnetEthSpec > ;
35+ pub type SignedBuilderBid = lh_types:: SignedBuilderBid < MainnetEthSpec > ;
36+ pub type BuilderBid = lh_types:: BuilderBid < MainnetEthSpec > ;
37+ pub type BuilderBidElectra = lh_types:: BuilderBidElectra < MainnetEthSpec > ;
3838
3939/// Response object of GET
4040/// `/eth/v1/builder/header/{slot}/{parent_hash}/{pubkey}`
41- pub type GetHeaderResponse = lh_types :: ForkVersionedResponse < SignedBuilderBid > ;
41+ pub type GetHeaderResponse = ForkVersionedResponse < SignedBuilderBid > ;
4242
43- pub type KzgCommitments = lh_types:: beacon_block_body :: KzgCommitments < MainnetEthSpec > ;
43+ pub type KzgCommitments = lh_types:: KzgCommitments < MainnetEthSpec > ;
4444
4545/// Response params of GET
4646/// `/eth/v1/builder/header/{slot}/{parent_hash}/{pubkey}`
0 commit comments