Revise a bit

This commit is contained in:
Tan Chee Keong
2025-04-29 15:33:18 +08:00
parent b71e40d4a6
commit 9d6d1cb654
2 changed files with 1 additions and 4 deletions

View File

@@ -469,7 +469,7 @@ impl<E: EthSpec> ProductionValidatorClient<E> {
} else {
SelectionProofConfig {
lookahead_slot: SELECTION_PROOF_SLOT_LOOKAHEAD,
computation_offset: Duration::from_secs(6),
computation_offset: slot_clock.slot_duration() / SELECTION_PROOF_SCHEDULE_DENOM,
selections_endpoint: false,
parallel_sign: false,
}

View File

@@ -351,9 +351,6 @@ pub async fn poll_sync_committee_duties<T: SlotClock + 'static, E: EthSpec>(
let sub_duties_service = duties_service.clone();
duties_service.context.executor.spawn(
async move {
// The defined config here defaults to using selections_endpoint and parallel_sign (i.e., distributed mode)
// Other DVT applications, e.g., Anchor can pass in different configs to suit different needs.
fill_in_aggregation_proofs(
sub_duties_service,
&new_pre_compute_duties,