charon icon indicating copy to clipboard operation
charon copied to clipboard

Fix sync committee duties in simnet for large clusters

Open dB2510 opened this issue 2 years ago • 1 comments

🐞 Bug Report

Description

Sync committee duties are failing in a simnet cluster with large number of validators (for ex: cluster with 100 validators).

Has this worked before in a previous version?

I don't think so.

🔬 Minimal Reproduction

Run the following command with only sync committee duties enabled:

compose new --build-local --validator-types=mock --num-validators=100 --nodes=10 --insecure-keys=true --simnet-slot-duration=6s && compose auto

🔥 Error

Here's the list of errors observed:


Peer exchanged invalid partial signature: invalid signature: beacon api domain: context deadline exceeded
Peer exchanged invalid partial signature: invalid signature: beacon api spec: context deadline exceeded
Peer exchanged invalid partial signature: invalid signature: getting slots per epoch: beacon api slots_per_epoch: context deadline exceeded

Apart from this increase in p2p ping latencies and beacon API request latency was also observed: Screenshot 2023-02-14 at 9 28 53 PM Screenshot 2023-02-14 at 9 29 08 PM

🌍 Your Environment

Operating System:

  
macOS Ventura 13.1
  

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

  
v0.13.0/bc73565
  

Anything else relevant (validator index / public key)?

dB2510 avatar Feb 14 '23 16:02 dB2510

Story Points: 5 See the discussion in Ongoing Sizing

Powered by Parabol

thomasheremans avatar Feb 22 '23 13:02 thomasheremans