diff --git a/modules/htlc/genesis_test.go b/modules/htlc/genesis_test.go index 31906f69..6b60d436 100644 --- a/modules/htlc/genesis_test.go +++ b/modules/htlc/genesis_test.go @@ -10,6 +10,7 @@ package htlc_test // "github.com/cosmos/cosmos-sdk/codec" // sdk "github.com/cosmos/cosmos-sdk/types" +// "cosmossdk.io/math" // "mods.irisnet.org/simapp" // "mods.irisnet.org/modules/htlc/keeper" @@ -76,7 +77,7 @@ package htlc_test // name: "0 deputy fees", // genState: func() *types.GenesisState { // gs := NewHTLTGenesis(suite.addrs[0]) -// gs.Params.AssetParams[0].FixedFee = sdk.ZeroInt() +// gs.Params.AssetParams[0].FixedFee = math.ZeroInt() // return gs // }, // expectPass: true, diff --git a/modules/htlc/migrations/v2/migrate_test.go b/modules/htlc/migrations/v2/migrate_test.go index a72cbfce..42623021 100644 --- a/modules/htlc/migrations/v2/migrate_test.go +++ b/modules/htlc/migrations/v2/migrate_test.go @@ -10,6 +10,7 @@ package v2_test // tmproto "github.com/cometbft/cometbft/proto/tendermint/types" // sdk "github.com/cosmos/cosmos-sdk/types" +// "cosmossdk.io/math" // "mods.irisnet.org/simapp" // v2 "mods.irisnet.org/modules/htlc/migrations/v2" @@ -29,7 +30,7 @@ package v2_test // SupplyLimit: htlctypes.SupplyLimit{ // Limit: sdk.NewInt(350000000000000), // TimeLimited: false, -// TimeBasedLimit: sdk.ZeroInt(), +// TimeBasedLimit: math.ZeroInt(), // TimePeriod: time.Hour, // }, // Active: true,