Skip to content

Commit

Permalink
add logging in total escrow migration (#3766)
Browse files Browse the repository at this point in the history
(cherry picked from commit c5fd97d)
  • Loading branch information
crodriguezvega authored and mergify[bot] committed Jun 7, 2023
1 parent 5976ad9 commit 6fbe865
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 6fbe865

Please sign in to comment.