mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-02 04:14:33 +00:00
lint fixes
This commit is contained in:
@@ -184,11 +184,13 @@ async fn prepare_payload_generic(
|
||||
// created with eth1 withdrawal credentials in the interop genesis builder.
|
||||
let consolidation_request = harness.make_switch_to_compounding_request(1);
|
||||
|
||||
let execution_requests = ExecutionRequests::<E> {
|
||||
let execution_requests = ExecutionRequests::Gloas(ExecutionRequestsGloas::<E> {
|
||||
deposits: VariableList::empty(),
|
||||
withdrawals: VariableList::empty(),
|
||||
consolidations: VariableList::new(vec![consolidation_request]).unwrap(),
|
||||
};
|
||||
builder_deposits: VariableList::empty(),
|
||||
builder_exits: VariableList::empty(),
|
||||
});
|
||||
|
||||
// Inject the execution requests into the mock EL so the next payload includes them.
|
||||
harness
|
||||
|
||||
@@ -1485,7 +1485,7 @@ async fn proposer_shuffling_changing_with_lookahead() {
|
||||
target_pubkey: validator_to_topup.pubkey,
|
||||
};
|
||||
|
||||
let execution_requests = ExecutionRequests::<E> {
|
||||
let execution_requests = ExecutionRequestsElectra::<E> {
|
||||
deposits: VariableList::new(vec![deposit_request]).unwrap(),
|
||||
withdrawals: vec![].try_into().unwrap(),
|
||||
consolidations: VariableList::new(vec![consolidation_request]).unwrap(),
|
||||
|
||||
@@ -41,13 +41,13 @@ use std::iter::Iterator;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use tokio::sync::mpsc;
|
||||
use types::data::BlobIdentifier;
|
||||
use types::{
|
||||
AttesterSlashing, ChainSpec, DataColumnSidecarList, DataColumnSubnetId, Epoch, EthSpec,
|
||||
ExecutionPayloadEnvelope, ExecutionPayloadGloas, ExecutionRequests, Hash256, MainnetEthSpec,
|
||||
ProposerSlashing, SignedAggregateAndProof, SignedBeaconBlock, SignedExecutionPayloadEnvelope,
|
||||
ExecutionPayloadEnvelope, ExecutionPayloadGloas, Hash256, MainnetEthSpec, ProposerSlashing,
|
||||
SignedAggregateAndProof, SignedBeaconBlock, SignedExecutionPayloadEnvelope,
|
||||
SignedVoluntaryExit, SingleAttestation, Slot, SubnetId,
|
||||
};
|
||||
use types::{ExecutionRequestsGloas, data::BlobIdentifier};
|
||||
|
||||
type E = MainnetEthSpec;
|
||||
type T = EphemeralHarnessType<E>;
|
||||
@@ -1967,7 +1967,7 @@ fn make_test_payload_envelope(
|
||||
slot_number: slot,
|
||||
..ExecutionPayloadGloas::default()
|
||||
},
|
||||
execution_requests: ExecutionRequests::default(),
|
||||
execution_requests: ExecutionRequestsGloas::default(),
|
||||
builder_index: 0,
|
||||
beacon_block_root,
|
||||
parent_beacon_block_root: Hash256::ZERO,
|
||||
|
||||
Reference in New Issue
Block a user