From 2486d1300ca3e90fe8591d1f8becd84712fe08f7 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 31 Jan 2023 13:08:41 -0600 Subject: [PATCH] bump to v12 (state breaking) --- app/app.go | 12 ++++++------ app/encoding.go | 2 +- cmd/junod/main.go | 2 +- cmd/junod/root.go | 4 ++-- go.mod | 2 +- x/mint/abci.go | 4 ++-- x/mint/client/cli/query.go | 2 +- x/mint/client/rest/grpc_query_test.go | 2 +- x/mint/client/rest/query.go | 2 +- x/mint/client/testutil/suite.go | 4 ++-- x/mint/genesis.go | 4 ++-- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/grpc_query_test.go | 4 ++-- x/mint/keeper/integration_test.go | 4 ++-- x/mint/keeper/keeper.go | 2 +- x/mint/keeper/migrator.go | 2 +- x/mint/keeper/querier.go | 2 +- x/mint/keeper/querier_test.go | 4 ++-- x/mint/migrations/v2/migrate.go | 2 +- x/mint/module.go | 10 +++++----- x/mint/module_test.go | 2 +- x/mint/simulation/decoder.go | 2 +- x/mint/simulation/decoder_test.go | 6 +++--- x/mint/simulation/genesis.go | 2 +- x/mint/simulation/genesis_test.go | 4 ++-- x/mint/simulation/params.go | 2 +- x/mint/simulation/params_test.go | 2 +- 27 files changed, 46 insertions(+), 46 deletions(-) diff --git a/app/app.go b/app/app.go index e86f5ed39..898045fdd 100644 --- a/app/app.go +++ b/app/app.go @@ -17,10 +17,10 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/CosmosContracts/juno/v11/docs" - "github.com/CosmosContracts/juno/v11/x/mint" - mintkeeper "github.com/CosmosContracts/juno/v11/x/mint/keeper" - minttypes "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/docs" + "github.com/CosmosContracts/juno/v12/x/mint" + mintkeeper "github.com/CosmosContracts/juno/v12/x/mint/keeper" + minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/client/rpc" @@ -108,8 +108,8 @@ import ( icahosttypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - encparams "github.com/CosmosContracts/juno/v11/app/params" - upgrades "github.com/CosmosContracts/juno/v11/app/upgrades" + encparams "github.com/CosmosContracts/juno/v12/app/params" + upgrades "github.com/CosmosContracts/juno/v12/app/upgrades" ) const ( diff --git a/app/encoding.go b/app/encoding.go index e99140b95..a76060b33 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -1,7 +1,7 @@ package app import ( - "github.com/CosmosContracts/juno/v11/app/params" + "github.com/CosmosContracts/juno/v12/app/params" "github.com/cosmos/cosmos-sdk/std" ) diff --git a/cmd/junod/main.go b/cmd/junod/main.go index 83ffb393f..3144a0592 100644 --- a/cmd/junod/main.go +++ b/cmd/junod/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/CosmosContracts/juno/v11/app" + "github.com/CosmosContracts/juno/v12/app" "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" diff --git a/cmd/junod/root.go b/cmd/junod/root.go index c947c144d..334e336bb 100644 --- a/cmd/junod/root.go +++ b/cmd/junod/root.go @@ -35,8 +35,8 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v11/app" - "github.com/CosmosContracts/juno/v11/app/params" + "github.com/CosmosContracts/juno/v12/app" + "github.com/CosmosContracts/juno/v12/app/params" ) // NewRootCmd creates a new root command for junod. It is called once in the diff --git a/go.mod b/go.mod index 30f547353..7bbe69d2b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/CosmosContracts/juno/v11 +module github.com/CosmosContracts/juno/v12 go 1.19 diff --git a/x/mint/abci.go b/x/mint/abci.go index 79bff8a2b..1891a6e42 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -3,8 +3,8 @@ package mint import ( "time" - "github.com/CosmosContracts/juno/v11/x/mint/keeper" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/keeper" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 13c95685d..82a72a724 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" ) diff --git a/x/mint/client/rest/grpc_query_test.go b/x/mint/client/rest/grpc_query_test.go index adda1e62e..4d59f1708 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -14,7 +14,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - minttypes "github.com/CosmosContracts/juno/v11/x/mint/types" + minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index f94213a3b..2b033eebe 100644 --- a/x/mint/client/rest/query.go +++ b/x/mint/client/rest/query.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" ) diff --git a/x/mint/client/testutil/suite.go b/x/mint/client/testutil/suite.go index eb3eaa2e4..60bc20b61 100644 --- a/x/mint/client/testutil/suite.go +++ b/x/mint/client/testutil/suite.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/CosmosContracts/juno/v11/x/mint/client/cli" - minttypes "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/client/cli" + minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 2501a8ae9..00ea3802c 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -1,8 +1,8 @@ package mint import ( - "github.com/CosmosContracts/juno/v11/x/mint/keeper" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/keeper" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 97eb9930c..e1955564f 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/grpc_query_test.go b/x/mint/keeper/grpc_query_test.go index 9951b6f4d..a2e092c14 100644 --- a/x/mint/keeper/grpc_query_test.go +++ b/x/mint/keeper/grpc_query_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/CosmosContracts/juno/v11/app" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/app" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/integration_test.go b/x/mint/keeper/integration_test.go index 5cd7f8974..307d4c969 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -8,10 +8,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - junoapp "github.com/CosmosContracts/juno/v11/app" + junoapp "github.com/CosmosContracts/juno/v12/app" "github.com/cosmos/cosmos-sdk/simapp" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 0507db9fd..d14422dda 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/tendermint/tendermint/libs/log" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/mint/keeper/migrator.go b/x/mint/keeper/migrator.go index 24c17ee02..fa76462cf 100644 --- a/x/mint/keeper/migrator.go +++ b/x/mint/keeper/migrator.go @@ -1,7 +1,7 @@ package keeper import ( - v2 "github.com/CosmosContracts/juno/v11/x/mint/migrations/v2" + v2 "github.com/CosmosContracts/juno/v12/x/mint/migrations/v2" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/querier.go b/x/mint/keeper/querier.go index 848177430..485946f68 100644 --- a/x/mint/keeper/querier.go +++ b/x/mint/keeper/querier.go @@ -3,7 +3,7 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/mint/keeper/querier_test.go b/x/mint/keeper/querier_test.go index 06792f9a0..46ea9ed72 100644 --- a/x/mint/keeper/querier_test.go +++ b/x/mint/keeper/querier_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - keep "github.com/CosmosContracts/juno/v11/x/mint/keeper" - "github.com/CosmosContracts/juno/v11/x/mint/types" + keep "github.com/CosmosContracts/juno/v12/x/mint/keeper" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" diff --git a/x/mint/migrations/v2/migrate.go b/x/mint/migrations/v2/migrate.go index eae8a392f..fb8493bb2 100644 --- a/x/mint/migrations/v2/migrate.go +++ b/x/mint/migrations/v2/migrate.go @@ -1,7 +1,7 @@ package v2 import ( - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/module.go b/x/mint/module.go index 4c7be255b..9225474f7 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -11,11 +11,11 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v11/x/mint/client/cli" - "github.com/CosmosContracts/juno/v11/x/mint/client/rest" - "github.com/CosmosContracts/juno/v11/x/mint/keeper" - "github.com/CosmosContracts/juno/v11/x/mint/simulation" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/client/cli" + "github.com/CosmosContracts/juno/v12/x/mint/client/rest" + "github.com/CosmosContracts/juno/v12/x/mint/keeper" + "github.com/CosmosContracts/juno/v12/x/mint/simulation" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/mint/module_test.go b/x/mint/module_test.go index 16b889205..ebae08df5 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -7,7 +7,7 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/simapp" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index e20415963..e7adc5408 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" ) diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index 5f9236073..11522d62c 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v11/app" - "github.com/CosmosContracts/juno/v11/x/mint/simulation" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/app" + "github.com/CosmosContracts/juno/v12/x/mint/simulation" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" ) diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 447c8e2ca..bb7a25c9a 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -7,7 +7,7 @@ import ( "fmt" "math/rand" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" ) diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index 5d4896d2a..113582418 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v11/x/mint/simulation" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/simulation" + "github.com/CosmosContracts/juno/v12/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/simulation/params.go b/x/mint/simulation/params.go index 6ed0684f9..0e8b17bfb 100644 --- a/x/mint/simulation/params.go +++ b/x/mint/simulation/params.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/CosmosContracts/juno/v11/x/mint/types" + "github.com/CosmosContracts/juno/v12/x/mint/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" ) diff --git a/x/mint/simulation/params_test.go b/x/mint/simulation/params_test.go index ac0956e5a..b701e39e1 100644 --- a/x/mint/simulation/params_test.go +++ b/x/mint/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v11/x/mint/simulation" + "github.com/CosmosContracts/juno/v12/x/mint/simulation" ) func TestParamChangest(t *testing.T) {