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

This commit is contained in:
Devon Bear 2023-03-05 07:53:17 -05:00 committed by GitHub
parent 570bcd2b18
commit 672b052f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(