From c0d8ecd7c3951c72880e4fd47fea1740fc1ca34f Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Wed, 10 Mar 2021 08:28:29 +0100 Subject: [PATCH] remove assertion which gets tripped by interchange tests --- beacon_chain/validators/slashing_protection_v2.nim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/beacon_chain/validators/slashing_protection_v2.nim b/beacon_chain/validators/slashing_protection_v2.nim index 23fe6d3061..9d3337a7cb 100644 --- a/beacon_chain/validators/slashing_protection_v2.nim +++ b/beacon_chain/validators/slashing_protection_v2.nim @@ -1026,10 +1026,6 @@ proc pruneAttestations*( ## This is intended for interchange import. let valID = db.getOrRegisterValidator(validator) - # Overflows in 14 trillion years (minimal) or 112 trillion years (mainnet) - doAssert newMinSourceEpoch <= high(int64).uint64 - doAssert newMinTargetEpoch <= high(int64).uint64 - let status = db.sqlPruneValidatorAttestations.exec( (valID, int64 newMinSourceEpoch, int64 newMinTargetEpoch)) doAssert status.isOk(),