From f4044e3466fc51498b076f0eb35deb8a58bb62f0 Mon Sep 17 00:00:00 2001 From: tomasarrachea Date: Fri, 15 Nov 2024 11:48:15 -0300 Subject: [PATCH] remove old TODO --- services/bls_aggregation/blsagg.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/bls_aggregation/blsagg.go b/services/bls_aggregation/blsagg.go index 840b8499..4668cbbb 100644 --- a/services/bls_aggregation/blsagg.go +++ b/services/bls_aggregation/blsagg.go @@ -504,11 +504,6 @@ func (a *BlsAggregatorService) closeTaskGoroutine(taskIndex types.TaskIndex) { // verifySignature verifies that a signature is valid against the operator pubkey stored in the // operatorsAvsStateDict for that particular task -// TODO(samlaf): right now we are only checking that the *digest* is signed correctly!! -// we could be sent a signature of any kind of garbage and we would happily aggregate it -// this forces the avs code to verify that the digest is indeed the digest of a valid taskResponse -// we could take taskResponse as an interface{} and have avs code pass us a taskResponseHashFunction -// that we could use to hash and verify the taskResponse itself func (a *BlsAggregatorService) verifySignature( taskIndex types.TaskIndex, signedTaskResponseDigest types.SignedTaskResponseDigest,