Increase attestation cache sizes (#5135)

* increase observed attesters and aggregates cache sizes

* fix comment
This commit is contained in:
realbigsean
2024-01-29 19:32:57 -05:00
committed by GitHub
parent 64efdaf39a
commit a4fcf60bcc
2 changed files with 7 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ impl<T: EthSpec> Consts for Attestation<T> {
/// We need to keep attestations for each slot of the current epoch.
fn max_slot_capacity() -> usize {
T::slots_per_epoch() as usize
2 * T::slots_per_epoch() as usize
}
/// As a DoS protection measure, the maximum number of distinct `Attestations` or