Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions x/bank/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down