mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 11:54:40 +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(),
|
||||
|
||||
Reference in New Issue
Block a user