From e4a42f6e182fa43c357363361aab06f64ea04598 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 5 Sep 2023 19:45:38 +0400 Subject: [PATCH] ir/reputation: Drop no longer relevant FIXMEs They have already been resolved earlier. Closes #1147. Signed-off-by: Leonard Lyubich --- pkg/innerring/processors/reputation/handlers.go | 1 - pkg/innerring/processors/reputation/process_put.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/pkg/innerring/processors/reputation/handlers.go b/pkg/innerring/processors/reputation/handlers.go index 0ce10842b2d..fc03071ed42 100644 --- a/pkg/innerring/processors/reputation/handlers.go +++ b/pkg/innerring/processors/reputation/handlers.go @@ -12,7 +12,6 @@ func (rp *Processor) handlePutReputation(ev event.Event) { put := ev.(reputationEvent.Put) peerID := put.PeerID() - // FIXME: #1147 do not use `ToV2` method outside neofs-api-go library rp.log.Info("notification", zap.String("type", "reputation put"), zap.String("peer_id", hex.EncodeToString(peerID.PublicKey()))) diff --git a/pkg/innerring/processors/reputation/process_put.go b/pkg/innerring/processors/reputation/process_put.go index fe5918f0326..ff53781ebfd 100644 --- a/pkg/innerring/processors/reputation/process_put.go +++ b/pkg/innerring/processors/reputation/process_put.go @@ -62,7 +62,6 @@ func (rp *Processor) checkManagers(e uint64, mng apireputation.PeerID, peer apir } for _, m := range mm { - // FIXME: #1147 do not use `ToV2` method outside neofs-api-go library if bytes.Equal(mng.PublicKey(), m.PublicKey()) { return nil } @@ -81,7 +80,6 @@ func (rp *Processor) approvePutReputation(e *reputationEvent.Put) { err = rp.reputationWrp.Morph().NotarySignAndInvokeTX(nr.MainTransaction) if err != nil { - // FIXME: #1147 do not use `ToV2` method outside neofs-api-go library rp.log.Warn("can't send approval tx for reputation value", zap.String("peer_id", hex.EncodeToString(id.PublicKey())), zap.String("error", err.Error()))