From dbd34b729cc20a78b023260104e1d2e8a7d06d0c Mon Sep 17 00:00:00 2001 From: stana-ethernal Date: Thu, 12 Dec 2024 16:05:22 +0100 Subject: [PATCH] make the tombstone field irrelevant for downtime infractions --- x/ccv/provider/keeper/relay.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x/ccv/provider/keeper/relay.go b/x/ccv/provider/keeper/relay.go index c8b10003b9..33a7e05e4c 100644 --- a/x/ccv/provider/keeper/relay.go +++ b/x/ccv/provider/keeper/relay.go @@ -507,15 +507,6 @@ func (k Keeper) HandleSlashPacket(ctx sdk.Context, consumerId string, data ccv.S k.Logger(ctx).Error("failed to set jail duration", "err", err.Error()) return } - - // tombstone validator - if infractionParams.Downtime.Tombstone { - if err = k.slashingKeeper.Tombstone(ctx, providerConsAddr.ToSdkConsAddr()); err != nil { - k.Logger(ctx).Error("failed to tombstone validator", "err", err.Error()) - return - } - k.Logger(ctx).Info("HandleSlashPacket - validator tombstoned", "provider cons addr", providerConsAddr.String()) - } } ctx.EventManager().EmitEvent(