pub struct OptimismExecutionPayloadEnvelopeV4 {
pub execution_payload: ExecutionPayloadV4,
pub block_value: U256,
pub blobs_bundle: BlobsBundleV1,
pub should_override_builder: bool,
pub parent_beacon_block_root: B256,
}
Expand description
This structure maps for the return value of engine_getPayload
of the beacon chain spec, for
V4.
See also: [Optimism execution payload envelope v4] https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/exec-engine.md#engine_getpayloadv4
Fields§
§execution_payload: ExecutionPayloadV4
Execution payload V4
block_value: U256
The expected value to be received by the feeRecipient in wei
blobs_bundle: BlobsBundleV1
The blobs, commitments, and proofs associated with the executed payload.
should_override_builder: bool
Introduced in V3, this represents a suggestion from the execution layer if the payload should be used instead of an externally provided one.
parent_beacon_block_root: B256
Ecotone parent beacon block root
Trait Implementations§
source§impl Clone for OptimismExecutionPayloadEnvelopeV4
impl Clone for OptimismExecutionPayloadEnvelopeV4
source§fn clone(&self) -> OptimismExecutionPayloadEnvelopeV4
fn clone(&self) -> OptimismExecutionPayloadEnvelopeV4
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'de> Deserialize<'de> for OptimismExecutionPayloadEnvelopeV4
impl<'de> Deserialize<'de> for OptimismExecutionPayloadEnvelopeV4
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for OptimismExecutionPayloadEnvelopeV4
impl PartialEq for OptimismExecutionPayloadEnvelopeV4
source§fn eq(&self, other: &OptimismExecutionPayloadEnvelopeV4) -> bool
fn eq(&self, other: &OptimismExecutionPayloadEnvelopeV4) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for OptimismExecutionPayloadEnvelopeV4
impl StructuralPartialEq for OptimismExecutionPayloadEnvelopeV4
Auto Trait Implementations§
impl !Freeze for OptimismExecutionPayloadEnvelopeV4
impl RefUnwindSafe for OptimismExecutionPayloadEnvelopeV4
impl Send for OptimismExecutionPayloadEnvelopeV4
impl Sync for OptimismExecutionPayloadEnvelopeV4
impl Unpin for OptimismExecutionPayloadEnvelopeV4
impl UnwindSafe for OptimismExecutionPayloadEnvelopeV4
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 816 bytes