Skip to content

Commit

Permalink
build: bump go module to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Dec 17, 2024
1 parent 01c77a3 commit 32da7d8
Show file tree
Hide file tree
Showing 336 changed files with 1,834 additions and 1,834 deletions.
2 changes: 1 addition & 1 deletion ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante"
feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper"

milkywayerrors "github.com/milkyway-labs/milkyway/v3/types/errors"
milkywayerrors "github.com/milkyway-labs/milkyway/v4/types/errors"

ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
Expand Down
2 changes: 1 addition & 1 deletion ante/gov_expedited_ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"

milkywayerrors "github.com/milkyway-labs/milkyway/v3/types/errors"
milkywayerrors "github.com/milkyway-labs/milkyway/v4/types/errors"
)

var expeditedPropDecoratorEnabled = true
Expand Down
4 changes: 2 additions & 2 deletions ante/gov_expedited_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"

"github.com/milkyway-labs/milkyway/v3/ante"
"github.com/milkyway-labs/milkyway/v3/app/helpers"
"github.com/milkyway-labs/milkyway/v4/ante"
"github.com/milkyway-labs/milkyway/v4/app/helpers"
)

func TestGovExpeditedProposalsDecorator(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion ante/gov_vote_ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

milkywayerrors "github.com/milkyway-labs/milkyway/v3/types/errors"
milkywayerrors "github.com/milkyway-labs/milkyway/v4/types/errors"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions ante/gov_vote_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/milkyway-labs/milkyway/v3/ante"
"github.com/milkyway-labs/milkyway/v3/app/helpers"
"github.com/milkyway-labs/milkyway/v4/ante"
"github.com/milkyway-labs/milkyway/v4/app/helpers"
)

// Test that the GovVoteDecorator rejects v1beta1 vote messages from accounts with less than 1 atom staked
Expand Down
6 changes: 3 additions & 3 deletions api/milkyway/restaking/v1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/milkyway/rewards/v1/messages.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/milkyway/rewards/v1/models.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/abci/abci_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

oraclepreblock "github.com/skip-mev/connect/v2/abci/preblock/oracle"

"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
)

type SetupData struct {
Expand Down
16 changes: 8 additions & 8 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ import (
feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper"
"github.com/spf13/cast"

milkywayante "github.com/milkyway-labs/milkyway/v3/ante"
milkywayabci "github.com/milkyway-labs/milkyway/v3/app/abci"
"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v3/app/upgrades"
v3 "github.com/milkyway-labs/milkyway/v3/app/upgrades/v3"
v4 "github.com/milkyway-labs/milkyway/v3/app/upgrades/v4"
_ "github.com/milkyway-labs/milkyway/v3/client/docs/statik"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/types"
milkywayante "github.com/milkyway-labs/milkyway/v4/ante"
milkywayabci "github.com/milkyway-labs/milkyway/v4/app/abci"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
"github.com/milkyway-labs/milkyway/v4/app/upgrades"
v3 "github.com/milkyway-labs/milkyway/v4/app/upgrades/v3"
v4 "github.com/milkyway-labs/milkyway/v4/app/upgrades/v4"
_ "github.com/milkyway-labs/milkyway/v4/client/docs/statik"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/types"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/stretchr/testify/require"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkywayhelpers "github.com/milkyway-labs/milkyway/v3/app/helpers"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/types"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
milkywayhelpers "github.com/milkyway-labs/milkyway/v4/app/helpers"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/types"
)

func TestMilkyWayApp_BlockedModuleAccountAddrs(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/std"

"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v3/app/params"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
"github.com/milkyway-labs/milkyway/v4/app/params"
)

// MakeEncodingConfig creates an EncodingConfig.
Expand Down
2 changes: 1 addition & 1 deletion app/genesis_account_fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

fuzz "github.com/google/gofuzz"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

func TestFuzzGenesisAccountValidate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
oracletypes "github.com/skip-mev/connect/v2/x/oracle/types"
"github.com/stretchr/testify/require"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

func TestNewDefaultGenesisState(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

// SimAppChainID hardcoded chainID for simulation
Expand Down
30 changes: 15 additions & 15 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,21 @@ import (
icsprovider "github.com/cosmos/interchain-security/v6/x/ccv/provider"
icsproviderkeeper "github.com/cosmos/interchain-security/v6/x/ccv/provider/keeper"

assetskeeper "github.com/milkyway-labs/milkyway/v3/x/assets/keeper"
assetstypes "github.com/milkyway-labs/milkyway/v3/x/assets/types"
"github.com/milkyway-labs/milkyway/v3/x/liquidvesting"
liquidvestingkeeper "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/keeper"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/types"
operatorskeeper "github.com/milkyway-labs/milkyway/v3/x/operators/keeper"
operatorstypes "github.com/milkyway-labs/milkyway/v3/x/operators/types"
poolskeeper "github.com/milkyway-labs/milkyway/v3/x/pools/keeper"
poolstypes "github.com/milkyway-labs/milkyway/v3/x/pools/types"
restakingkeeper "github.com/milkyway-labs/milkyway/v3/x/restaking/keeper"
restakingtypes "github.com/milkyway-labs/milkyway/v3/x/restaking/types"
rewardskeeper "github.com/milkyway-labs/milkyway/v3/x/rewards/keeper"
rewardstypes "github.com/milkyway-labs/milkyway/v3/x/rewards/types"
serviceskeeper "github.com/milkyway-labs/milkyway/v3/x/services/keeper"
servicestypes "github.com/milkyway-labs/milkyway/v3/x/services/types"
assetskeeper "github.com/milkyway-labs/milkyway/v4/x/assets/keeper"
assetstypes "github.com/milkyway-labs/milkyway/v4/x/assets/types"
"github.com/milkyway-labs/milkyway/v4/x/liquidvesting"
liquidvestingkeeper "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/keeper"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/types"
operatorskeeper "github.com/milkyway-labs/milkyway/v4/x/operators/keeper"
operatorstypes "github.com/milkyway-labs/milkyway/v4/x/operators/types"
poolskeeper "github.com/milkyway-labs/milkyway/v4/x/pools/keeper"
poolstypes "github.com/milkyway-labs/milkyway/v4/x/pools/types"
restakingkeeper "github.com/milkyway-labs/milkyway/v4/x/restaking/keeper"
restakingtypes "github.com/milkyway-labs/milkyway/v4/x/restaking/types"
rewardskeeper "github.com/milkyway-labs/milkyway/v4/x/rewards/keeper"
rewardstypes "github.com/milkyway-labs/milkyway/v4/x/rewards/types"
serviceskeeper "github.com/milkyway-labs/milkyway/v4/x/services/keeper"
servicestypes "github.com/milkyway-labs/milkyway/v4/x/services/types"
)

type AppKeepers struct {
Expand Down
14 changes: 7 additions & 7 deletions app/keepers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ import (

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"

assetstypes "github.com/milkyway-labs/milkyway/v3/x/assets/types"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/types"
operatorstypes "github.com/milkyway-labs/milkyway/v3/x/operators/types"
poolstypes "github.com/milkyway-labs/milkyway/v3/x/pools/types"
restakingtypes "github.com/milkyway-labs/milkyway/v3/x/restaking/types"
rewardstypes "github.com/milkyway-labs/milkyway/v3/x/rewards/types"
servicestypes "github.com/milkyway-labs/milkyway/v3/x/services/types"
assetstypes "github.com/milkyway-labs/milkyway/v4/x/assets/types"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/types"
operatorstypes "github.com/milkyway-labs/milkyway/v4/x/operators/types"
poolstypes "github.com/milkyway-labs/milkyway/v4/x/pools/types"
restakingtypes "github.com/milkyway-labs/milkyway/v4/x/restaking/types"
rewardstypes "github.com/milkyway-labs/milkyway/v4/x/rewards/types"
servicestypes "github.com/milkyway-labs/milkyway/v4/x/services/types"
)

func (appKeepers *AppKeepers) GenerateKeys() {
Expand Down
14 changes: 7 additions & 7 deletions app/keepers/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
"github.com/skip-mev/connect/v2/x/oracle"
"github.com/skip-mev/feemarket/x/feemarket"

"github.com/milkyway-labs/milkyway/v3/x/assets"
"github.com/milkyway-labs/milkyway/v3/x/liquidvesting"
"github.com/milkyway-labs/milkyway/v3/x/operators"
"github.com/milkyway-labs/milkyway/v3/x/pools"
"github.com/milkyway-labs/milkyway/v3/x/restaking"
"github.com/milkyway-labs/milkyway/v3/x/rewards"
"github.com/milkyway-labs/milkyway/v3/x/services"
"github.com/milkyway-labs/milkyway/v4/x/assets"
"github.com/milkyway-labs/milkyway/v4/x/liquidvesting"
"github.com/milkyway-labs/milkyway/v4/x/operators"
"github.com/milkyway-labs/milkyway/v4/x/pools"
"github.com/milkyway-labs/milkyway/v4/x/restaking"
"github.com/milkyway-labs/milkyway/v4/x/rewards"
"github.com/milkyway-labs/milkyway/v4/x/services"
)

var AppModuleBasics = module.NewBasicManager(
Expand Down
28 changes: 14 additions & 14 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@ import (
"github.com/CosmWasm/wasmd/x/wasm"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"

"github.com/milkyway-labs/milkyway/v3/x/assets"
assetstypes "github.com/milkyway-labs/milkyway/v3/x/assets/types"
"github.com/milkyway-labs/milkyway/v3/x/liquidvesting"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v3/x/liquidvesting/types"
"github.com/milkyway-labs/milkyway/v3/x/operators"
operatorstypes "github.com/milkyway-labs/milkyway/v3/x/operators/types"
"github.com/milkyway-labs/milkyway/v3/x/pools"
poolstypes "github.com/milkyway-labs/milkyway/v3/x/pools/types"
"github.com/milkyway-labs/milkyway/v3/x/restaking"
restakingtypes "github.com/milkyway-labs/milkyway/v3/x/restaking/types"
"github.com/milkyway-labs/milkyway/v3/x/rewards"
rewardstypes "github.com/milkyway-labs/milkyway/v3/x/rewards/types"
"github.com/milkyway-labs/milkyway/v3/x/services"
servicestypes "github.com/milkyway-labs/milkyway/v3/x/services/types"
"github.com/milkyway-labs/milkyway/v4/x/assets"
assetstypes "github.com/milkyway-labs/milkyway/v4/x/assets/types"
"github.com/milkyway-labs/milkyway/v4/x/liquidvesting"
liquidvestingtypes "github.com/milkyway-labs/milkyway/v4/x/liquidvesting/types"
"github.com/milkyway-labs/milkyway/v4/x/operators"
operatorstypes "github.com/milkyway-labs/milkyway/v4/x/operators/types"
"github.com/milkyway-labs/milkyway/v4/x/pools"
poolstypes "github.com/milkyway-labs/milkyway/v4/x/pools/types"
"github.com/milkyway-labs/milkyway/v4/x/restaking"
restakingtypes "github.com/milkyway-labs/milkyway/v4/x/restaking/types"
"github.com/milkyway-labs/milkyway/v4/x/rewards"
rewardstypes "github.com/milkyway-labs/milkyway/v4/x/rewards/types"
"github.com/milkyway-labs/milkyway/v4/x/services"
servicestypes "github.com/milkyway-labs/milkyway/v4/x/services/types"
)

var MaccPerms = map[string][]string{
Expand Down
2 changes: 1 addition & 1 deletion app/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"

"github.com/milkyway-labs/milkyway/v3/ante"
"github.com/milkyway-labs/milkyway/v4/ante"
)

// PostHandlerOptions are the options required for constructing a FeeMarket PostHandler.
Expand Down
2 changes: 1 addition & 1 deletion app/sim/sim_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

// Simulation parameter constants
Expand Down
2 changes: 1 addition & 1 deletion app/sim/sim_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

// SimulationOperations retrieves the simulation params from the provided file path
Expand Down
6 changes: 3 additions & 3 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"github.com/cosmos/cosmos-sdk/x/simulation"
simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli"

"github.com/milkyway-labs/milkyway/v3/ante"
"github.com/milkyway-labs/milkyway/v3/app/sim"
"github.com/milkyway-labs/milkyway/v4/ante"
"github.com/milkyway-labs/milkyway/v4/app/sim"

milkyway "github.com/milkyway-labs/milkyway/v3/app"
milkyway "github.com/milkyway-labs/milkyway/v4/app"
)

// AppChainID hardcoded chainID for simulation
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"

"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
)

// Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v3/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v3
import (
storetypes "cosmossdk.io/store/types"

"github.com/milkyway-labs/milkyway/v3/app/upgrades"
"github.com/milkyway-labs/milkyway/v4/app/upgrades"
)

const UpgradeName = "v3"
Expand Down
12 changes: 6 additions & 6 deletions app/upgrades/v3/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"

"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v3/utils"
operatorskeeper "github.com/milkyway-labs/milkyway/v3/x/operators/keeper"
restakingkeeper "github.com/milkyway-labs/milkyway/v3/x/restaking/keeper"
rewardskeeper "github.com/milkyway-labs/milkyway/v3/x/rewards/keeper"
serviceskeeper "github.com/milkyway-labs/milkyway/v3/x/services/keeper"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
"github.com/milkyway-labs/milkyway/v4/utils"
operatorskeeper "github.com/milkyway-labs/milkyway/v4/x/operators/keeper"
restakingkeeper "github.com/milkyway-labs/milkyway/v4/x/restaking/keeper"
rewardskeeper "github.com/milkyway-labs/milkyway/v4/x/rewards/keeper"
serviceskeeper "github.com/milkyway-labs/milkyway/v4/x/services/keeper"
)

func CreateUpgradeHandler(
Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/v3/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"

milkywayapp "github.com/milkyway-labs/milkyway/v3/app"
"github.com/milkyway-labs/milkyway/v3/app/helpers"
v3 "github.com/milkyway-labs/milkyway/v3/app/upgrades/v3"
milkywayapp "github.com/milkyway-labs/milkyway/v4/app"
"github.com/milkyway-labs/milkyway/v4/app/helpers"
v3 "github.com/milkyway-labs/milkyway/v4/app/upgrades/v3"
)

func TestUpgradeTestSuite(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v4/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v4
import (
storetypes "cosmossdk.io/store/types"

"github.com/milkyway-labs/milkyway/v3/app/upgrades"
"github.com/milkyway-labs/milkyway/v4/app/upgrades"
)

const UpgradeName = "v4"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v4/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"

"github.com/milkyway-labs/milkyway/v3/app/keepers"
"github.com/milkyway-labs/milkyway/v4/app/keepers"
)

func CreateUpgradeHandler(
Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/v4/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"

milkywayapp "github.com/milkyway-labs/milkyway/v3/app"
"github.com/milkyway-labs/milkyway/v3/app/helpers"
v4 "github.com/milkyway-labs/milkyway/v3/app/upgrades/v4"
milkywayapp "github.com/milkyway-labs/milkyway/v4/app"
"github.com/milkyway-labs/milkyway/v4/app/helpers"
v4 "github.com/milkyway-labs/milkyway/v4/app/upgrades/v4"
)

func TestUpgradeTestSuite(t *testing.T) {
Expand Down
Loading

0 comments on commit 32da7d8

Please sign in to comment.