Skip to content

Commit

Permalink
add logging in total escrow migration (#3766)
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Jun 7, 2023
1 parent d691751 commit c5fd97d
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 @@ -81,6 +81,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 c5fd97d

Please sign in to comment.