Skip to content

Commit

Permalink
feat block and time log
Browse files Browse the repository at this point in the history
  • Loading branch information
alrxy committed Sep 16, 2024
1 parent a810928 commit c25b6d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/symStaking/keeper/symbiotic_state_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c25b6d5

Please sign in to comment.