mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-20 08:31:11 +00:00
3d13c69ef3
* `LastEpochWrittenForValidators`: Use golang if. * `SaveLastEpochsWrittenForValidators`: Refactor. * `SaveLastEpochsWrittenForValidators`: Fix when `epochByValIndex` > `batchSize`. Before this commit, `TestStore_LastEpochWrittenForValidators` works if `validatorsCount <= 10000` and stops working if `validatorsCount > 10000`. * Slasher: Detect surrounded votes in multiple batches. Fixes https://github.com/prysmaticlabs/prysm/issues/13591.