Skip to content

Commit

Permalink
Merge pull request #791 from comdex-official/dd-up55
Browse files Browse the repository at this point in the history
auto lint and update make build
  • Loading branch information
dheerajkd30 authored Jun 5, 2023
2 parents a78af2f + cb2b343 commit a01b2fa
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 14 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ install: check_version go.sum

build:
go build $(BUILD_FLAGS) -o bin/comdex ./cmd/comdex
mkdir build
cp -a bin/comdex ./build/

release: install
mkdir -p release
Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1385,4 +1385,4 @@ func upgradeHandlers(upgradeInfo storetypes.UpgradeInfo, a *App, storeUpgrades *
}
}
return storeUpgrades
}
}
1 change: 0 additions & 1 deletion app/upgrades/mainnet/v11/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func CreateUpgradeHandlerV11(
icahostkeeper icahostkeeper.Keeper,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {

ctx.Logger().Info("Applying main net upgrade - v.11.5.0")

fromVM[icatypes.ModuleName] = mm.Modules[icatypes.ModuleName].ConsensusVersion()
Expand Down
1 change: 0 additions & 1 deletion app/upgrades/testnet/v11/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ func CreateUpgradeHandlerV11(
configurator module.Configurator,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {

ctx.Logger().Info("Applying test net upgrade - v.11.0.0")
return mm.RunMigrations(ctx, configurator, fromVM)
}
Expand Down
1 change: 0 additions & 1 deletion app/upgrades/testnet/v11_4/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ func CreateUpgradeHandlerV114(
assetKeeper assetkeeper.Keeper,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {

assetKeeper.SetParams(ctx, assettypes.NewParams())

ctx.Logger().Info("Applying test net upgrade - v.11.4.0")
Expand Down
3 changes: 2 additions & 1 deletion cmd/comdex/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package main
import (
"encoding/json"
"fmt"
"time"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand All @@ -12,7 +14,6 @@ import (
"github.com/spf13/cobra"
tmjson "github.com/tendermint/tendermint/libs/json"
tmtypes "github.com/tendermint/tendermint/types"
"time"
)

const flagGenesisTime = "genesis-time"
Expand Down
4 changes: 1 addition & 3 deletions x/asset/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)

var (
_ sdk.Msg = (*MsgAddAsset)(nil)
)
var _ sdk.Msg = (*MsgAddAsset)(nil)

// Message types for the liquidity module.
const (
Expand Down
8 changes: 2 additions & 6 deletions x/asset/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
)

var (
DefaultAssetRegistrationFee = sdk.NewCoin("ucmdx", sdk.NewInt(100_000_000))
)
var DefaultAssetRegistrationFee = sdk.NewCoin("ucmdx", sdk.NewInt(100_000_000))

var (
KeyAssetRegistrationFee = []byte("AssetRegistrationFee")
)
var KeyAssetRegistrationFee = []byte("AssetRegistrationFee")

var _ paramstypes.ParamSet = (*Params)(nil)

Expand Down

0 comments on commit a01b2fa

Please sign in to comment.