Fix compilation issues after merging unstable.

This commit is contained in:
Jimmy Chen 2023-09-26 11:46:20 +10:00
parent 7a3cb135d4
commit 1458394cd9
No known key found for this signature in database
GPG Key ID: 7AAEE02659DCF690
2 changed files with 3 additions and 7 deletions

View File

@ -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))
.unwrap();
let mock = mock_execution_layer_from_parts(
&harness.spec,
harness.runtime.task_executor.clone(),
None,
None,
);
let mock =
mock_execution_layer_from_parts(&harness.spec, harness.runtime.task_executor.clone(), None);
// Initialise a new beacon chain from the finalized checkpoint.
// The slot clock must be set to a time ahead of the checkpoint state.

View File

@ -1491,7 +1491,7 @@ impl<T: EthSpec, Payload: AbstractExecPayload<T>> BlockContents<T, Payload> {
match (Payload::block_type(), blobs) {
(BlockType::Full, Some(blobs)) => {
Self::BlockAndBlobSidecars(BeaconBlockAndBlobSidecars {
block: block,
block,
blob_sidecars: blobs,
})
}