Skip to content

Commit

Permalink
add logging in total escrow migration (#3766) (#3792)
Browse files Browse the repository at this point in the history
(cherry picked from commit c5fd97d)

Co-authored-by: Carlos Rodriguez <[email protected]>
  • Loading branch information
mergify[bot] and Carlos Rodriguez authored Jun 7, 2023
1 parent 5976ad9 commit edc1a87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/apps/transfer/keeper/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ func (m Migrator) MigrateTotalEscrowForDenom(ctx sdk.Context) error {
m.keeper.SetTotalEscrowForDenom(ctx, totalEscrow)
}

logger := m.keeper.Logger(ctx)
logger.Info("successfully set total escrow for %d denominations", totalEscrowed.Len())
return nil
}

Expand Down

0 comments on commit edc1a87

Please sign in to comment.