Fix compilation issues after merging unstable
.
This commit is contained in:
parent
7a3cb135d4
commit
1458394cd9
@ -2159,12 +2159,8 @@ async fn weak_subjectivity_sync_test(slots: Vec<Slot>, checkpoint_slot: Slot) {
|
|||||||
.map_err(|e| println!("Unable to read trusted setup file: {}", e))
|
.map_err(|e| println!("Unable to read trusted setup file: {}", e))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let mock = mock_execution_layer_from_parts(
|
let mock =
|
||||||
&harness.spec,
|
mock_execution_layer_from_parts(&harness.spec, harness.runtime.task_executor.clone(), None);
|
||||||
harness.runtime.task_executor.clone(),
|
|
||||||
None,
|
|
||||||
None,
|
|
||||||
);
|
|
||||||
|
|
||||||
// Initialise a new beacon chain from the finalized checkpoint.
|
// Initialise a new beacon chain from the finalized checkpoint.
|
||||||
// The slot clock must be set to a time ahead of the checkpoint state.
|
// The slot clock must be set to a time ahead of the checkpoint state.
|
||||||
|
@ -1491,7 +1491,7 @@ impl<T: EthSpec, Payload: AbstractExecPayload<T>> BlockContents<T, Payload> {
|
|||||||
match (Payload::block_type(), blobs) {
|
match (Payload::block_type(), blobs) {
|
||||||
(BlockType::Full, Some(blobs)) => {
|
(BlockType::Full, Some(blobs)) => {
|
||||||
Self::BlockAndBlobSidecars(BeaconBlockAndBlobSidecars {
|
Self::BlockAndBlobSidecars(BeaconBlockAndBlobSidecars {
|
||||||
block: block,
|
block,
|
||||||
blob_sidecars: blobs,
|
blob_sidecars: blobs,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user