From c25b6d5f320eb8ea4189584fa04d28c47362c2a7 Mon Sep 17 00:00:00 2001 From: georgiypetrov Date: Mon, 16 Sep 2024 20:34:58 +0600 Subject: [PATCH] feat block and time log --- x/symStaking/keeper/symbiotic_state_change.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/symStaking/keeper/symbiotic_state_change.go b/x/symStaking/keeper/symbiotic_state_change.go index a68f19d2a..01f713093 100644 --- a/x/symStaking/keeper/symbiotic_state_change.go +++ b/x/symStaking/keeper/symbiotic_state_change.go @@ -122,6 +122,8 @@ func (k Keeper) SymbioticUpdateValidatorsPower(ctx context.Context) (string, err panic("middleware address is not set") } + k.Logger.Error("timestamp", "timestamp", k.HeaderService.HeaderInfo(ctx).Height, "height", k.HeaderService.HeaderInfo(ctx).Height) + if k.HeaderService.HeaderInfo(ctx).Height%SYMBIOTIC_SYNC_PERIOD != 0 { return "", nil }