docs: add missing field docs (#4446)

This commit is contained in:
Matthias Seitz
2023-08-31 16:59:22 -07:00
committed by GitHub
parent 2a771386b9
commit 89bd024668

View File

@@ -604,8 +604,11 @@ impl From<Block> for ExecutionPayloadBodyV1 {
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct PayloadAttributes {
/// Value for the `timestamp` field of the new payload
pub timestamp: U64,
/// Value for the `prevRandao` field of the new payload
pub prev_randao: H256,
/// Suggested value for the `feeRecipient` field of the new payload
pub suggested_fee_recipient: Address,
/// Array of [`Withdrawal`] enabled with V2
/// See <https://github.com/ethereum/execution-apis/blob/6452a6b194d7db269bf1dbd087a267251d3cc7f8/src/engine/shanghai.md#payloadattributesv2>