mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
Shifted build_empty_payload method (#6078)
Co-authored-by: root <root@Arindam>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user