From a99edd747653dd227432b91812233d9153183c89 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Wed, 27 Sep 2023 18:31:39 +0200 Subject: [PATCH] provider: deprecate equivocation prop handle funcs --- x/ccv/provider/keeper/proposal.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/ccv/provider/keeper/proposal.go b/x/ccv/provider/keeper/proposal.go index 10a1bfa470..a89a4e1402 100644 --- a/x/ccv/provider/keeper/proposal.go +++ b/x/ccv/provider/keeper/proposal.go @@ -614,7 +614,8 @@ func (k Keeper) HandleEquivocationProposal(ctx sdk.Context, p *types.Equivocatio if !k.GetSlashLog(ctx, types.NewProviderConsAddress(ev.GetConsensusAddress(k.ConsensusAddressCodec()))) { return fmt.Errorf("no equivocation record found for validator %s", ev.GetConsensusAddress(k.ConsensusAddressCodec()).String()) } - k.evidenceKeeper.HandleEquivocationEvidence(ctx, ev) + // NOTE: REFACTOR OR REMOVE @MSalopek this is deprecated, or otherwise not aviailable in v50 + // k.evidenceKeeper.HandleEquivocationEvidence(ctx, ev) } return nil }