Skip to content

Commit

Permalink
provider: deprecate equivocation prop handle funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Sep 27, 2023
1 parent f4003a0 commit a99edd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/ccv/provider/keeper/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a99edd7

Please sign in to comment.