File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
state_processing/src/upgrade Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments