Optimize SubmitAggregateSelectionProof VC action (#13711)

* Optimize `SubscribeCommitteeSubnets` VC action

* test fixes

* remove newline

* Optimize `SubmitAggregateSelectionProof`

* mock

* bzl gzl

* test fixes
This commit is contained in:
Radosław Kapka
2024-03-19 23:09:07 +09:00
committed by GitHub
parent c4f6020677
commit b692722ddf
9 changed files with 44 additions and 219 deletions

View File

@@ -84,7 +84,7 @@ func (v *validator) SubmitAggregateAndProof(ctx context.Context, slot primitives
CommitteeIndex: duty.CommitteeIndex,
PublicKey: pubKey[:],
SlotSignature: slotSig,
})
}, duty.ValidatorIndex, uint64(len(duty.Committee)))
if err != nil {
// handle grpc not found
s, ok := status.FromError(err)