From 2a28a95cfc3782c7a177c56da1006e0d5e1b301a Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Tue, 1 Oct 2019 17:26:26 +0200 Subject: [PATCH] update test as well --- tests/spec_epoch_processing/test_process_crosslinks.nim | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/spec_epoch_processing/test_process_crosslinks.nim b/tests/spec_epoch_processing/test_process_crosslinks.nim index 4629a957a..df5f16c49 100644 --- a/tests/spec_epoch_processing/test_process_crosslinks.nim +++ b/tests/spec_epoch_processing/test_process_crosslinks.nim @@ -48,9 +48,7 @@ suite "[Unit - Spec - Epoch processing] Crosslinks " & preset(): state.add(attestation, state.slot + MIN_ATTESTATION_INCLUSION_DELAY) - # TODO: all attestations are duplicated at the moment - # pending fix of https://github.com/status-im/nim-beacon-chain/issues/361 - check: state.current_epoch_attestations.len == 2 + check: state.current_epoch_attestations.len == 1 # For sanity checks let shard = attestation.data.crosslink.shard @@ -94,9 +92,7 @@ suite "[Unit - Spec - Epoch processing] Crosslinks " & preset(): nextEpoch(state) state.add(attestation_2, state.slot + 1) - # TODO: all attestations are duplicated at the moment - # pending fix of https://github.com/status-im/nim-beacon-chain/issues/361 - check: state.previous_epoch_attestations.len == 2 + check: state.previous_epoch_attestations.len == 1 check: state.current_epoch_attestations.len == 0 var cache = get_empty_per_epoch_cache()