Skip to content

Commit

Permalink
update tag in makefile for docker, pass new context
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Dec 23, 2022
1 parent 883a500 commit 41458eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/upgrades/v6/untombstoning.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
tmlog "github.com/tendermint/tendermint/libs/log"
)

type CosMints struct {
Expand Down Expand Up @@ -57,7 +58,8 @@ func mintLostTokens(
coin := sdk.NewCoin("uxprt", coinAmount)
coins := sdk.NewCoins(coin)

err = mintKeeper.MintCoins(ctx, coins)
// due to huge amount of log lines generated, supress logger
err = mintKeeper.MintCoins(ctx.WithLogger(tmlog.NewNopLogger()), coins)
if err != nil {
return fmt.Errorf("error minting %suxprt to %s: %+v", mintRecord.AmountUxprt, mintRecord.Address, err)
}
Expand Down
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROCESS = persistencecore
DOCKER_IMAGE_NAME = persistenceone/$(PROCESS)
DOCKER_TAG_NAME = latest
DOCKER_TAG_NAME = v6.0.0
CONTAINER_NAME = container-$(PROCESS)
DOCKER_FILE = Dockerfile

Expand Down

0 comments on commit 41458eb

Please sign in to comment.