Skip to content

Commit 4aab8d5

Browse files
authored
simplify attestation lookback calculation and increase lookback on mainnet (#7727)
1 parent f58a5a9 commit 4aab8d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

beacon_chain/consensus_object_pools/attestation_pool.nim

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

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

0 commit comments

Comments
 (0)