Skip to content

Commit e292da2

Browse files
authored
Merge of #8596
2 parents f6c775f + c7375e3 commit e292da2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

consensus/state_processing/src/upgrade/gloas.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ pub fn upgrade_state_to_gloas<E: EthSpec>(
7070
current_sync_committee: pre.current_sync_committee.clone(),
7171
next_sync_committee: pre.next_sync_committee.clone(),
7272
// Execution Bid
73-
latest_execution_payload_bid: ExecutionPayloadBid::default(),
73+
latest_execution_payload_bid: ExecutionPayloadBid {
74+
block_hash: pre.latest_execution_payload_header.block_hash,
75+
..Default::default()
76+
},
7477
// Capella
7578
next_withdrawal_index: pre.next_withdrawal_index,
7679
next_withdrawal_validator_index: pre.next_withdrawal_validator_index,

consensus/types/src/execution/execution_payload_bid.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub struct ExecutionPayloadBid {
1818
pub parent_block_hash: ExecutionBlockHash,
1919
pub parent_block_root: Hash256,
2020
pub block_hash: ExecutionBlockHash,
21+
pub prev_randao: Hash256,
2122
#[serde(with = "serde_utils::address_hex")]
2223
pub fee_recipient: Address,
2324
#[serde(with = "serde_utils::quoted_u64")]
@@ -27,6 +28,8 @@ pub struct ExecutionPayloadBid {
2728
pub slot: Slot,
2829
#[serde(with = "serde_utils::quoted_u64")]
2930
pub value: u64,
31+
#[serde(with = "serde_utils::quoted_u64")]
32+
pub execution_payment: u64,
3033
pub blob_kzg_commitments_root: Hash256,
3134
}
3235

0 commit comments

Comments
 (0)