Manu NALEPA 3d13c69ef3
Slasher: Fix surrounded votes false negative (#13612)
* `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.
2024-02-13 15:50:33 +00:00
..
2023-03-17 18:52:56 +00:00
2024-01-23 07:54:30 +00:00
2023-03-17 18:52:56 +00:00
2023-03-17 18:52:56 +00:00
2023-03-17 18:52:56 +00:00
2023-03-17 18:52:56 +00:00
2024-01-23 07:54:30 +00:00
2023-03-17 18:52:56 +00:00