perf(x/bank): 👉🥺👈 (reduce logging verbosity) (#15266)

This commit is contained in:
Devon Bear
2023-03-05 13:53:17 +01:00
committed by GitHub
parent 570bcd2b18
commit 672b052f32
+2 -2
View File
@@ -426,7 +426,7 @@ func (k BaseKeeper) MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Co
}
logger := k.Logger(ctx)
logger.Info("minted coins from module account", "amount", amounts.String(), "from", moduleName)
logger.Debug("minted coins from module account", "amount", amounts.String(), "from", moduleName)
// emit mint event
ctx.EventManager().EmitEvent(
@@ -460,7 +460,7 @@ func (k BaseKeeper) BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Co
}
logger := k.Logger(ctx)
logger.Info("burned tokens from module account", "amount", amounts.String(), "from", moduleName)
logger.Debug("burned tokens from module account", "amount", amounts.String(), "from", moduleName)
// emit burn event
ctx.EventManager().EmitEvent(