mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-02 04:03:35 +00:00
Spec v1.7.0-alpha.6 and Gloas genesis (#9190)
Co-Authored-By: Josh King <josh@sigmaprime.io> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
@@ -623,11 +623,13 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
// For trustless building, the builder will provide the envelope separately.
|
||||
if let Some(payload_data) = payload_data {
|
||||
let beacon_block_root = block.tree_hash_root();
|
||||
let parent_beacon_block_root = block.parent_root();
|
||||
let execution_payload_envelope = ExecutionPayloadEnvelope {
|
||||
payload: payload_data.payload,
|
||||
execution_requests: payload_data.execution_requests,
|
||||
builder_index: payload_data.builder_index,
|
||||
beacon_block_root,
|
||||
parent_beacon_block_root,
|
||||
};
|
||||
|
||||
let signed_envelope = SignedExecutionPayloadEnvelope {
|
||||
@@ -854,7 +856,6 @@ fn get_execution_payload_gloas<T: BeaconChainTypes>(
|
||||
let mut withdrawals_state = state.clone();
|
||||
apply_parent_execution_payload(
|
||||
&mut withdrawals_state,
|
||||
parent_bid,
|
||||
&envelope.message.execution_requests,
|
||||
spec,
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user