Skip to content

Commit

Permalink
Merge pull request #1972 from lavanet/fix-non-deterministic-reported-…
Browse files Browse the repository at this point in the history
…provider-event

fix: reported provider event non-deterministic
  • Loading branch information
Yaroms authored Feb 25, 2025
2 parents 2edaafb + 28a9618 commit 8a2d890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/pairing/keeper/msg_server_relay_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ func (k EpochCuCache) updateProvidersComplainerCU(ctx sdk.Context, unresponsiveP
}
k.SetProviderEpochComplainerCuCached(ctx, epoch, unresponsiveProvider.Address, chainID, pec)

timestamp := time.Unix(unresponsiveProvider.TimestampS, 0)
timestamp := time.Unix(unresponsiveProvider.TimestampS, 0).UTC()
details := map[string]string{
"provider": unresponsiveProvider.Address,
"timestamp": timestamp.Format(time.DateTime),
"timestamp": timestamp.Format(time.RFC3339),
"disconnections": strconv.FormatUint(unresponsiveProvider.GetDisconnections(), 10),
"errors": strconv.FormatUint(unresponsiveProvider.GetErrors(), 10),
"project": project,
Expand Down

0 comments on commit 8a2d890

Please sign in to comment.