Skip to content

Commit 60d0024

Browse files
authored
Revert "simplify attestation lookback calculation and increase lookback on ma…" (#7753)
This reverts commit 4aab8d5.
1 parent 6232605 commit 60d0024

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

beacon_chain/consensus_object_pools/attestation_pool.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export blockchain_dag, fork_choice
2626

2727
const
2828
# TODO since deneb, this is looser (whole previous epoch)
29-
ATTESTATION_LOOKBACK = SLOTS_PER_EPOCH + MIN_ATTESTATION_INCLUSION_DELAY
29+
ATTESTATION_LOOKBACK =
30+
min(24'u64, SLOTS_PER_EPOCH) + MIN_ATTESTATION_INCLUSION_DELAY
3031
## The number of slots we'll keep track of in terms of "free" attestations
3132
## that potentially could be added to a newly created block
3233

0 commit comments

Comments
 (0)