Skip to content

Commit c5fd97d

Browse files
add logging in total escrow migration (cosmos#3766)
1 parent d691751 commit c5fd97d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/apps/transfer/keeper/migrations.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ func (m Migrator) MigrateTotalEscrowForDenom(ctx sdk.Context) error {
8181
m.keeper.SetTotalEscrowForDenom(ctx, totalEscrow)
8282
}
8383

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

0 commit comments

Comments
 (0)