Skip to content

Commit

Permalink
chore: amm debug logging (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Apr 29, 2024
1 parent 03b48c7 commit 2c170e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/upgrade-assure/create-validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ func createValidator(cmdPath, name, selfDelegation, moniker, pubkey, homePath, k
"tx",
"staking",
"create-validator",
"--amount", "1000000uelys",
"--amount", selfDelegation + "uelys",
"--pubkey", pubkey,
"--moniker", moniker,
"--commission-rate", "0.05",
"--commission-max-rate", "0.50",
"--commission-max-change-rate", "0.01",
"--min-self-delegation", selfDelegation,
"--min-self-delegation", "1",
"--from", name,
"--keyring-backend", keyringBackend,
"--chain-id", chainId,
Expand Down
2 changes: 1 addition & 1 deletion x/amm/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (k Keeper) EndBlocker(ctx sdk.Context) {
msgs := k.ExecuteSwapRequests(ctx)
if len(msgs) > 0 {
bz, _ := json.Marshal(msgs)
k.Logger(ctx).Info("Executed swap requests: " + string(bz))
k.Logger(ctx).Debug("Executed swap requests: " + string(bz))
}

k.ClearOutdatedSlippageTrack(ctx)
Expand Down

0 comments on commit 2c170e8

Please sign in to comment.