From 64e791be66faf7a17e4fe5e58fcf4ff897ee17f1 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Wed, 27 Jul 2022 20:14:19 +0300 Subject: [PATCH] Revert "avoid packing attestations from other forks (#3893)" This reverts commit 5dcfb0c4e7e3d8c2ab1e90ea142a98ec3a4c6137. --- beacon_chain/consensus_object_pools/attestation_pool.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beacon_chain/consensus_object_pools/attestation_pool.nim b/beacon_chain/consensus_object_pools/attestation_pool.nim index 6f21cfe6d..0d61e3b93 100644 --- a/beacon_chain/consensus_object_pools/attestation_pool.nim +++ b/beacon_chain/consensus_object_pools/attestation_pool.nim @@ -577,7 +577,8 @@ proc getAttestationsForBlock*(pool: var AttestationPool, # Attestations are checked based on the state that we're adding the # attestation to - there might have been a fork between when we first # saw the attestation and the time that we added it - if check_attestation(state.data, attestation, {}, cache).isErr(): + if not check_attestation( + state.data, attestation, {skipBlsValidation}, cache).isOk(): continue let score = attCache.score(