From ce68aed80c8beb3dab654fe921827994db1f9285 Mon Sep 17 00:00:00 2001 From: Alex Lynham Date: Thu, 7 Jul 2022 20:17:06 +0100 Subject: [PATCH] Bump version of SDK to get rid of upgrade handler bug, increment v7 -> v8 of Juno --- app/app.go | 8 ++++---- app/test_helpers.go | 2 +- cmd/junod/genwasm.go | 2 +- cmd/junod/main.go | 2 +- go.mod | 4 ++-- go.sum | 4 ++-- testutil/network/network.go | 2 +- testutil/simapp/simapp.go | 2 +- x/mint/abci.go | 4 ++-- x/mint/client/cli/query.go | 2 +- x/mint/client/rest/grpc_query_test.go | 4 ++-- x/mint/client/rest/query.go | 2 +- x/mint/client/testutil/cli_test.go | 2 +- x/mint/client/testutil/suite.go | 6 +++--- 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/querier.go | 2 +- x/mint/keeper/querier_test.go | 4 ++-- 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 +- 29 files changed, 49 insertions(+), 49 deletions(-) diff --git a/app/app.go b/app/app.go index 23e73886b..345f375ab 100644 --- a/app/app.go +++ b/app/app.go @@ -16,10 +16,10 @@ import ( tmos "github.com/tendermint/tendermint/libs/os" dbm "github.com/tendermint/tm-db" - "github.com/CosmosContracts/juno/v7/docs" - "github.com/CosmosContracts/juno/v7/x/mint" - mintkeeper "github.com/CosmosContracts/juno/v7/x/mint/keeper" - minttypes "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/docs" + "github.com/CosmosContracts/juno/v8/x/mint" + mintkeeper "github.com/CosmosContracts/juno/v8/x/mint/keeper" + minttypes "github.com/CosmosContracts/juno/v8/x/mint/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/client/rpc" diff --git a/app/test_helpers.go b/app/test_helpers.go index 172e9e166..6604bea70 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -9,7 +9,7 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - // junoapp "github.com/CosmosContracts/juno/v7/app" + // junoapp "github.com/CosmosContracts/juno/v8/app" "github.com/cosmos/cosmos-sdk/simapp" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/cmd/junod/genwasm.go b/cmd/junod/genwasm.go index a3c0ed665..5727881b6 100644 --- a/cmd/junod/genwasm.go +++ b/cmd/junod/genwasm.go @@ -1,7 +1,7 @@ package main import ( - "github.com/CosmosContracts/juno/v7/app" + "github.com/CosmosContracts/juno/v8/app" "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" diff --git a/cmd/junod/main.go b/cmd/junod/main.go index 18e5a7e7e..2abfa9051 100644 --- a/cmd/junod/main.go +++ b/cmd/junod/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/CosmosContracts/juno/v7/app" + "github.com/CosmosContracts/juno/v8/app" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" ) diff --git a/go.mod b/go.mod index 5fce9ebfd..9c58a3313 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ -module github.com/CosmosContracts/juno/v7 +module github.com/CosmosContracts/juno/v8 go 1.18 require ( github.com/CosmWasm/wasmd v0.27.0 - github.com/cosmos/cosmos-sdk v0.45.4 + github.com/cosmos/cosmos-sdk v0.45.6 github.com/cosmos/ibc-go/v3 v3.0.0 github.com/gogo/protobuf v1.3.3 github.com/golang/protobuf v1.5.2 diff --git a/go.sum b/go.sum index 9ce3975d7..868ecbcc0 100644 --- a/go.sum +++ b/go.sum @@ -384,8 +384,8 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44= github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU= -github.com/cosmos/cosmos-sdk v0.45.4 h1:eStDAhJdMY8n5arbBRe+OwpNeBSunxSBHp1g55ulfdA= -github.com/cosmos/cosmos-sdk v0.45.4/go.mod h1:WOqtDxN3eCCmnYLVla10xG7lEXkFjpTaqm2a2WasgCc= +github.com/cosmos/cosmos-sdk v0.45.6 h1:bnYLOcDp0cKWMLeUTTJIttq6xxRep52ulPxXC3BCfuQ= +github.com/cosmos/cosmos-sdk v0.45.6/go.mod h1:bPeeVMEtVvH3y3xAGHVbK+/CZlpaazzh77hG8ZrcJpI= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= diff --git a/testutil/network/network.go b/testutil/network/network.go index 576264a06..363bd2c8c 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -18,7 +18,7 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" - "github.com/CosmosContracts/juno/v7/app" + "github.com/CosmosContracts/juno/v8/app" ) type ( diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go index 49e0afaa2..cb4b78099 100644 --- a/testutil/simapp/simapp.go +++ b/testutil/simapp/simapp.go @@ -11,7 +11,7 @@ import ( tmtypes "github.com/tendermint/tendermint/types" tmdb "github.com/tendermint/tm-db" - "github.com/CosmosContracts/juno/v7/app" + "github.com/CosmosContracts/juno/v8/app" ) // New creates application instance with in-memory database and disabled logging. diff --git a/x/mint/abci.go b/x/mint/abci.go index b41b3e625..9171694f0 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -3,8 +3,8 @@ package mint import ( "time" - "github.com/CosmosContracts/juno/v7/x/mint/keeper" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/x/mint/keeper" + "github.com/CosmosContracts/juno/v8/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 65d8c8923..d971d3335 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 73b44b510..dd83fd169 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -14,8 +14,8 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - "github.com/CosmosContracts/juno/v7/testutil/network" - minttypes "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/testutil/network" + minttypes "github.com/CosmosContracts/juno/v8/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index e19d1df62..19c6b970e 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" ) diff --git a/x/mint/client/testutil/cli_test.go b/x/mint/client/testutil/cli_test.go index a8e4cc5a9..9daad6ce8 100644 --- a/x/mint/client/testutil/cli_test.go +++ b/x/mint/client/testutil/cli_test.go @@ -6,7 +6,7 @@ package testutil import ( "testing" - "github.com/CosmosContracts/juno/v7/testutil/network" + "github.com/CosmosContracts/juno/v8/testutil/network" "github.com/stretchr/testify/suite" ) diff --git a/x/mint/client/testutil/suite.go b/x/mint/client/testutil/suite.go index 30f288619..d50ef548d 100644 --- a/x/mint/client/testutil/suite.go +++ b/x/mint/client/testutil/suite.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/CosmosContracts/juno/v7/testutil/network" - "github.com/CosmosContracts/juno/v7/x/mint/client/cli" - minttypes "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/testutil/network" + "github.com/CosmosContracts/juno/v8/x/mint/client/cli" + minttypes "github.com/CosmosContracts/juno/v8/x/mint/types" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index cec877dca..4302dc001 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -1,8 +1,8 @@ package mint import ( - "github.com/CosmosContracts/juno/v7/x/mint/keeper" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/x/mint/keeper" + "github.com/CosmosContracts/juno/v8/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 d73c6d8f8..bf5bda617 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 ed39ac238..33cd7ef06 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/v7/app" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/app" + "github.com/CosmosContracts/juno/v8/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 e8eb27d89..3daa54e1d 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -9,10 +9,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - junoapp "github.com/CosmosContracts/juno/v7/app" + junoapp "github.com/CosmosContracts/juno/v8/app" "github.com/cosmos/cosmos-sdk/simapp" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 2c7ac085e..bd62a7693 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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/querier.go b/x/mint/keeper/querier.go index 5ca1829f4..bc316506c 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 44b3eb9fc..030944ad3 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/v7/x/mint/keeper" - "github.com/CosmosContracts/juno/v7/x/mint/types" + keep "github.com/CosmosContracts/juno/v8/x/mint/keeper" + "github.com/CosmosContracts/juno/v8/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" diff --git a/x/mint/module.go b/x/mint/module.go index 358d24a85..e713fcc7f 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/v7/x/mint/client/cli" - "github.com/CosmosContracts/juno/v7/x/mint/client/rest" - "github.com/CosmosContracts/juno/v7/x/mint/keeper" - "github.com/CosmosContracts/juno/v7/x/mint/simulation" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/x/mint/client/cli" + "github.com/CosmosContracts/juno/v8/x/mint/client/rest" + "github.com/CosmosContracts/juno/v8/x/mint/keeper" + "github.com/CosmosContracts/juno/v8/x/mint/simulation" + "github.com/CosmosContracts/juno/v8/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 6a4721643..673432945 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 5abd778c9..e22e66479 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 540b01b68..5c9e0d6ad 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" - "github.com/CosmosContracts/juno/v7/app" - "github.com/CosmosContracts/juno/v7/x/mint/simulation" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/app" + "github.com/CosmosContracts/juno/v8/x/mint/simulation" + "github.com/CosmosContracts/juno/v8/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 dc2b1eb69..b217ebb5e 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 111ec26fe..aaec1c8c0 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/v7/x/mint/simulation" - "github.com/CosmosContracts/juno/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/x/mint/simulation" + "github.com/CosmosContracts/juno/v8/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 8b3261ffb..c327a12cb 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/v7/x/mint/types" + "github.com/CosmosContracts/juno/v8/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 978b18147..dc3d04ff9 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/v7/x/mint/simulation" + "github.com/CosmosContracts/juno/v8/x/mint/simulation" ) func TestParamChangest(t *testing.T) {