From 2f28d1e79456d8c1a0c2b84a42146b25fa70ce4d Mon Sep 17 00:00:00 2001 From: Gurjot Date: Sun, 22 Dec 2024 18:18:42 +0530 Subject: [PATCH 1/3] fix --- internal/services/delegation.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/services/delegation.go b/internal/services/delegation.go index ce61238..05f52f5 100644 --- a/internal/services/delegation.go +++ b/internal/services/delegation.go @@ -472,6 +472,14 @@ func (s *Service) processSlashedFinalityProviderEvent( } for _, delegation := range delegations { + if !delegation.HasInclusionProof() { + log.Debug(). + Str("staking_tx", delegation.StakingTxHashHex). + Str("reason", "missing_inclusion_proof"). + Msg("skipping slashed delegation event") + continue + } + if err := s.emitUnbondingDelegationEvent(ctx, delegation); err != nil { return err } From 55f5ccc6e13cdd28761e143aa62361c6e8dee279 Mon Sep 17 00:00:00 2001 From: Gurjot Date: Sun, 22 Dec 2024 18:21:20 +0530 Subject: [PATCH 2/3] pub image --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49b0290..17d9aeb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,7 @@ on: push: branches: - 'main' + - 'gusin13/stats-fix-2' tags: - '*' From 4c02a4cc22a1fb8dd4a274f608d1cfdb141cee4b Mon Sep 17 00:00:00 2001 From: wjrjerome Date: Mon, 23 Dec 2024 11:43:52 +1100 Subject: [PATCH 3/3] remove the custom push branch in pipeline --- .github/workflows/publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 17d9aeb..49b0290 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ on: push: branches: - 'main' - - 'gusin13/stats-fix-2' tags: - '*'