Skip to content

Validator Client halts duties until selection call is finished in DV setup #16362

@KaloyanTanev

Description

@KaloyanTanev

Describe the bug

When starting a slot, Prysm VC schedules all roles for each validator here. Inside this function there is a call to check if the validator is a sync aggregator and if distributed is turn on, it makes a call to the DV for the aggregated selections.

However, if there is some issue with other validator clients in the DV (i.e.: they don't have this call implemented) and the DV cannot aggregate the signature, Prysm VC will hang for 10 seconds and only then it will timeout and continue with the other duties. This is an extreme scenario, where we will miss a potential proposal, but there might be just a case where the other DV peers are slow in replying, which will also cause slow downs for proposal and potentially for attestation duties.

One potential way of solving it is if Prysm VC always returns true on the isSyncCommitteeAggregator call in the cases of DVs. Then when the duty is performed it makes the selection calls. This will unblock other duties in the slot.

Has this worked before in a previous version?


🔬 Minimal Reproduction

No response

Error


Platform(s)

No response

What version of Prysm are you running? (Which release)

No response

Anything else relevant (validator index / public key)?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions