Skip to content

Commit

Permalink
Add serde "random" alias
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Mar 1, 2022
1 parent 375aa32 commit 63376bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/types/src/execution_payload_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub struct ExecutionPayloadHeader<T: EthSpec> {
pub receipts_root: Hash256,
#[serde(with = "ssz_types::serde_utils::hex_fixed_vec")]
pub logs_bloom: FixedVector<u8, T::BytesPerLogsBloom>,
#[serde(alias = "random")]
pub prev_randao: Hash256,
#[serde(with = "eth2_serde_utils::quoted_u64")]
pub block_number: u64,
Expand Down

0 comments on commit 63376bd

Please sign in to comment.