Function try_into_block
pub fn try_into_block<T>(
value: ExecutionPayload,
sidecar: &ExecutionPayloadSidecar,
) -> Result<Block<T>, PayloadError>where
T: Decodable2718,
Expand description
Tries to create a new unsealed block from the given payload and payload sidecar.
Performs additional validation of extra_data
and base_fee_per_gas
fields.
ยงNote
The log bloom is assumed to be validated during serialization.