checkedReject > errReject for CI failure (#4909)

The `SignedContributionAndProof: invalid contribution signature` check
is sometimes hit around fork boundaries when running local testnet.
To avoid failing CI, revert this isntance to a plain `errReject` until
the underlying problem is addressed.
This commit is contained in:
Etan Kissling 2023-05-09 11:44:24 +02:00 committed by GitHub
parent 6458133f5c
commit 5b3c211285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1217,7 +1217,7 @@ proc validateContribution*(
let x = await contributionFut
case x
of BatchResult.Invalid:
return dag.checkedReject(
return errReject( # TODO Triggers in local tests around fork transition
"SignedContributionAndProof: invalid contribution signature")
of BatchResult.Timeout:
beacon_contributions_dropped_queue_full.inc()