charon
charon copied to clipboard
Fix sync committee duties in simnet for large clusters
🐞 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:
🌍 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)?