Shifted build_empty_payload method (#6078)

Co-authored-by: root <root@Arindam>
This commit is contained in:
Arindam Singh
2024-01-19 22:26:15 +00:00
committed by GitHub
parent 924ef8de2e
commit 48d07eddb4
7 changed files with 207 additions and 119 deletions

View File

@@ -16,9 +16,6 @@ use reth_rpc_types::{
/// Represents a built payload type that contains a built [SealedBlock] and can be converted into
/// engine API execution payloads.
pub trait BuiltPayload: Send + Sync + std::fmt::Debug {
/// Initializes the payload with the given initial block.
fn new(id: PayloadId, block: SealedBlock, fees: U256) -> Self;
/// Returns the built block (sealed)
fn block(&self) -> &SealedBlock;