mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 14:58:31 +00:00
Re-do head_payload_status
This commit is contained in:
@@ -13,7 +13,7 @@ use execution_layer::{
|
||||
LATEST_TAG, PayloadAttributes, PayloadParameters, PayloadStatus,
|
||||
};
|
||||
use fixed_bytes::FixedBytesExtended;
|
||||
use fork_choice::ForkchoiceUpdateParameters;
|
||||
use fork_choice::{ForkchoiceUpdateParameters, PayloadStatus as FcPayloadStatus};
|
||||
use reqwest::{Client, header::CONTENT_TYPE};
|
||||
use sensitive_url::SensitiveUrl;
|
||||
use serde_json::{Value, json};
|
||||
@@ -294,6 +294,7 @@ impl<Engine: GenericExecutionEngine> TestRig<Engine> {
|
||||
let finalized_block_hash = ExecutionBlockHash::zero();
|
||||
let forkchoice_update_params = ForkchoiceUpdateParameters {
|
||||
head_root,
|
||||
head_payload_status: FcPayloadStatus::Pending,
|
||||
head_hash: Some(parent_hash),
|
||||
justified_hash: Some(justified_block_hash),
|
||||
finalized_hash: Some(finalized_block_hash),
|
||||
|
||||
Reference in New Issue
Block a user