From 7c9a5bf32e23ba4366f30bef267d3c8b2a433431 Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Fri, 25 Nov 2022 18:55:40 -0500 Subject: [PATCH 01/27] Hieu/upgrade handler (#392) Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com> Co-authored-by: Jacob Gadikian --- app/app.go | 2 + app/apptesting/test_helpers.go | 3 ++ app/upgrades.go | 12 +++++ app/upgrades/v3/upgrades_test.go | 80 +++++++++++++++++++++++++++++++ app/upgrades/v4/README.md | 6 +++ app/upgrades/v4/upgrades.go | 27 +++++++++++ app/upgrades/v4/upgrades_test.go | 81 ++++++++++++++++++++++++++++++++ 7 files changed, 211 insertions(+) create mode 100644 app/upgrades/v3/upgrades_test.go create mode 100644 app/upgrades/v4/README.md create mode 100644 app/upgrades/v4/upgrades.go create mode 100644 app/upgrades/v4/upgrades_test.go diff --git a/app/app.go b/app/app.go index 20d418604..de4ad490c 100644 --- a/app/app.go +++ b/app/app.go @@ -1002,6 +1002,8 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper.Subspace(icacallbacksmoduletypes.ModuleName) // this line is used by starport scaffolding # stargate/app/paramSubspace + paramsKeeper.Subspace(claimtypes.ModuleName) + paramsKeeper.Subspace(authz.ModuleName) return paramsKeeper } diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index 985ada4b0..9ed34a800 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -2,6 +2,7 @@ package apptesting import ( "strings" + "time" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" @@ -36,6 +37,7 @@ var ( type AppTestHelper struct { suite.Suite + Context sdk.Context App *app.StrideApp HostApp *simapp.SimApp @@ -57,6 +59,7 @@ func (s *AppTestHelper) Setup() { GRPCQueryRouter: s.App.GRPCQueryRouter(), Ctx: s.Ctx(), } + s.Context = s.App.BaseApp.NewContext(false, tmtypes.Header{Height: 1, ChainID: StrideChainID, Time: time.Now().UTC()}) s.TestAccs = CreateRandomAccounts(3) s.IbcEnabled = false s.IcaAddresses = make(map[string]string) diff --git a/app/upgrades.go b/app/upgrades.go index 05ae2ddba..135a6823c 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -8,7 +8,9 @@ import ( v2 "github.com/Stride-Labs/stride/v3/app/upgrades/v2" v3 "github.com/Stride-Labs/stride/v3/app/upgrades/v3" + v4 "github.com/Stride-Labs/stride/v3/app/upgrades/v4" claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" ) func (app *StrideApp) setupUpgradeHandlers() { @@ -24,6 +26,12 @@ func (app *StrideApp) setupUpgradeHandlers() { v3.CreateUpgradeHandler(app.mm, app.configurator, app.ClaimKeeper), ) + // v4 upgrade handler + app.UpgradeKeeper.SetUpgradeHandler( + v4.UpgradeName, + v4.CreateUpgradeHandler(app.mm, app.configurator), + ) + upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() if err != nil { panic(fmt.Errorf("Failed to read upgrade info from disk: %w", err)) @@ -41,6 +49,10 @@ func (app *StrideApp) setupUpgradeHandlers() { storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{claimtypes.StoreKey}, } + case "v4": + storeUpgrades = &storetypes.StoreUpgrades{ + Added: []string{authzkeeper.StoreKey}, + } } if storeUpgrades != nil { diff --git a/app/upgrades/v3/upgrades_test.go b/app/upgrades/v3/upgrades_test.go new file mode 100644 index 000000000..0a2600a6a --- /dev/null +++ b/app/upgrades/v3/upgrades_test.go @@ -0,0 +1,80 @@ +package v3_test + +import ( + "fmt" + "testing" + + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/stretchr/testify/suite" + abci "github.com/tendermint/tendermint/abci/types" + + "github.com/Stride-Labs/stride/v3/app/apptesting" +) + +var airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} + +const dummyUpgradeHeight = 5 + +type UpgradeTestSuite struct { + apptesting.AppTestHelper +} + +func (s *UpgradeTestSuite) SetupTest() { + s.Setup() +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(UpgradeTestSuite)) +} + +func (suite *UpgradeTestSuite) TestUpgrade() { + testCases := []struct { + msg string + pre_update func() + update func() + post_update func() + expPass bool + }{ + { + "Test that upgrade does not panic", + func() { + // Create pool 1 + suite.Setup() + }, + func() { + // run upgrade + // TODO: Refactor this all into a helper fn + + suite.Context = suite.Context.WithBlockHeight(dummyUpgradeHeight - 1) + plan := upgradetypes.Plan{Name: "v3", Height: dummyUpgradeHeight} + err := suite.App.UpgradeKeeper.ScheduleUpgrade(suite.Ctx(), plan) + suite.Require().NoError(err) + _, exists := suite.App.UpgradeKeeper.GetUpgradePlan(suite.Ctx()) + suite.Require().True(exists) + + suite.Context = suite.Ctx().WithBlockHeight(dummyUpgradeHeight) + suite.Require().NotPanics(func() { + beginBlockRequest := abci.RequestBeginBlock{} + suite.App.BeginBlocker(suite.Context, beginBlockRequest) + }) + + // make sure claim record was set + for _, identifier := range airdropIdentifiers { + claimRecords := suite.App.ClaimKeeper.GetClaimRecords(suite.Context, identifier) + suite.Require().NotEqual(0, len(claimRecords)) + } + }, + func() { + }, + true, + }, + } + + for _, tc := range testCases { + suite.Run(fmt.Sprintf("Case %s", tc.msg), func() { + tc.pre_update() + tc.update() + tc.post_update() + }) + } +} diff --git a/app/upgrades/v4/README.md b/app/upgrades/v4/README.md new file mode 100644 index 000000000..2e4ed796a --- /dev/null +++ b/app/upgrades/v4/README.md @@ -0,0 +1,6 @@ +# Upgrade v4 Changelog + +1. Add authz storeKey to StoreLoader +2. Add authz & claim modules to params subspaces + + diff --git a/app/upgrades/v4/upgrades.go b/app/upgrades/v4/upgrades.go new file mode 100644 index 000000000..74db27d00 --- /dev/null +++ b/app/upgrades/v4/upgrades.go @@ -0,0 +1,27 @@ +package v4 + +import ( + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" +) + +// Note: ensure these values are properly set before running upgrade +var ( + UpgradeName = "v4" +) + +// CreateUpgradeHandler creates an SDK upgrade handler for v3 +func CreateUpgradeHandler( + mm *module.Manager, + configurator module.Configurator, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + newVm, err := mm.RunMigrations(ctx, configurator, vm) + if err != nil { + return newVm, err + } + return newVm, nil + } +} diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go new file mode 100644 index 000000000..4c3c9ee8a --- /dev/null +++ b/app/upgrades/v4/upgrades_test.go @@ -0,0 +1,81 @@ +package v4_test + +import ( + "fmt" + "testing" + + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/stretchr/testify/suite" + abci "github.com/tendermint/tendermint/abci/types" + + authz "github.com/cosmos/cosmos-sdk/x/authz" + + "github.com/Stride-Labs/stride/v3/app/apptesting" +) + +const dummyUpgradeHeight = 5 + +type UpgradeTestSuite struct { + apptesting.AppTestHelper +} + +func (s *UpgradeTestSuite) SetupTest() { + s.Setup() +} + +func TestKeeperTestSuite(t *testing.T) { + suite.Run(t, new(UpgradeTestSuite)) +} + +func (suite *UpgradeTestSuite) TestUpgrade() { + testCases := []struct { + msg string + pre_update func() + update func() + post_update func() + expPass bool + }{ + { + "Test that upgrade does not panic", + func() { + // Create pool 1 + suite.Setup() + }, + func() { + // run upgrade + // TODO: Refactor this all into a helper fn + + suite.Context = suite.Context.WithBlockHeight(dummyUpgradeHeight - 1) + plan := upgradetypes.Plan{Name: "v4", Height: dummyUpgradeHeight} + err := suite.App.UpgradeKeeper.ScheduleUpgrade(suite.Ctx(), plan) + suite.Require().NoError(err) + _, exists := suite.App.UpgradeKeeper.GetUpgradePlan(suite.Ctx()) + suite.Require().True(exists) + + suite.Context = suite.Ctx().WithBlockHeight(dummyUpgradeHeight) + suite.Require().NotPanics(func() { + beginBlockRequest := abci.RequestBeginBlock{} + suite.App.BeginBlocker(suite.Context, beginBlockRequest) + }) + + // make sure authz module was init + actGenState := suite.App.AuthzKeeper.ExportGenesis(suite.Ctx()) + expGenState := authz.DefaultGenesisState() + + suite.Require().NotNil(actGenState) + suite.Require().Equal(&expGenState, &actGenState) + }, + func() { + }, + true, + }, + } + + for _, tc := range testCases { + suite.Run(fmt.Sprintf("Case %s", tc.msg), func() { + tc.pre_update() + tc.update() + tc.post_update() + }) + } +} From a547c6aa01d792bd39b31e12c82392990929e052 Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Sun, 27 Nov 2022 17:10:56 -0500 Subject: [PATCH 02/27] V4 updated (#399) Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com> --- app/apptesting/test_helpers.go | 19 ++++++++++++++++ app/upgrades/v3/upgrades_test.go | 38 +++++++++----------------------- app/upgrades/v4/upgrades_test.go | 31 ++++++-------------------- 3 files changed, 37 insertions(+), 51 deletions(-) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index 9ed34a800..7e95a53e0 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -4,11 +4,13 @@ import ( "strings" "time" + abci "github.com/tendermint/tendermint/abci/types" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" transfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" @@ -314,3 +316,20 @@ func (s *AppTestHelper) ICS20PacketAcknowledgement() channeltypes.Acknowledgemen ack := channeltypes.NewResultAcknowledgement(s.MarshalledICS20PacketData()) return ack } + +func (s *AppTestHelper) ConfirmUpgradeSucceededs(upgradeName string, upgradeHeight int64) { + contextBeforeUpgrade := s.Ctx().WithBlockHeight(upgradeHeight - 1) + contextAtUpgrade := s.Ctx().WithBlockHeight(upgradeHeight) + + plan := upgradetypes.Plan{Name: upgradeName, Height: upgradeHeight} + err := s.App.UpgradeKeeper.ScheduleUpgrade(contextBeforeUpgrade, plan) + s.Require().NoError(err) + + plan, exists := s.App.UpgradeKeeper.GetUpgradePlan(contextBeforeUpgrade) + s.Require().True(exists) + + s.Require().NotPanics(func() { + beginBlockRequest := abci.RequestBeginBlock{} + s.App.BeginBlocker(contextAtUpgrade, beginBlockRequest) + }) + } diff --git a/app/upgrades/v3/upgrades_test.go b/app/upgrades/v3/upgrades_test.go index 0a2600a6a..1bcac0ad4 100644 --- a/app/upgrades/v3/upgrades_test.go +++ b/app/upgrades/v3/upgrades_test.go @@ -4,15 +4,13 @@ import ( "fmt" "testing" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/stretchr/testify/suite" - abci "github.com/tendermint/tendermint/abci/types" "github.com/Stride-Labs/stride/v3/app/apptesting" ) - -var airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} - +var ( + airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} +) const dummyUpgradeHeight = 5 type UpgradeTestSuite struct { @@ -30,37 +28,23 @@ func TestKeeperTestSuite(t *testing.T) { func (suite *UpgradeTestSuite) TestUpgrade() { testCases := []struct { msg string - pre_update func() + preUpdate func() update func() - post_update func() + postUpdate func() expPass bool }{ { "Test that upgrade does not panic", func() { - // Create pool 1 suite.Setup() }, func() { - // run upgrade - // TODO: Refactor this all into a helper fn - - suite.Context = suite.Context.WithBlockHeight(dummyUpgradeHeight - 1) - plan := upgradetypes.Plan{Name: "v3", Height: dummyUpgradeHeight} - err := suite.App.UpgradeKeeper.ScheduleUpgrade(suite.Ctx(), plan) - suite.Require().NoError(err) - _, exists := suite.App.UpgradeKeeper.GetUpgradePlan(suite.Ctx()) - suite.Require().True(exists) - - suite.Context = suite.Ctx().WithBlockHeight(dummyUpgradeHeight) - suite.Require().NotPanics(func() { - beginBlockRequest := abci.RequestBeginBlock{} - suite.App.BeginBlocker(suite.Context, beginBlockRequest) - }) + suite.ConfirmUpgradeSucceededs("v3", dummyUpgradeHeight) // make sure claim record was set - for _, identifier := range airdropIdentifiers { - claimRecords := suite.App.ClaimKeeper.GetClaimRecords(suite.Context, identifier) + afterCtx := suite.Ctx().WithBlockHeight(dummyUpgradeHeight) + for _, identifier := range(airdropIdentifiers) { + claimRecords := suite.App.ClaimKeeper.GetClaimRecords(afterCtx, identifier) suite.Require().NotEqual(0, len(claimRecords)) } }, @@ -72,9 +56,9 @@ func (suite *UpgradeTestSuite) TestUpgrade() { for _, tc := range testCases { suite.Run(fmt.Sprintf("Case %s", tc.msg), func() { - tc.pre_update() + tc.preUpdate() tc.update() - tc.post_update() + tc.postUpdate() }) } } diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go index 4c3c9ee8a..e5f22a1a0 100644 --- a/app/upgrades/v4/upgrades_test.go +++ b/app/upgrades/v4/upgrades_test.go @@ -4,9 +4,7 @@ import ( "fmt" "testing" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/stretchr/testify/suite" - abci "github.com/tendermint/tendermint/abci/types" authz "github.com/cosmos/cosmos-sdk/x/authz" @@ -30,38 +28,23 @@ func TestKeeperTestSuite(t *testing.T) { func (suite *UpgradeTestSuite) TestUpgrade() { testCases := []struct { msg string - pre_update func() + preUpdate func() update func() - post_update func() + postUpdate func() expPass bool }{ { "Test that upgrade does not panic", func() { - // Create pool 1 suite.Setup() }, func() { - // run upgrade - // TODO: Refactor this all into a helper fn - - suite.Context = suite.Context.WithBlockHeight(dummyUpgradeHeight - 1) - plan := upgradetypes.Plan{Name: "v4", Height: dummyUpgradeHeight} - err := suite.App.UpgradeKeeper.ScheduleUpgrade(suite.Ctx(), plan) - suite.Require().NoError(err) - _, exists := suite.App.UpgradeKeeper.GetUpgradePlan(suite.Ctx()) - suite.Require().True(exists) - - suite.Context = suite.Ctx().WithBlockHeight(dummyUpgradeHeight) - suite.Require().NotPanics(func() { - beginBlockRequest := abci.RequestBeginBlock{} - suite.App.BeginBlocker(suite.Context, beginBlockRequest) - }) + suite.ConfirmUpgradeSucceededs("v4", dummyUpgradeHeight) // make sure authz module was init - actGenState := suite.App.AuthzKeeper.ExportGenesis(suite.Ctx()) + afterCtx := suite.Ctx().WithBlockHeight(dummyUpgradeHeight) + actGenState := suite.App.AuthzKeeper.ExportGenesis(afterCtx) expGenState := authz.DefaultGenesisState() - suite.Require().NotNil(actGenState) suite.Require().Equal(&expGenState, &actGenState) }, @@ -73,9 +56,9 @@ func (suite *UpgradeTestSuite) TestUpgrade() { for _, tc := range testCases { suite.Run(fmt.Sprintf("Case %s", tc.msg), func() { - tc.pre_update() + tc.preUpdate() tc.update() - tc.post_update() + tc.postUpdate() }) } } From 77379a9c67a70ad3e2ba360cab267e0a1db32f01 Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Sun, 27 Nov 2022 17:50:20 -0500 Subject: [PATCH 03/27] v4.0.0 and changelog --- CHANGELOG.md | 11 +++++++++++ app/app.go | 2 +- cmd/strided/config/config.go | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2429fb4dd..866c94a0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v4.0.0](https://github.com/Stride-Labs/stride/releases/tag/v4.0.0) - 2022-11-27 +### On-Chain changes + + + +### Off-Chain changes + +These changes do not affect any on-chain functionality, but have been implemented since `v4.0.0`. + + + ## [v3.0.0](https://github.com/Stride-Labs/stride/releases/tag/v3.0.0) - 2022-11-18 ### On-Chain changes diff --git a/app/app.go b/app/app.go index de4ad490c..3e12a70b4 100644 --- a/app/app.go +++ b/app/app.go @@ -136,7 +136,7 @@ import ( const ( AccountAddressPrefix = "stride" Name = "stride" - Version = "3.0.0" + Version = "4.0.0" ) // this line is used by starport scaffolding # stargate/wasm/app/enabledProposals diff --git a/cmd/strided/config/config.go b/cmd/strided/config/config.go index e10f06ec9..e249bfb01 100644 --- a/cmd/strided/config/config.go +++ b/cmd/strided/config/config.go @@ -40,7 +40,7 @@ func SetupConfig() { version.AppName = "stride" version.Name = "strided" - version.Version = "v3.0.0" + version.Version = "v4.0.0" } // SetBech32Prefixes sets the global prefixes to be used when serializing addresses and public keys to Bech32 strings. From eca40f4504fd864b1235ce2c60470b3ffb3acebe Mon Sep 17 00:00:00 2001 From: sampocs Date: Sun, 27 Nov 2022 17:01:47 -0600 Subject: [PATCH 04/27] added store key instructions to readme --- app/upgrades/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/upgrades/README.md b/app/upgrades/README.md index 500342a5b..9d755de8c 100644 --- a/app/upgrades/README.md +++ b/app/upgrades/README.md @@ -66,6 +66,16 @@ func (app *StrideApp) setupUpgradeHandlers() { panic(fmt.Errorf("Failed to read upgrade info from disk: %w", err)) } ... + + // If adding a new module, add the new store keys + switch upgradeInfo.Name { + // no store upgrades + ... + case {upgradeVersion}: + storeUpgrades = &storetypes.StoreUpgrades{ + Added: []string{newmoduletypes.StoreKey}, + } + } ``` # Migrations (Only required if the state changed) From d676275de24cbab95da1de1aa14b453e33c883ab Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Mon, 28 Nov 2022 18:16:54 +0700 Subject: [PATCH 05/27] fix linter --- app/apptesting/test_helpers.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index 7e95a53e0..6cdeb855d 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -4,8 +4,8 @@ import ( "strings" "time" - abci "github.com/tendermint/tendermint/abci/types" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" + abci "github.com/tendermint/tendermint/abci/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" @@ -39,7 +39,7 @@ var ( type AppTestHelper struct { suite.Suite - Context sdk.Context + Context sdk.Context App *app.StrideApp HostApp *simapp.SimApp @@ -320,16 +320,16 @@ func (s *AppTestHelper) ICS20PacketAcknowledgement() channeltypes.Acknowledgemen func (s *AppTestHelper) ConfirmUpgradeSucceededs(upgradeName string, upgradeHeight int64) { contextBeforeUpgrade := s.Ctx().WithBlockHeight(upgradeHeight - 1) contextAtUpgrade := s.Ctx().WithBlockHeight(upgradeHeight) - + plan := upgradetypes.Plan{Name: upgradeName, Height: upgradeHeight} err := s.App.UpgradeKeeper.ScheduleUpgrade(contextBeforeUpgrade, plan) s.Require().NoError(err) - - plan, exists := s.App.UpgradeKeeper.GetUpgradePlan(contextBeforeUpgrade) + + _, exists := s.App.UpgradeKeeper.GetUpgradePlan(contextBeforeUpgrade) s.Require().True(exists) - + s.Require().NotPanics(func() { - beginBlockRequest := abci.RequestBeginBlock{} - s.App.BeginBlocker(contextAtUpgrade, beginBlockRequest) + beginBlockRequest := abci.RequestBeginBlock{} + s.App.BeginBlocker(contextAtUpgrade, beginBlockRequest) }) - } +} From 7790f15709f1245c2487f68338a19501bb04396e Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Mon, 28 Nov 2022 18:19:05 +0700 Subject: [PATCH 06/27] fix nits --- app/apptesting/test_helpers.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index 6cdeb855d..e98663dbf 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -2,7 +2,6 @@ package apptesting import ( "strings" - "time" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" abci "github.com/tendermint/tendermint/abci/types" @@ -39,7 +38,6 @@ var ( type AppTestHelper struct { suite.Suite - Context sdk.Context App *app.StrideApp HostApp *simapp.SimApp @@ -61,7 +59,6 @@ func (s *AppTestHelper) Setup() { GRPCQueryRouter: s.App.GRPCQueryRouter(), Ctx: s.Ctx(), } - s.Context = s.App.BaseApp.NewContext(false, tmtypes.Header{Height: 1, ChainID: StrideChainID, Time: time.Now().UTC()}) s.TestAccs = CreateRandomAccounts(3) s.IbcEnabled = false s.IcaAddresses = make(map[string]string) From 5a6f5ff091e3ec9f1db0dad55ea7560fa8a21225 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Mon, 28 Nov 2022 18:24:00 +0700 Subject: [PATCH 07/27] increase timeout for golangci-lint --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 856aa6a31..e450610dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,5 @@ run: - timeout: 5m + timeout: 10m disable-all: true enable: - asasalint From 1c62630216b5ecc00f3cdb845f42cda919ae8cae Mon Sep 17 00:00:00 2001 From: sampocs Date: Mon, 28 Nov 2022 13:48:56 -0600 Subject: [PATCH 08/27] changed snapshot-interval in dockernet to detect pruning issues --- scripts/init_chain.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/init_chain.sh b/scripts/init_chain.sh index 331b862b4..d64744f22 100644 --- a/scripts/init_chain.sh +++ b/scripts/init_chain.sh @@ -89,6 +89,7 @@ for (( i=1; i <= $NUM_NODES; i++ )); do sed -i -E "s|minimum-gas-prices = \".*\"|minimum-gas-prices = \"0${DENOM}\"|g" $app_toml sed -i -E '/\[api\]/,/^enable = .*$/ s/^enable = .*$/enable = true/' $app_toml sed -i -E 's|unsafe-cors = .*|unsafe-cors = true|g' $app_toml + sed -i -E "s|snapshot-interval = 0|snapshot-interval = 100|g" $app_toml sed -i -E "s|chain-id = \"\"|chain-id = \"${CHAIN_ID}\"|g" $client_toml sed -i -E "s|keyring-backend = \"os\"|keyring-backend = \"test\"|g" $client_toml From 0bd774a09d137bd1de813430fb75535f8fa8e0a3 Mon Sep 17 00:00:00 2001 From: sampocs Date: Mon, 28 Nov 2022 15:20:39 -0600 Subject: [PATCH 09/27] fixed typo in test scripts --- scripts/test-util/3.sh | 2 +- scripts/test-util/4.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/test-util/3.sh b/scripts/test-util/3.sh index 8a4acdbe2..fc24057b2 100644 --- a/scripts/test-util/3.sh +++ b/scripts/test-util/3.sh @@ -3,4 +3,4 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) source ${SCRIPT_DIR}/../vars.sh -$STRIDE_MAIN_CMD tx stakeibc redeem-stake 89 GAIA $GAIA_RECEIVER_ACCT --from ${STRIDE_VAL_PREFIX}1 -y +$STRIDE_MAIN_CMD tx stakeibc redeem-stake 89 GAIA $GAIA_RECEIVER_ADDRESS --from ${STRIDE_VAL_PREFIX}1 -y diff --git a/scripts/test-util/4.sh b/scripts/test-util/4.sh index fec083536..941ecb10c 100644 --- a/scripts/test-util/4.sh +++ b/scripts/test-util/4.sh @@ -4,7 +4,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) source ${SCRIPT_DIR}/../vars.sh # check balances before claiming redeemed stake -$GAIA_MAIN_CMD q bank balances $GAIA_RECEIVER_ACCT +$GAIA_MAIN_CMD q bank balances $GAIA_RECEIVER_ADDRESS #claim stake EPOCH=$($STRIDE_MAIN_CMD q records list-user-redemption-record | grep -Fiw 'epochNumber' | head -n 1 | grep -o -E '[0-9]+') @@ -13,4 +13,4 @@ $STRIDE_MAIN_CMD tx stakeibc claim-undelegated-tokens GAIA $EPOCH $(STRIDE_ADDRE CSLEEP 30 # check balances after claiming redeemed stake -$GAIA_MAIN_CMD q bank balances $GAIA_RECEIVER_ACCT +$GAIA_MAIN_CMD q bank balances $GAIA_RECEIVER_ADDRESS From 56b41e6326ee62a4f9a20f223df241603ba1266b Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Tue, 29 Nov 2022 08:52:18 -0500 Subject: [PATCH 10/27] v3 -> v4 --- app/upgrades/README.md | 4 ++-- proto/stride/claim/claim.proto | 2 +- proto/stride/claim/genesis.proto | 2 +- proto/stride/claim/params.proto | 2 +- proto/stride/claim/query.proto | 2 +- proto/stride/claim/tx.proto | 2 +- proto/stride/epochs/genesis.proto | 2 +- proto/stride/epochs/query.proto | 4 ++-- proto/stride/icacallbacks/callback_data.proto | 2 +- proto/stride/icacallbacks/genesis.proto | 2 +- proto/stride/icacallbacks/packet.proto | 2 +- proto/stride/icacallbacks/params.proto | 2 +- proto/stride/icacallbacks/query.proto | 2 +- proto/stride/icacallbacks/tx.proto | 2 +- proto/stride/interchainquery/v1/genesis.proto | 2 +- proto/stride/interchainquery/v1/messages.proto | 2 +- proto/stride/mint/v1beta1/genesis.proto | 2 +- proto/stride/mint/v1beta1/mint.proto | 2 +- proto/stride/mint/v1beta1/query.proto | 2 +- proto/stride/records/callbacks.proto | 2 +- proto/stride/records/genesis.proto | 2 +- proto/stride/records/query.proto | 2 +- proto/stride/stakeibc/callbacks.proto | 2 +- proto/stride/stakeibc/delegation.proto | 2 +- proto/stride/stakeibc/epoch_tracker.proto | 2 +- proto/stride/stakeibc/genesis.proto | 2 +- proto/stride/stakeibc/gov.proto | 2 +- proto/stride/stakeibc/host_zone.proto | 2 +- proto/stride/stakeibc/ica_account.proto | 2 +- proto/stride/stakeibc/min_validator_requirements.proto | 2 +- proto/stride/stakeibc/packet.proto | 2 +- proto/stride/stakeibc/params.proto | 2 +- proto/stride/stakeibc/query.proto | 2 +- proto/stride/stakeibc/tx.proto | 2 +- proto/stride/stakeibc/validator.proto | 2 +- proto/stride/vesting/tx.proto | 2 +- proto/stride/vesting/vesting.proto | 2 +- scripts/protocgen.sh | 2 +- 38 files changed, 40 insertions(+), 40 deletions(-) diff --git a/app/upgrades/README.md b/app/upgrades/README.md index 9d755de8c..e8ce754ec 100644 --- a/app/upgrades/README.md +++ b/app/upgrades/README.md @@ -115,7 +115,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - {upgradeVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{upgradeVersion}" + {upgradeVersion} "github.com/Stride-labs/stride/v4/x/records/migrations/{upgradeVersion}" ) type Migrator struct { @@ -138,7 +138,7 @@ package {upgradeVersion} import ( sdk "github.com/cosmos/cosmos-sdk/types" - {oldVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{oldVersion}" + {oldVersion} "github.com/Stride-labs/stride/v4/x/records/migrations/{oldVersion}" ) // TODO: Add migration logic to deserialize with old protos and re-serialize with new ones diff --git a/proto/stride/claim/claim.proto b/proto/stride/claim/claim.proto index cee6f9ecb..b5e21e35b 100644 --- a/proto/stride/claim/claim.proto +++ b/proto/stride/claim/claim.proto @@ -3,7 +3,7 @@ package stride.claim; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; enum Action { option (gogoproto.goproto_enum_prefix) = false; diff --git a/proto/stride/claim/genesis.proto b/proto/stride/claim/genesis.proto index e195f48e4..dfb71e443 100644 --- a/proto/stride/claim/genesis.proto +++ b/proto/stride/claim/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "stride/claim/claim.proto"; import "stride/claim/params.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; // GenesisState defines the claim module's genesis state. message GenesisState { diff --git a/proto/stride/claim/params.proto b/proto/stride/claim/params.proto index 6ae96841f..9500dfb2b 100644 --- a/proto/stride/claim/params.proto +++ b/proto/stride/claim/params.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; // Params defines the claim module's parameters. message Params { repeated Airdrop airdrops = 1; } diff --git a/proto/stride/claim/query.proto b/proto/stride/claim/query.proto index 0a03c87d0..538f37aec 100644 --- a/proto/stride/claim/query.proto +++ b/proto/stride/claim/query.proto @@ -8,7 +8,7 @@ import "stride/claim/claim.proto"; import "stride/claim/params.proto"; import "stride/vesting/vesting.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/claim/tx.proto b/proto/stride/claim/tx.proto index 52c963d8b..bde2e0312 100644 --- a/proto/stride/claim/tx.proto +++ b/proto/stride/claim/tx.proto @@ -4,7 +4,7 @@ package stride.claim; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/epochs/genesis.proto b/proto/stride/epochs/genesis.proto index caef01a5b..3d686700b 100755 --- a/proto/stride/epochs/genesis.proto +++ b/proto/stride/epochs/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; message EpochInfo { string identifier = 1; diff --git a/proto/stride/epochs/query.proto b/proto/stride/epochs/query.proto index 30d0fa2f4..bcfe84726 100644 --- a/proto/stride/epochs/query.proto +++ b/proto/stride/epochs/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/epochs/genesis.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; // Query defines the gRPC querier service. service Query { @@ -51,7 +51,7 @@ message QueryEpochInfoResponse { // import "epochs/params.proto"; // // this line is used by starport scaffolding # 1 -// option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; +// option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; // // Query defines the gRPC querier service. // service Query { diff --git a/proto/stride/icacallbacks/callback_data.proto b/proto/stride/icacallbacks/callback_data.proto index 154ec4ace..43cd0e901 100755 --- a/proto/stride/icacallbacks/callback_data.proto +++ b/proto/stride/icacallbacks/callback_data.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.icacallbacks; -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; message CallbackData { string callback_key = 1; diff --git a/proto/stride/icacallbacks/genesis.proto b/proto/stride/icacallbacks/genesis.proto index cc12bddbe..438da46e3 100755 --- a/proto/stride/icacallbacks/genesis.proto +++ b/proto/stride/icacallbacks/genesis.proto @@ -6,7 +6,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; // GenesisState defines the icacallbacks module's genesis state. message GenesisState { diff --git a/proto/stride/icacallbacks/packet.proto b/proto/stride/icacallbacks/packet.proto index c12586127..02566e4c3 100755 --- a/proto/stride/icacallbacks/packet.proto +++ b/proto/stride/icacallbacks/packet.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; message IcacallbacksPacketData { oneof packet { diff --git a/proto/stride/icacallbacks/params.proto b/proto/stride/icacallbacks/params.proto index e1a914673..720b97d17 100755 --- a/proto/stride/icacallbacks/params.proto +++ b/proto/stride/icacallbacks/params.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; } diff --git a/proto/stride/icacallbacks/query.proto b/proto/stride/icacallbacks/query.proto index d36506dbe..f90650177 100644 --- a/proto/stride/icacallbacks/query.proto +++ b/proto/stride/icacallbacks/query.proto @@ -8,7 +8,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/icacallbacks/tx.proto b/proto/stride/icacallbacks/tx.proto index 34aa210ac..03f7cb3ae 100755 --- a/proto/stride/icacallbacks/tx.proto +++ b/proto/stride/icacallbacks/tx.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/interchainquery/v1/genesis.proto b/proto/stride/interchainquery/v1/genesis.proto index abe01e9d6..d9113752b 100644 --- a/proto/stride/interchainquery/v1/genesis.proto +++ b/proto/stride/interchainquery/v1/genesis.proto @@ -4,7 +4,7 @@ package stride.interchainquery.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/interchainquery/types"; message Query { string id = 1; diff --git a/proto/stride/interchainquery/v1/messages.proto b/proto/stride/interchainquery/v1/messages.proto index 5b247b7b9..c707a5c7c 100755 --- a/proto/stride/interchainquery/v1/messages.proto +++ b/proto/stride/interchainquery/v1/messages.proto @@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto"; import "google/api/annotations.proto"; import "tendermint/crypto/proof.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/interchainquery/types"; // Msg defines the interchainquery Msg service. service Msg { diff --git a/proto/stride/mint/v1beta1/genesis.proto b/proto/stride/mint/v1beta1/genesis.proto index d3b2db8b3..139b1175f 100755 --- a/proto/stride/mint/v1beta1/genesis.proto +++ b/proto/stride/mint/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package stride.mint.v1beta1; import "gogoproto/gogo.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { diff --git a/proto/stride/mint/v1beta1/mint.proto b/proto/stride/mint/v1beta1/mint.proto index 8ce8d973a..53b853fbe 100755 --- a/proto/stride/mint/v1beta1/mint.proto +++ b/proto/stride/mint/v1beta1/mint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.mint.v1beta1; -option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; import "gogoproto/gogo.proto"; diff --git a/proto/stride/mint/v1beta1/query.proto b/proto/stride/mint/v1beta1/query.proto index 1237810c4..e8baba9e3 100755 --- a/proto/stride/mint/v1beta1/query.proto +++ b/proto/stride/mint/v1beta1/query.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; // Query provides defines the gRPC querier service. service Query { diff --git a/proto/stride/records/callbacks.proto b/proto/stride/records/callbacks.proto index f3aab20a3..a8bf00c9a 100755 --- a/proto/stride/records/callbacks.proto +++ b/proto/stride/records/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.records; -option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; // ---------------------- Transfer Callback ---------------------- // message TransferCallback { uint64 deposit_record_id = 1; } diff --git a/proto/stride/records/genesis.proto b/proto/stride/records/genesis.proto index 5d9b47191..7e0ac19f8 100644 --- a/proto/stride/records/genesis.proto +++ b/proto/stride/records/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; message UserRedemptionRecord { string id = 1; // {chain_id}.{epoch}.{sender} diff --git a/proto/stride/records/query.proto b/proto/stride/records/query.proto index 889fa205a..829ef0fea 100644 --- a/proto/stride/records/query.proto +++ b/proto/stride/records/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/records/genesis.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/callbacks.proto b/proto/stride/stakeibc/callbacks.proto index 3f012cadf..3409df01e 100644 --- a/proto/stride/stakeibc/callbacks.proto +++ b/proto/stride/stakeibc/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/stride/stakeibc/delegation.proto b/proto/stride/stakeibc/delegation.proto index 8741e4fff..e9e6830a1 100755 --- a/proto/stride/stakeibc/delegation.proto +++ b/proto/stride/stakeibc/delegation.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "stride/stakeibc/validator.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message Delegation { string delegate_acct_address = 1; diff --git a/proto/stride/stakeibc/epoch_tracker.proto b/proto/stride/stakeibc/epoch_tracker.proto index b6dfb97cd..376b2b90d 100755 --- a/proto/stride/stakeibc/epoch_tracker.proto +++ b/proto/stride/stakeibc/epoch_tracker.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message EpochTracker { string epoch_identifier = 1; diff --git a/proto/stride/stakeibc/genesis.proto b/proto/stride/stakeibc/genesis.proto index e6f81baa3..95abe251d 100644 --- a/proto/stride/stakeibc/genesis.proto +++ b/proto/stride/stakeibc/genesis.proto @@ -8,7 +8,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; // GenesisState defines the stakeibc module's genesis state. message GenesisState { diff --git a/proto/stride/stakeibc/gov.proto b/proto/stride/stakeibc/gov.proto index 92a2f5fc9..b0f621b0b 100644 --- a/proto/stride/stakeibc/gov.proto +++ b/proto/stride/stakeibc/gov.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message AddValidatorProposal { option (gogoproto.equal) = true; diff --git a/proto/stride/stakeibc/host_zone.proto b/proto/stride/stakeibc/host_zone.proto index 0351a187c..3e793731b 100755 --- a/proto/stride/stakeibc/host_zone.proto +++ b/proto/stride/stakeibc/host_zone.proto @@ -6,7 +6,7 @@ import "stride/stakeibc/ica_account.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; // next id: 19 message HostZone { diff --git a/proto/stride/stakeibc/ica_account.proto b/proto/stride/stakeibc/ica_account.proto index 78c4977cb..2d5c20840 100755 --- a/proto/stride/stakeibc/ica_account.proto +++ b/proto/stride/stakeibc/ica_account.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/delegation.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; enum ICAAccountType { DELEGATION = 0; diff --git a/proto/stride/stakeibc/min_validator_requirements.proto b/proto/stride/stakeibc/min_validator_requirements.proto index 35cedc03e..a1baef7ce 100755 --- a/proto/stride/stakeibc/min_validator_requirements.proto +++ b/proto/stride/stakeibc/min_validator_requirements.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message MinValidatorRequirements { int32 commission_rate = 1; diff --git a/proto/stride/stakeibc/packet.proto b/proto/stride/stakeibc/packet.proto index 075563b91..7c4d710d9 100755 --- a/proto/stride/stakeibc/packet.proto +++ b/proto/stride/stakeibc/packet.proto @@ -3,7 +3,7 @@ package stride.stakeibc; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message StakeibcPacketData { oneof packet { diff --git a/proto/stride/stakeibc/params.proto b/proto/stride/stakeibc/params.proto index ecdae2a73..2cf45214a 100755 --- a/proto/stride/stakeibc/params.proto +++ b/proto/stride/stakeibc/params.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; // Params defines the parameters for the module. // next id: 18 diff --git a/proto/stride/stakeibc/query.proto b/proto/stride/stakeibc/query.proto index c786b923e..25716370a 100644 --- a/proto/stride/stakeibc/query.proto +++ b/proto/stride/stakeibc/query.proto @@ -11,7 +11,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto index 4269ab80a..14b18a3a3 100755 --- a/proto/stride/stakeibc/tx.proto +++ b/proto/stride/stakeibc/tx.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/ica_account.proto"; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/stride/stakeibc/validator.proto b/proto/stride/stakeibc/validator.proto index 751090609..bff7f3843 100755 --- a/proto/stride/stakeibc/validator.proto +++ b/proto/stride/stakeibc/validator.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; message ValidatorExchangeRate { string internal_tokens_to_shares_rate = 1 [ diff --git a/proto/stride/vesting/tx.proto b/proto/stride/vesting/tx.proto index b050c087e..213bb832a 100644 --- a/proto/stride/vesting/tx.proto +++ b/proto/stride/vesting/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.vesting; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/vesting/types"; // Msg defines the bank Msg service. service Msg {} diff --git a/proto/stride/vesting/vesting.proto b/proto/stride/vesting/vesting.proto index 7cd947341..180fc03d9 100644 --- a/proto/stride/vesting/vesting.proto +++ b/proto/stride/vesting/vesting.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; +option go_package = "github.com/Stride-labs/stride/v4/x/claim/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 35d67e47d..ac61410d8 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -24,5 +24,5 @@ cd .. # move proto files to the right places # # Note: Proto files are suffixed with the current binary version. -cp -r github.com/Stride-Labs/stride/v3/* ./ +cp -r github.com/Stride-labs/stride/v4/* ./ rm -rf github.com \ No newline at end of file From 4b89d37375c134d4cf6902210b0186f3fba0e38c Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Tue, 29 Nov 2022 08:52:47 -0500 Subject: [PATCH 11/27] v3 -> v4 --- app/app.go | 54 +++++++++---------- app/apptesting/test_helpers.go | 2 +- app/upgrades.go | 8 +-- app/upgrades/v3/upgrades.go | 4 +- app/upgrades/v3/upgrades_test.go | 2 +- app/upgrades/v4/upgrades_test.go | 2 +- cmd/strided/main.go | 4 +- cmd/strided/root.go | 6 +-- go.mod | 2 +- testutil/keeper/claim.go | 4 +- testutil/keeper/epochs.go | 4 +- testutil/keeper/icacallbacks.go | 4 +- testutil/keeper/interchainquery.go | 4 +- testutil/keeper/records.go | 4 +- testutil/keeper/stakeibc.go | 4 +- testutil/network/network.go | 2 +- utils/utils.go | 4 +- x/claim/client/cli/cli_test.go | 14 ++--- x/claim/client/cli/query.go | 2 +- x/claim/client/cli/tx.go | 2 +- x/claim/client/cli/tx_claim_free_amount.go | 2 +- x/claim/client/cli/tx_create_airdrop.go | 2 +- x/claim/client/cli/tx_delete_airdrop.go | 2 +- .../client/cli/tx_set_airdrop_allocations.go | 2 +- x/claim/genesis_test.go | 6 +-- x/claim/handler.go | 4 +- x/claim/keeper/claim.go | 8 +-- x/claim/keeper/claim_test.go | 2 +- x/claim/keeper/genesis.go | 2 +- x/claim/keeper/grpc_query.go | 2 +- x/claim/keeper/hooks.go | 6 +-- x/claim/keeper/keeper.go | 2 +- x/claim/keeper/keeper_test.go | 6 +-- x/claim/keeper/msg_server.go | 2 +- x/claim/keeper/msg_server_test.go | 4 +- x/claim/keeper/params.go | 2 +- x/claim/keeper/query.go | 2 +- x/claim/module.go | 8 +-- x/claim/types/expected_keepers.go | 2 +- x/claim/types/msgs.go | 2 +- x/claim/vesting/client/cli/tx.go | 2 +- x/claim/vesting/handler.go | 2 +- x/claim/vesting/module.go | 4 +- x/claim/vesting/msg_server.go | 2 +- x/claim/vesting/types/codec.go | 2 +- x/claim/vesting/types/common_test.go | 2 +- x/claim/vesting/types/vesting_account.go | 4 +- x/claim/vesting/types/vesting_account_test.go | 2 +- x/epochs/client/cli/query.go | 2 +- x/epochs/genesis.go | 4 +- x/epochs/genesis_test.go | 8 +-- x/epochs/handler.go | 4 +- x/epochs/keeper/abci.go | 2 +- x/epochs/keeper/abci_test.go | 4 +- x/epochs/keeper/epoch.go | 2 +- x/epochs/keeper/epoch_test.go | 2 +- x/epochs/keeper/grpc_query.go | 2 +- x/epochs/keeper/grpc_query_test.go | 2 +- x/epochs/keeper/hooks.go | 2 +- x/epochs/keeper/keeper.go | 2 +- x/epochs/keeper/keeper_test.go | 4 +- x/epochs/module.go | 8 +-- x/epochs/simulation/genesis.go | 2 +- x/icacallbacks/client/cli/query.go | 2 +- .../client/cli/query_callback_data.go | 2 +- .../client/cli/query_callback_data_test.go | 8 +-- x/icacallbacks/client/cli/query_params.go | 2 +- x/icacallbacks/client/cli/tx.go | 2 +- x/icacallbacks/genesis.go | 4 +- x/icacallbacks/genesis_test.go | 8 +-- x/icacallbacks/handler.go | 4 +- x/icacallbacks/keeper/callback_data.go | 2 +- x/icacallbacks/keeper/callback_data_test.go | 8 +-- x/icacallbacks/keeper/grpc_query.go | 2 +- .../keeper/grpc_query_callback_data.go | 2 +- .../keeper/grpc_query_callback_data_test.go | 6 +-- x/icacallbacks/keeper/grpc_query_params.go | 2 +- .../keeper/grpc_query_params_test.go | 4 +- x/icacallbacks/keeper/keeper.go | 4 +- x/icacallbacks/keeper/msg_server.go | 2 +- x/icacallbacks/keeper/params.go | 2 +- x/icacallbacks/keeper/params_test.go | 4 +- x/icacallbacks/module.go | 6 +-- x/icacallbacks/module_ibc.go | 2 +- x/icacallbacks/module_simulation.go | 6 +-- x/icacallbacks/types/genesis_test.go | 2 +- x/interchainquery/genesis.go | 4 +- x/interchainquery/handler.go | 4 +- x/interchainquery/keeper/abci.go | 2 +- x/interchainquery/keeper/keeper.go | 2 +- x/interchainquery/keeper/keeper_test.go | 6 +-- x/interchainquery/keeper/msg_server.go | 2 +- .../keeper/msg_submit_query_response_test.go | 2 +- x/interchainquery/keeper/new_query_test.go | 2 +- x/interchainquery/keeper/queries.go | 2 +- x/interchainquery/module.go | 4 +- x/mint/client/cli/cli_test.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/genesis.go | 4 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/hooks.go | 4 +- x/mint/keeper/keeper.go | 2 +- x/mint/module.go | 10 ++-- x/mint/types/expected_keepers.go | 2 +- x/mint/types/params.go | 2 +- x/records/client/cli/query.go | 2 +- x/records/client/cli/query_deposit_record.go | 2 +- .../client/cli/query_deposit_record_test.go | 8 +-- .../cli/query_epoch_unbonding_record.go | 2 +- x/records/client/cli/query_params.go | 2 +- .../cli/query_user_redemption_record.go | 2 +- .../cli/query_user_redemption_record_test.go | 8 +-- x/records/client/cli/tx.go | 2 +- x/records/genesis.go | 4 +- x/records/genesis_test.go | 8 +-- x/records/handler.go | 4 +- x/records/keeper/callback_transfer.go | 2 +- x/records/keeper/callback_transfer_test.go | 6 +-- x/records/keeper/callbacks.go | 2 +- x/records/keeper/deposit_record.go | 2 +- x/records/keeper/epoch_unbonding_record.go | 4 +- .../keeper/epoch_unbonding_record_test.go | 8 +-- x/records/keeper/grpc_query.go | 2 +- x/records/keeper/grpc_query_deposit_record.go | 2 +- .../keeper/grpc_query_deposit_record_test.go | 8 +-- .../grpc_query_epoch_unbonding_record.go | 2 +- .../grpc_query_epoch_unbonding_record_test.go | 6 +-- x/records/keeper/grpc_query_params.go | 2 +- x/records/keeper/grpc_query_params_test.go | 4 +- .../grpc_query_user_redemption_record.go | 2 +- ...c_query_user_redemption_record_for_user.go | 2 +- .../grpc_query_user_redemption_record_test.go | 6 +-- x/records/keeper/keeper.go | 6 +-- x/records/keeper/keeper_test.go | 6 +-- x/records/keeper/msg_server.go | 2 +- x/records/keeper/params.go | 2 +- x/records/keeper/params_test.go | 4 +- x/records/keeper/transfer_test.go | 4 +- x/records/keeper/user_redemption_record.go | 2 +- .../keeper/user_redemption_record_test.go | 8 +-- x/records/module.go | 6 +-- x/records/module_ibc.go | 4 +- x/records/module_simulation.go | 6 +-- x/records/types/genesis_test.go | 2 +- x/stakeibc/abci.go | 4 +- x/stakeibc/client/cli/query.go | 2 +- x/stakeibc/client/cli/query_epoch_tracker.go | 2 +- .../client/cli/query_epoch_tracker_test.go | 6 +-- x/stakeibc/client/cli/query_host_zone.go | 2 +- x/stakeibc/client/cli/query_ica_account.go | 2 +- .../client/cli/query_ica_account_test.go | 8 +-- x/stakeibc/client/cli/query_module_address.go | 2 +- x/stakeibc/client/cli/query_params.go | 2 +- x/stakeibc/client/cli/query_register_ica.go | 2 +- x/stakeibc/client/cli/query_validator.go | 2 +- x/stakeibc/client/cli/tx.go | 2 +- x/stakeibc/client/cli/tx_add_validator.go | 2 +- .../client/cli/tx_add_validator_proposal.go | 2 +- .../client/cli/tx_change_validator_weight.go | 2 +- .../client/cli/tx_claim_undelegated_tokens.go | 2 +- x/stakeibc/client/cli/tx_clear_balance.go | 2 +- x/stakeibc/client/cli/tx_delete_validator.go | 2 +- x/stakeibc/client/cli/tx_liquid_stake.go | 2 +- .../client/cli/tx_rebalance_validators.go | 2 +- x/stakeibc/client/cli/tx_redeem_stake.go | 2 +- .../client/cli/tx_register_host_zone.go | 2 +- .../cli/tx_restore_interchain_account.go | 2 +- x/stakeibc/client/cli/tx_update_delegation.go | 2 +- x/stakeibc/client/proposal_handler.go | 4 +- x/stakeibc/genesis.go | 4 +- x/stakeibc/genesis_test.go | 8 +-- x/stakeibc/handler.go | 4 +- x/stakeibc/keeper/delegation.go | 2 +- x/stakeibc/keeper/delegation_test.go | 8 +-- x/stakeibc/keeper/deposit_records.go | 6 +-- x/stakeibc/keeper/deposit_records_test.go | 8 +-- .../keeper/epoch_elapsed_shares_test.go | 4 +- x/stakeibc/keeper/epoch_tracker.go | 2 +- x/stakeibc/keeper/epoch_tracker_test.go | 8 +-- x/stakeibc/keeper/gov.go | 2 +- x/stakeibc/keeper/grpc_query.go | 2 +- x/stakeibc/keeper/grpc_query_epoch_tracker.go | 2 +- .../keeper/grpc_query_epoch_tracker_test.go | 6 +-- x/stakeibc/keeper/grpc_query_host_zone.go | 2 +- .../keeper/grpc_query_host_zone_test.go | 6 +-- x/stakeibc/keeper/grpc_query_ica_account.go | 2 +- .../keeper/grpc_query_ica_account_test.go | 2 +- .../keeper/grpc_query_module_address.go | 2 +- x/stakeibc/keeper/grpc_query_params.go | 2 +- x/stakeibc/keeper/grpc_query_params_test.go | 4 +- x/stakeibc/keeper/grpc_query_register_ica.go | 2 +- x/stakeibc/keeper/grpc_query_validator.go | 2 +- .../keeper/grpc_query_validator_test.go | 6 +-- x/stakeibc/keeper/hooks.go | 8 +-- x/stakeibc/keeper/host_zone.go | 2 +- x/stakeibc/keeper/host_zone_test.go | 8 +-- x/stakeibc/keeper/ica_account.go | 2 +- x/stakeibc/keeper/ica_account_test.go | 2 +- x/stakeibc/keeper/icacallbacks.go | 2 +- x/stakeibc/keeper/icacallbacks_claim.go | 8 +-- x/stakeibc/keeper/icacallbacks_claim_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_delegate.go | 8 +-- .../keeper/icacallbacks_delegate_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_rebalance.go | 6 +-- .../keeper/icacallbacks_rebalance_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_redemption.go | 8 +-- .../keeper/icacallbacks_redemption_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_reinvest.go | 10 ++-- .../keeper/icacallbacks_reinvest_test.go | 10 ++-- x/stakeibc/keeper/icacallbacks_undelegate.go | 8 +-- .../keeper/icacallbacks_undelegate_test.go | 8 +-- x/stakeibc/keeper/icqcallbacks.go | 2 +- .../keeper/icqcallbacks_delegator_shares.go | 6 +-- .../icqcallbacks_delegator_shares_test.go | 8 +-- .../icqcallbacks_validator_exchange_rate.go | 6 +-- ...qcallbacks_validator_exchange_rate_test.go | 8 +-- .../keeper/icqcallbacks_withdrawal_balance.go | 4 +- .../icqcallbacks_withdrawal_balance_test.go | 10 ++-- x/stakeibc/keeper/keeper.go | 10 ++-- x/stakeibc/keeper/keeper_test.go | 6 +-- .../keeper/min_validator_requirements.go | 2 +- .../keeper/min_validator_requirements_test.go | 8 +-- x/stakeibc/keeper/msg_server.go | 2 +- x/stakeibc/keeper/msg_server_add_validator.go | 2 +- .../keeper/msg_server_add_validator_test.go | 2 +- .../msg_server_change_validator_weight.go | 2 +- .../msg_server_claim_undelegated_tokens.go | 6 +-- ...sg_server_claim_undelegated_tokens_test.go | 8 +-- x/stakeibc/keeper/msg_server_clear_balance.go | 2 +- .../keeper/msg_server_clear_balance_test.go | 4 +- .../keeper/msg_server_delete_validator.go | 2 +- .../msg_server_delete_validator_test.go | 2 +- x/stakeibc/keeper/msg_server_liquid_stake.go | 4 +- .../keeper/msg_server_liquid_stake_test.go | 8 +-- .../keeper/msg_server_rebalance_validators.go | 4 +- .../msg_server_rebalance_validators_test.go | 6 +-- x/stakeibc/keeper/msg_server_redeem_stake.go | 6 +-- .../keeper/msg_server_redeem_stake_test.go | 6 +-- .../keeper/msg_server_register_host_zone.go | 6 +-- .../msg_server_register_host_zone_test.go | 8 +-- .../msg_server_restore_interchain_account.go | 4 +- ..._server_restore_interchain_account_test.go | 4 +- x/stakeibc/keeper/msg_server_submit_tx.go | 10 ++-- ...erver_update_validator_shares_exch_rate.go | 2 +- x/stakeibc/keeper/params.go | 2 +- x/stakeibc/keeper/params_test.go | 4 +- x/stakeibc/keeper/unbonding_records.go | 6 +-- .../keeper/unbonding_records_cleanup_test.go | 4 +- ...ords_get_host_zone_unbondings_msgs_test.go | 4 +- ...ng_records_initiate_all_unbondings_test.go | 4 +- ...ding_records_sweep_unbonded_tokens_test.go | 4 +- .../keeper/update_redemption_rates_test.go | 4 +- .../update_validator_shares_exch_rate_test.go | 6 +-- x/stakeibc/keeper/validator.go | 2 +- x/stakeibc/keeper/validator_selection.go | 2 +- x/stakeibc/keeper/validator_test.go | 8 +-- x/stakeibc/module.go | 6 +-- x/stakeibc/module_ibc.go | 6 +-- x/stakeibc/module_simulation.go | 6 +-- x/stakeibc/proposal_handler.go | 4 +- x/stakeibc/simulation/add_validator.go | 4 +- .../simulation/change_validator_weight.go | 4 +- .../simulation/claim_undelegated_tokens.go | 4 +- x/stakeibc/simulation/delete_validator.go | 4 +- x/stakeibc/simulation/liquid_stake.go | 4 +- x/stakeibc/simulation/rebalance_validators.go | 4 +- .../simulation/restore_interchain_account.go | 4 +- x/stakeibc/simulation/update_delegation.go | 4 +- x/stakeibc/types/genesis_test.go | 2 +- x/stakeibc/types/message_add_validator.go | 2 +- .../types/message_add_validator_test.go | 2 +- .../types/message_change_validator_weight.go | 2 +- .../message_change_validator_weight_test.go | 2 +- .../types/message_claim_undelegated_tokens.go | 2 +- .../message_claim_undelegated_tokens_test.go | 2 +- x/stakeibc/types/message_clear_balance.go | 2 +- x/stakeibc/types/message_delete_validator.go | 2 +- .../types/message_delete_validator_test.go | 2 +- x/stakeibc/types/message_liquid_stake_test.go | 2 +- .../types/message_rebalance_validators.go | 2 +- .../message_rebalance_validators_test.go | 2 +- x/stakeibc/types/message_redeem_stake_test.go | 2 +- .../types/message_register_host_zone.go | 2 +- ...message_restore_interchain_account_test.go | 2 +- x/stakeibc/types/message_update_delegation.go | 2 +- 287 files changed, 583 insertions(+), 583 deletions(-) diff --git a/app/app.go b/app/app.go index 3e12a70b4..85a13781c 100644 --- a/app/app.go +++ b/app/app.go @@ -7,7 +7,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" @@ -57,12 +57,12 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - claimvesting "github.com/Stride-Labs/stride/v3/x/claim/vesting" - claimvestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + claimvesting "github.com/Stride-labs/stride/v4/x/claim/vesting" + claimvestingtypes "github.com/Stride-labs/stride/v4/x/claim/vesting/types" - "github.com/Stride-Labs/stride/v3/x/mint" - mintkeeper "github.com/Stride-Labs/stride/v3/x/mint/keeper" - minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/x/mint" + mintkeeper "github.com/Stride-labs/stride/v4/x/mint/keeper" + minttypes "github.com/Stride-labs/stride/v4/x/mint/types" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -109,27 +109,27 @@ import ( // monitoringp "github.com/tendermint/spn/x/monitoringp" // monitoringpkeeper "github.com/tendermint/spn/x/monitoringp/keeper" - epochsmodule "github.com/Stride-Labs/stride/v3/x/epochs" - epochsmodulekeeper "github.com/Stride-Labs/stride/v3/x/epochs/keeper" - epochsmoduletypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - - "github.com/Stride-Labs/stride/v3/x/interchainquery" - interchainquerykeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - interchainquerytypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - - "github.com/Stride-Labs/stride/v3/x/claim" - claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" - claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" - icacallbacksmodule "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbacksmodulekeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - icacallbacksmoduletypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordsmodule "github.com/Stride-Labs/stride/v3/x/records" - recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" - recordsmoduletypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibcmodule "github.com/Stride-Labs/stride/v3/x/stakeibc" - stakeibcclient "github.com/Stride-Labs/stride/v3/x/stakeibc/client" - stakeibcmodulekeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - stakeibcmoduletypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochsmodule "github.com/Stride-labs/stride/v4/x/epochs" + epochsmodulekeeper "github.com/Stride-labs/stride/v4/x/epochs/keeper" + epochsmoduletypes "github.com/Stride-labs/stride/v4/x/epochs/types" + + "github.com/Stride-labs/stride/v4/x/interchainquery" + interchainquerykeeper "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + interchainquerytypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + + "github.com/Stride-labs/stride/v4/x/claim" + claimkeeper "github.com/Stride-labs/stride/v4/x/claim/keeper" + claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" + icacallbacksmodule "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbacksmodulekeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + icacallbacksmoduletypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordsmodule "github.com/Stride-labs/stride/v4/x/records" + recordsmodulekeeper "github.com/Stride-labs/stride/v4/x/records/keeper" + recordsmoduletypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibcmodule "github.com/Stride-labs/stride/v4/x/stakeibc" + stakeibcclient "github.com/Stride-labs/stride/v4/x/stakeibc/client" + stakeibcmodulekeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + stakeibcmoduletypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" // this line is used by starport scaffolding # stargate/app/moduleImport ) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index e98663dbf..2eb71a71e 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -20,7 +20,7 @@ import ( "github.com/tendermint/tendermint/crypto/ed25519" tmtypes "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-labs/stride/v4/app" ) var ( diff --git a/app/upgrades.go b/app/upgrades.go index 135a6823c..39c3fa328 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -6,10 +6,10 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - v2 "github.com/Stride-Labs/stride/v3/app/upgrades/v2" - v3 "github.com/Stride-Labs/stride/v3/app/upgrades/v3" - v4 "github.com/Stride-Labs/stride/v3/app/upgrades/v4" - claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + v2 "github.com/Stride-labs/stride/v4/app/upgrades/v2" + v3 "github.com/Stride-labs/stride/v4/app/upgrades/v3" + v4 "github.com/Stride-labs/stride/v4/app/upgrades/v4" + claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" ) diff --git a/app/upgrades/v3/upgrades.go b/app/upgrades/v3/upgrades.go index f420609aa..c0244f277 100644 --- a/app/upgrades/v3/upgrades.go +++ b/app/upgrades/v3/upgrades.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" - claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + claimkeeper "github.com/Stride-labs/stride/v4/x/claim/keeper" + claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" ) // Note: ensure these values are properly set before running upgrade diff --git a/app/upgrades/v3/upgrades_test.go b/app/upgrades/v3/upgrades_test.go index 1bcac0ad4..ecd2b76db 100644 --- a/app/upgrades/v3/upgrades_test.go +++ b/app/upgrades/v3/upgrades_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-labs/stride/v4/app/apptesting" ) var ( airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go index e5f22a1a0..9d1504501 100644 --- a/app/upgrades/v4/upgrades_test.go +++ b/app/upgrades/v4/upgrades_test.go @@ -8,7 +8,7 @@ import ( authz "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-labs/stride/v4/app/apptesting" ) const dummyUpgradeHeight = 5 diff --git a/cmd/strided/main.go b/cmd/strided/main.go index ab42b8c1d..18f67252a 100644 --- a/cmd/strided/main.go +++ b/cmd/strided/main.go @@ -5,9 +5,9 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-labs/stride/v4/app" - cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" + cmdcfg "github.com/Stride-labs/stride/v4/cmd/strided/config" ) func main() { diff --git a/cmd/strided/root.go b/cmd/strided/root.go index 3099df70c..304ac3f57 100644 --- a/cmd/strided/root.go +++ b/cmd/strided/root.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" "github.com/spf13/cast" "github.com/spf13/cobra" @@ -36,8 +36,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/Stride-Labs/stride/v3/app" - // "github.com/Stride-Labs/stride/v3/app/params" + "github.com/Stride-labs/stride/v4/app" + // "github.com/Stride-labs/stride/v4/app/params" // this line is used by starport scaffolding # stargate/root/import ) diff --git a/go.mod b/go.mod index b5f99788f..9fbabaf01 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Stride-Labs/stride/v3 +module github.com/Stride-labs/stride/v4 go 1.19 diff --git a/testutil/keeper/claim.go b/testutil/keeper/claim.go index 6c6df6a11..685d9d34f 100644 --- a/testutil/keeper/claim.go +++ b/testutil/keeper/claim.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/claim/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/claim/keeper" ) func ClaimKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/epochs.go b/testutil/keeper/epochs.go index 8274cbe7e..225624251 100644 --- a/testutil/keeper/epochs.go +++ b/testutil/keeper/epochs.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/epochs/keeper" ) func EpochsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/icacallbacks.go b/testutil/keeper/icacallbacks.go index b0a02998e..c4a632f22 100644 --- a/testutil/keeper/icacallbacks.go +++ b/testutil/keeper/icacallbacks.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" ) func IcacallbacksKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/interchainquery.go b/testutil/keeper/interchainquery.go index ccdbbc1c2..c11f067db 100644 --- a/testutil/keeper/interchainquery.go +++ b/testutil/keeper/interchainquery.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" ) func InterchainqueryKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/records.go b/testutil/keeper/records.go index 7a6c31d4a..eec8a8252 100644 --- a/testutil/keeper/records.go +++ b/testutil/keeper/records.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/records/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/records/keeper" ) func RecordsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/stakeibc.go b/testutil/keeper/stakeibc.go index ed329af0c..855a397ff 100644 --- a/testutil/keeper/stakeibc.go +++ b/testutil/keeper/stakeibc.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + strideapp "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" ) func StakeibcKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/network/network.go b/testutil/network/network.go index 885a289a0..24604defb 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -17,7 +17,7 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" - "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-labs/stride/v4/app" ) type ( diff --git a/utils/utils.go b/utils/utils.go index 91d6f8e10..f9fbc5448 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -13,8 +13,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - config "github.com/Stride-Labs/stride/v3/cmd/strided/config" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + config "github.com/Stride-labs/stride/v4/cmd/strided/config" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" ) func FilterDepositRecords(arr []recordstypes.DepositRecord, condition func(recordstypes.DepositRecord) bool) (ret []recordstypes.DepositRecord) { diff --git a/x/claim/client/cli/cli_test.go b/x/claim/client/cli/cli_test.go index 80ef29806..ad9113230 100644 --- a/x/claim/client/cli/cli_test.go +++ b/x/claim/client/cli/cli_test.go @@ -15,21 +15,21 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - strideclitestutil "github.com/Stride-Labs/stride/v3/testutil/cli" + strideclitestutil "github.com/Stride-labs/stride/v4/testutil/cli" - "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-labs/stride/v4/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-Labs/stride/v3/x/claim/client/cli" + "github.com/Stride-labs/stride/v4/x/claim/client/cli" - "github.com/Stride-Labs/stride/v3/app" - cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" - "github.com/Stride-Labs/stride/v3/x/claim/types" - claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/app" + cmdcfg "github.com/Stride-labs/stride/v4/cmd/strided/config" + "github.com/Stride-labs/stride/v4/x/claim/types" + claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" ) var addr1 sdk.AccAddress diff --git a/x/claim/client/cli/query.go b/x/claim/client/cli/query.go index a11262c8b..ed1558835 100644 --- a/x/claim/client/cli/query.go +++ b/x/claim/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/claim/client/cli/tx.go b/x/claim/client/cli/tx.go index 9c30574d2..e1c710e08 100644 --- a/x/claim/client/cli/tx.go +++ b/x/claim/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/claim/client/cli/tx_claim_free_amount.go b/x/claim/client/cli/tx_claim_free_amount.go index 0208bbb35..f0f08fb9d 100644 --- a/x/claim/client/cli/tx_claim_free_amount.go +++ b/x/claim/client/cli/tx_claim_free_amount.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func CmdClaimFreeAmount() *cobra.Command { diff --git a/x/claim/client/cli/tx_create_airdrop.go b/x/claim/client/cli/tx_create_airdrop.go index 7b3456a76..28bbc2ced 100644 --- a/x/claim/client/cli/tx_create_airdrop.go +++ b/x/claim/client/cli/tx_create_airdrop.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func CmdCreateAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_delete_airdrop.go b/x/claim/client/cli/tx_delete_airdrop.go index 1e8a83ffe..20e2121bc 100644 --- a/x/claim/client/cli/tx_delete_airdrop.go +++ b/x/claim/client/cli/tx_delete_airdrop.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func CmdDeleteAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_set_airdrop_allocations.go b/x/claim/client/cli/tx_set_airdrop_allocations.go index 8b42b3173..7a5659133 100644 --- a/x/claim/client/cli/tx_set_airdrop_allocations.go +++ b/x/claim/client/cli/tx_set_airdrop_allocations.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func CmdSetAirdropAllocations() *cobra.Command { diff --git a/x/claim/genesis_test.go b/x/claim/genesis_test.go index e7525b1ac..bf1b5c3f5 100644 --- a/x/claim/genesis_test.go +++ b/x/claim/genesis_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/claim/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func TestGenesis(t *testing.T) { diff --git a/x/claim/handler.go b/x/claim/handler.go index bcde5cbe9..c010cfc40 100644 --- a/x/claim/handler.go +++ b/x/claim/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/claim/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/keeper" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // NewHandler returns claim module messages diff --git a/x/claim/keeper/claim.go b/x/claim/keeper/claim.go index caa286f8e..943175da1 100644 --- a/x/claim/keeper/claim.go +++ b/x/claim/keeper/claim.go @@ -13,10 +13,10 @@ import ( authvestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/gogo/protobuf/proto" - "github.com/Stride-Labs/stride/v3/utils" - "github.com/Stride-Labs/stride/v3/x/claim/types" - vestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-labs/stride/v4/x/claim/types" + vestingtypes "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" ) func (k Keeper) LoadAllocationData(ctx sdk.Context, allocationData string) bool { diff --git a/x/claim/keeper/claim_test.go b/x/claim/keeper/claim_test.go index 5b2868391..d9cb4a5b4 100644 --- a/x/claim/keeper/claim_test.go +++ b/x/claim/keeper/claim_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // Test functionality for loading allocation data(csv) diff --git a/x/claim/keeper/genesis.go b/x/claim/keeper/genesis.go index 542242408..56026a184 100644 --- a/x/claim/keeper/genesis.go +++ b/x/claim/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/claim/keeper/grpc_query.go b/x/claim/keeper/grpc_query.go index 56c1d3c74..99ad89225 100644 --- a/x/claim/keeper/grpc_query.go +++ b/x/claim/keeper/grpc_query.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/claim/keeper/hooks.go b/x/claim/keeper/hooks.go index 7e022190e..e6b51b15b 100644 --- a/x/claim/keeper/hooks.go +++ b/x/claim/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - stakingibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + stakingibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func (k Keeper) AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) { diff --git a/x/claim/keeper/keeper.go b/x/claim/keeper/keeper.go index 726bf3eb2..348e61722 100644 --- a/x/claim/keeper/keeper.go +++ b/x/claim/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // Keeper struct diff --git a/x/claim/keeper/keeper_test.go b/x/claim/keeper/keeper_test.go index fee3251d9..00d3a3ddc 100644 --- a/x/claim/keeper/keeper_test.go +++ b/x/claim/keeper/keeper_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/claim/types" - minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/claim/types" + minttypes "github.com/Stride-labs/stride/v4/x/mint/types" ) type KeeperTestSuite struct { diff --git a/x/claim/keeper/msg_server.go b/x/claim/keeper/msg_server.go index 31f75b0aa..2dc29900a 100644 --- a/x/claim/keeper/msg_server.go +++ b/x/claim/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) type msgServer struct { diff --git a/x/claim/keeper/msg_server_test.go b/x/claim/keeper/msg_server_test.go index 82cdbb847..f52eabbda 100644 --- a/x/claim/keeper/msg_server_test.go +++ b/x/claim/keeper/msg_server_test.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/claim/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/keeper" + "github.com/Stride-labs/stride/v4/x/claim/types" ) func (suite *KeeperTestSuite) TestSetAirdropAllocationsForMultiAirdrops() { diff --git a/x/claim/keeper/params.go b/x/claim/keeper/params.go index 67f55843c..db391a1d3 100644 --- a/x/claim/keeper/params.go +++ b/x/claim/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" ) // GetParams get params diff --git a/x/claim/keeper/query.go b/x/claim/keeper/query.go index 21acb224f..80ef26667 100644 --- a/x/claim/keeper/query.go +++ b/x/claim/keeper/query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/claim/module.go b/x/claim/module.go index b70254ede..5c4f0f55d 100644 --- a/x/claim/module.go +++ b/x/claim/module.go @@ -17,10 +17,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/claim/client/cli" - "github.com/Stride-Labs/stride/v3/x/claim/client/rest" - "github.com/Stride-Labs/stride/v3/x/claim/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/types" + "github.com/Stride-labs/stride/v4/x/claim/client/cli" + "github.com/Stride-labs/stride/v4/x/claim/client/rest" + "github.com/Stride-labs/stride/v4/x/claim/keeper" + "github.com/Stride-labs/stride/v4/x/claim/types" ) var ( diff --git a/x/claim/types/expected_keepers.go b/x/claim/types/expected_keepers.go index 5c912828e..f8f9b174a 100644 --- a/x/claim/types/expected_keepers.go +++ b/x/claim/types/expected_keepers.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" ) // BankKeeper defines the banking contract that must be fulfilled when diff --git a/x/claim/types/msgs.go b/x/claim/types/msgs.go index d144afff3..9d50bfcd3 100644 --- a/x/claim/types/msgs.go +++ b/x/claim/types/msgs.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) // Msg type for MsgSetAirdropAllocations diff --git a/x/claim/vesting/client/cli/tx.go b/x/claim/vesting/client/cli/tx.go index 2a83fb35e..41c8c43c1 100644 --- a/x/claim/vesting/client/cli/tx.go +++ b/x/claim/vesting/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + "github.com/Stride-labs/stride/v4/x/claim/vesting/types" ) // GetTxCmd returns stride vesting module's transaction commands. diff --git a/x/claim/vesting/handler.go b/x/claim/vesting/handler.go index e70396b26..aeacd32ee 100644 --- a/x/claim/vesting/handler.go +++ b/x/claim/vesting/handler.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + "github.com/Stride-labs/stride/v4/x/claim/vesting/types" ) // NewHandler returns a handler for x/auth message types. diff --git a/x/claim/vesting/module.go b/x/claim/vesting/module.go index f3414565a..c72aca12c 100644 --- a/x/claim/vesting/module.go +++ b/x/claim/vesting/module.go @@ -15,8 +15,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/client/cli" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + "github.com/Stride-labs/stride/v4/x/claim/vesting/client/cli" + "github.com/Stride-labs/stride/v4/x/claim/vesting/types" ) var ( diff --git a/x/claim/vesting/msg_server.go b/x/claim/vesting/msg_server.go index 385901127..5b6c3ec8d 100644 --- a/x/claim/vesting/msg_server.go +++ b/x/claim/vesting/msg_server.go @@ -3,7 +3,7 @@ package vesting import ( "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + "github.com/Stride-labs/stride/v4/x/claim/vesting/types" ) type msgServer struct { diff --git a/x/claim/vesting/types/codec.go b/x/claim/vesting/types/codec.go index 4a2cccb5c..465ea0772 100644 --- a/x/claim/vesting/types/codec.go +++ b/x/claim/vesting/types/codec.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/msgservice" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" + "github.com/Stride-labs/stride/v4/x/claim/vesting/exported" ) // RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the diff --git a/x/claim/vesting/types/common_test.go b/x/claim/vesting/types/common_test.go index 82ff155d2..6432ed0f9 100644 --- a/x/claim/vesting/types/common_test.go +++ b/x/claim/vesting/types/common_test.go @@ -1,7 +1,7 @@ package types_test import ( - strideApp "github.com/Stride-Labs/stride/v3/app" + strideApp "github.com/Stride-labs/stride/v4/app" ) var ( diff --git a/x/claim/vesting/types/vesting_account.go b/x/claim/vesting/types/vesting_account.go index 45885d609..336b9af34 100644 --- a/x/claim/vesting/types/vesting_account.go +++ b/x/claim/vesting/types/vesting_account.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/v3/utils" - vestexported "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" + "github.com/Stride-labs/stride/v4/utils" + vestexported "github.com/Stride-labs/stride/v4/x/claim/vesting/exported" ) // Compile-time type assertions diff --git a/x/claim/vesting/types/vesting_account_test.go b/x/claim/vesting/types/vesting_account_test.go index 0362aafb1..310903abe 100644 --- a/x/claim/vesting/types/vesting_account_test.go +++ b/x/claim/vesting/types/vesting_account_test.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + "github.com/Stride-labs/stride/v4/x/claim/vesting/types" ) var ( diff --git a/x/epochs/client/cli/query.go b/x/epochs/client/cli/query.go index c2f073628..9ca597e36 100644 --- a/x/epochs/client/cli/query.go +++ b/x/epochs/client/cli/query.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/epochs/genesis.go b/x/epochs/genesis.go index 8f0cc4ce2..f5c6bc3c7 100644 --- a/x/epochs/genesis.go +++ b/x/epochs/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/epochs/keeper" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/keeper" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/epochs/genesis_test.go b/x/epochs/genesis_test.go index 79aa1d3a7..6d940ad44 100644 --- a/x/epochs/genesis_test.go +++ b/x/epochs/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/epochs" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/epochs" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) func TestGenesis(t *testing.T) { diff --git a/x/epochs/handler.go b/x/epochs/handler.go index ffd3f8088..0b9371134 100644 --- a/x/epochs/handler.go +++ b/x/epochs/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/epochs/keeper" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/keeper" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // NewHandler returns a handler for epochs module messages diff --git a/x/epochs/keeper/abci.go b/x/epochs/keeper/abci.go index b0f35ed10..971f64066 100644 --- a/x/epochs/keeper/abci.go +++ b/x/epochs/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // BeginBlocker of epochs module diff --git a/x/epochs/keeper/abci_test.go b/x/epochs/keeper/abci_test.go index 53af7fd7e..b35969254 100644 --- a/x/epochs/keeper/abci_test.go +++ b/x/epochs/keeper/abci_test.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/Stride-Labs/stride/v3/x/epochs" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochInfoChangesBeginBlockerAndInitGenesis() { diff --git a/x/epochs/keeper/epoch.go b/x/epochs/keeper/epoch.go index 0aa8819da..112c40fd6 100644 --- a/x/epochs/keeper/epoch.go +++ b/x/epochs/keeper/epoch.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // GetEpochInfo returns epoch info by identifier diff --git a/x/epochs/keeper/epoch_test.go b/x/epochs/keeper/epoch_test.go index f3210f576..0ffed7afe 100644 --- a/x/epochs/keeper/epoch_test.go +++ b/x/epochs/keeper/epoch_test.go @@ -5,7 +5,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochLifeCycle() { diff --git a/x/epochs/keeper/grpc_query.go b/x/epochs/keeper/grpc_query.go index c1ebb1dce..35d0a9edb 100644 --- a/x/epochs/keeper/grpc_query.go +++ b/x/epochs/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/epochs/keeper/grpc_query_test.go b/x/epochs/keeper/grpc_query_test.go index f0f18f04b..3d62fc6e6 100644 --- a/x/epochs/keeper/grpc_query_test.go +++ b/x/epochs/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) func (suite *KeeperTestSuite) TestQueryEpochInfos() { diff --git a/x/epochs/keeper/hooks.go b/x/epochs/keeper/hooks.go index bf56203a8..4b467f16d 100644 --- a/x/epochs/keeper/hooks.go +++ b/x/epochs/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // AfterEpochEnd executes the indicated hook after epochs ends diff --git a/x/epochs/keeper/keeper.go b/x/epochs/keeper/keeper.go index 81a93258d..27b1e3045 100644 --- a/x/epochs/keeper/keeper.go +++ b/x/epochs/keeper/keeper.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // Keeper of this module maintains collections of epochs and hooks. diff --git a/x/epochs/keeper/keeper_test.go b/x/epochs/keeper/keeper_test.go index 99171122e..2f240cea6 100644 --- a/x/epochs/keeper/keeper_test.go +++ b/x/epochs/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) type KeeperTestSuite struct { diff --git a/x/epochs/module.go b/x/epochs/module.go index a15e44a94..25680db3a 100644 --- a/x/epochs/module.go +++ b/x/epochs/module.go @@ -20,10 +20,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/epochs/client/cli" - "github.com/Stride-Labs/stride/v3/x/epochs/keeper" - "github.com/Stride-Labs/stride/v3/x/epochs/simulation" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/client/cli" + "github.com/Stride-labs/stride/v4/x/epochs/keeper" + "github.com/Stride-labs/stride/v4/x/epochs/simulation" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) var ( diff --git a/x/epochs/simulation/genesis.go b/x/epochs/simulation/genesis.go index 457b8c076..2e4e81c73 100644 --- a/x/epochs/simulation/genesis.go +++ b/x/epochs/simulation/genesis.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/epochs/types" ) // RandomizedGenState generates a random GenesisState for mint diff --git a/x/icacallbacks/client/cli/query.go b/x/icacallbacks/client/cli/query.go index e9f38ed9e..a990eb15d 100644 --- a/x/icacallbacks/client/cli/query.go +++ b/x/icacallbacks/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/icacallbacks/client/cli/query_callback_data.go b/x/icacallbacks/client/cli/query_callback_data.go index 4a471a8b4..2dff8ac0b 100644 --- a/x/icacallbacks/client/cli/query_callback_data.go +++ b/x/icacallbacks/client/cli/query_callback_data.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func CmdListCallbackData() *cobra.Command { diff --git a/x/icacallbacks/client/cli/query_callback_data_test.go b/x/icacallbacks/client/cli/query_callback_data_test.go index 3ef3dcb39..bec3d0515 100644 --- a/x/icacallbacks/client/cli/query_callback_data_test.go +++ b/x/icacallbacks/client/cli/query_callback_data_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/testutil/network" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/icacallbacks/client/cli" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/client/cli/query_params.go b/x/icacallbacks/client/cli/query_params.go index 186be4e61..d704d3cbe 100644 --- a/x/icacallbacks/client/cli/query_params.go +++ b/x/icacallbacks/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/icacallbacks/client/cli/tx.go b/x/icacallbacks/client/cli/tx.go index 0ad81d259..07b80775f 100644 --- a/x/icacallbacks/client/cli/tx.go +++ b/x/icacallbacks/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/icacallbacks/genesis.go b/x/icacallbacks/genesis.go index 52ebc2b76..fa9409e16 100644 --- a/x/icacallbacks/genesis.go +++ b/x/icacallbacks/genesis.go @@ -3,8 +3,8 @@ package icacallbacks import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/icacallbacks/genesis_test.go b/x/icacallbacks/genesis_test.go index 43d459cb7..7e6d9939b 100644 --- a/x/icacallbacks/genesis_test.go +++ b/x/icacallbacks/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func TestGenesis(t *testing.T) { diff --git a/x/icacallbacks/handler.go b/x/icacallbacks/handler.go index 52c6f6e0c..b5692e647 100644 --- a/x/icacallbacks/handler.go +++ b/x/icacallbacks/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // NewHandler ... diff --git a/x/icacallbacks/keeper/callback_data.go b/x/icacallbacks/keeper/callback_data.go index dc1ce52fe..2be37d962 100644 --- a/x/icacallbacks/keeper/callback_data.go +++ b/x/icacallbacks/keeper/callback_data.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // SetCallbackData set a specific callbackData in the store from its index diff --git a/x/icacallbacks/keeper/callback_data_test.go b/x/icacallbacks/keeper/callback_data_test.go index 7235d3089..fb388c6ac 100644 --- a/x/icacallbacks/keeper/callback_data_test.go +++ b/x/icacallbacks/keeper/callback_data_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query.go b/x/icacallbacks/keeper/grpc_query.go index 8387b52df..d574a2700 100644 --- a/x/icacallbacks/keeper/grpc_query.go +++ b/x/icacallbacks/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/icacallbacks/keeper/grpc_query_callback_data.go b/x/icacallbacks/keeper/grpc_query_callback_data.go index b06992eb6..ae1102872 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func (k Keeper) CallbackDataAll(c context.Context, req *types.QueryAllCallbackDataRequest) (*types.QueryAllCallbackDataResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_callback_data_test.go b/x/icacallbacks/keeper/grpc_query_callback_data_test.go index 201b46b6c..c6fbf59e7 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data_test.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query_params.go b/x/icacallbacks/keeper/grpc_query_params.go index adce4f4e9..d9562da70 100644 --- a/x/icacallbacks/keeper/grpc_query_params.go +++ b/x/icacallbacks/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_params_test.go b/x/icacallbacks/keeper/grpc_query_params_test.go index d8ecafe8e..8f4ba799e 100644 --- a/x/icacallbacks/keeper/grpc_query_params_test.go +++ b/x/icacallbacks/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/icacallbacks/keeper/keeper.go b/x/icacallbacks/keeper/keeper.go index b858436c6..356657a98 100644 --- a/x/icacallbacks/keeper/keeper.go +++ b/x/icacallbacks/keeper/keeper.go @@ -14,8 +14,8 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/icacallbacks/keeper/msg_server.go b/x/icacallbacks/keeper/msg_server.go index c040e59a5..24459861e 100644 --- a/x/icacallbacks/keeper/msg_server.go +++ b/x/icacallbacks/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) type msgServer struct { diff --git a/x/icacallbacks/keeper/params.go b/x/icacallbacks/keeper/params.go index a98a8e8a5..a755672b1 100644 --- a/x/icacallbacks/keeper/params.go +++ b/x/icacallbacks/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // GetParams get all parameters as types.Params diff --git a/x/icacallbacks/keeper/params_test.go b/x/icacallbacks/keeper/params_test.go index 2dd907fe8..011ffe455 100644 --- a/x/icacallbacks/keeper/params_test.go +++ b/x/icacallbacks/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func TestGetParams(t *testing.T) { diff --git a/x/icacallbacks/module.go b/x/icacallbacks/module.go index 9ae49eefe..1635173b4 100644 --- a/x/icacallbacks/module.go +++ b/x/icacallbacks/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/client/cli" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) var ( diff --git a/x/icacallbacks/module_ibc.go b/x/icacallbacks/module_ibc.go index a602bdf39..61fa8ff76 100644 --- a/x/icacallbacks/module_ibc.go +++ b/x/icacallbacks/module_ibc.go @@ -12,7 +12,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/icacallbacks/module_simulation.go b/x/icacallbacks/module_simulation.go index 618ef2ab7..27404f93f 100644 --- a/x/icacallbacks/module_simulation.go +++ b/x/icacallbacks/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-Labs/stride/v3/testutil/sample" - icacallbackssimulation "github.com/Stride-Labs/stride/v3/x/icacallbacks/simulation" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/testutil/sample" + icacallbackssimulation "github.com/Stride-labs/stride/v4/x/icacallbacks/simulation" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) // avoid unused import issue diff --git a/x/icacallbacks/types/genesis_test.go b/x/icacallbacks/types/genesis_test.go index fb6782764..4a69f50e4 100644 --- a/x/icacallbacks/types/genesis_test.go +++ b/x/icacallbacks/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/interchainquery/genesis.go b/x/interchainquery/genesis.go index 872a72069..54f402994 100644 --- a/x/interchainquery/genesis.go +++ b/x/interchainquery/genesis.go @@ -3,8 +3,8 @@ package interchainquery import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/interchainquery/handler.go b/x/interchainquery/handler.go index 208a144b8..f8d409059 100644 --- a/x/interchainquery/handler.go +++ b/x/interchainquery/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) // NewHandler returns a handler for interchainquery module messages diff --git a/x/interchainquery/keeper/abci.go b/x/interchainquery/keeper/abci.go index 2b0e94e82..cd25b2e71 100644 --- a/x/interchainquery/keeper/abci.go +++ b/x/interchainquery/keeper/abci.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) // EndBlocker of interchainquery module diff --git a/x/interchainquery/keeper/keeper.go b/x/interchainquery/keeper/keeper.go index 84b91dc6f..259cde861 100644 --- a/x/interchainquery/keeper/keeper.go +++ b/x/interchainquery/keeper/keeper.go @@ -10,7 +10,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) // Keeper of this module maintains collections of registered zones. diff --git a/x/interchainquery/keeper/keeper_test.go b/x/interchainquery/keeper/keeper_test.go index 828800e58..90a0e83d2 100644 --- a/x/interchainquery/keeper/keeper_test.go +++ b/x/interchainquery/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" - "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) type KeeperTestSuite struct { diff --git a/x/interchainquery/keeper/msg_server.go b/x/interchainquery/keeper/msg_server.go index cac71e594..8fbe7db85 100644 --- a/x/interchainquery/keeper/msg_server.go +++ b/x/interchainquery/keeper/msg_server.go @@ -14,7 +14,7 @@ import ( tmclienttypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) type msgServer struct { diff --git a/x/interchainquery/keeper/msg_submit_query_response_test.go b/x/interchainquery/keeper/msg_submit_query_response_test.go index b83b0dbd6..bbf53f8b1 100644 --- a/x/interchainquery/keeper/msg_submit_query_response_test.go +++ b/x/interchainquery/keeper/msg_submit_query_response_test.go @@ -9,7 +9,7 @@ import ( _ "github.com/stretchr/testify/suite" "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) const ( diff --git a/x/interchainquery/keeper/new_query_test.go b/x/interchainquery/keeper/new_query_test.go index 44651d950..e2ff7e2a6 100644 --- a/x/interchainquery/keeper/new_query_test.go +++ b/x/interchainquery/keeper/new_query_test.go @@ -3,7 +3,7 @@ package keeper_test import ( _ "github.com/stretchr/testify/suite" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) type NewQueryTestCase struct { diff --git a/x/interchainquery/keeper/queries.go b/x/interchainquery/keeper/queries.go index 420c8c920..a29c5ea8f 100644 --- a/x/interchainquery/keeper/queries.go +++ b/x/interchainquery/keeper/queries.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/crypto" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) func GenerateQueryHash(connectionId string, chainId string, queryType string, request []byte, module string, callbackId string) string { diff --git a/x/interchainquery/module.go b/x/interchainquery/module.go index 7391d1f5b..f82e05a7a 100644 --- a/x/interchainquery/module.go +++ b/x/interchainquery/module.go @@ -18,9 +18,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) var ( diff --git a/x/mint/client/cli/cli_test.go b/x/mint/client/cli/cli_test.go index 9e2a6aacd..7a548ab07 100644 --- a/x/mint/client/cli/cli_test.go +++ b/x/mint/client/cli/cli_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-Labs/stride/v3/app" - "github.com/Stride-Labs/stride/v3/x/mint/client/cli" + "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-labs/stride/v4/x/mint/client/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index f88b88891..90bc91406 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/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 7ab8167b4..573e5883a 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/Stride-Labs/stride/v3/app" - minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/app" + minttypes "github.com/Stride-labs/stride/v4/x/mint/types" "github.com/cosmos/cosmos-sdk/testutil/network" ) diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index 8b7d887bf..e825c3a2d 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/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 5d47d2eec..3b3498983 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -3,8 +3,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/mint/keeper" - "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/x/mint/keeper" + "github.com/Stride-labs/stride/v4/x/mint/types" ) // InitGenesis new mint genesis. diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index f46167d37..0c68f94a4 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/x/mint/types" ) var _ types.QueryServer = Querier{} diff --git a/x/mint/keeper/hooks.go b/x/mint/keeper/hooks.go index ecbba8798..d7af1f760 100644 --- a/x/mint/keeper/hooks.go +++ b/x/mint/keeper/hooks.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - "github.com/Stride-Labs/stride/v3/x/mint/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/mint/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 8659497bd..d95538b0f 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-Labs/stride/v3/x/mint/types" + "github.com/Stride-labs/stride/v4/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 7bf0f0371..e31fd03e1 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -17,12 +17,12 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/mint/client/cli" - "github.com/Stride-Labs/stride/v3/x/mint/client/rest" - "github.com/Stride-Labs/stride/v3/x/mint/keeper" + "github.com/Stride-labs/stride/v4/x/mint/client/cli" + "github.com/Stride-labs/stride/v4/x/mint/client/rest" + "github.com/Stride-labs/stride/v4/x/mint/keeper" - //"github.com/Stride-Labs/stride/v3/x/mint/simulation" - "github.com/Stride-Labs/stride/v3/x/mint/types" + //"github.com/Stride-labs/stride/v4/x/mint/simulation" + "github.com/Stride-labs/stride/v4/x/mint/types" ) var ( diff --git a/x/mint/types/expected_keepers.go b/x/mint/types/expected_keepers.go index e60f0f55f..4d64408a5 100644 --- a/x/mint/types/expected_keepers.go +++ b/x/mint/types/expected_keepers.go @@ -1,7 +1,7 @@ package types // noalias import ( - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/mint/types/params.go b/x/mint/types/params.go index 79ff43bc2..7d988f847 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/records/client/cli/query.go b/x/records/client/cli/query.go index 77309644e..a9f0a9ce2 100644 --- a/x/records/client/cli/query.go +++ b/x/records/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/records/client/cli/query_deposit_record.go b/x/records/client/cli/query_deposit_record.go index 5edf86ee9..32d45a310 100644 --- a/x/records/client/cli/query_deposit_record.go +++ b/x/records/client/cli/query_deposit_record.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func CmdListDepositRecord() *cobra.Command { diff --git a/x/records/client/cli/query_deposit_record_test.go b/x/records/client/cli/query_deposit_record_test.go index c6f146bcd..39b97d98e 100644 --- a/x/records/client/cli/query_deposit_record_test.go +++ b/x/records/client/cli/query_deposit_record_test.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/testutil/network" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/client/cli" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/client/cli" + "github.com/Stride-labs/stride/v4/x/records/types" ) func networkWithDepositRecordObjects(t *testing.T, n int) (*network.Network, []types.DepositRecord) { diff --git a/x/records/client/cli/query_epoch_unbonding_record.go b/x/records/client/cli/query_epoch_unbonding_record.go index ac747e667..7aeb5f5d7 100644 --- a/x/records/client/cli/query_epoch_unbonding_record.go +++ b/x/records/client/cli/query_epoch_unbonding_record.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func CmdListEpochUnbondingRecord() *cobra.Command { diff --git a/x/records/client/cli/query_params.go b/x/records/client/cli/query_params.go index a488e540e..ef1297f93 100644 --- a/x/records/client/cli/query_params.go +++ b/x/records/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record.go b/x/records/client/cli/query_user_redemption_record.go index ee5889587..f24cff398 100644 --- a/x/records/client/cli/query_user_redemption_record.go +++ b/x/records/client/cli/query_user_redemption_record.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func CmdListUserRedemptionRecord() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record_test.go b/x/records/client/cli/query_user_redemption_record_test.go index 4ef19ff6e..b4cfb94b3 100644 --- a/x/records/client/cli/query_user_redemption_record_test.go +++ b/x/records/client/cli/query_user_redemption_record_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/testutil/network" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/client/cli" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/client/cli" + "github.com/Stride-labs/stride/v4/x/records/types" ) func networkWithUserRedemptionRecordObjects(t *testing.T, n int) (*network.Network, []types.UserRedemptionRecord) { diff --git a/x/records/client/cli/tx.go b/x/records/client/cli/tx.go index 70d8e55af..ed9989ee8 100644 --- a/x/records/client/cli/tx.go +++ b/x/records/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/records/genesis.go b/x/records/genesis.go index ba4feed7d..600f9b618 100644 --- a/x/records/genesis.go +++ b/x/records/genesis.go @@ -3,8 +3,8 @@ package records import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/records/genesis_test.go b/x/records/genesis_test.go index e262cc94d..2ce6dcb76 100644 --- a/x/records/genesis_test.go +++ b/x/records/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestGenesis(t *testing.T) { diff --git a/x/records/handler.go b/x/records/handler.go index a5ad02830..36a4be44d 100644 --- a/x/records/handler.go +++ b/x/records/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) // NewHandler ... diff --git a/x/records/keeper/callback_transfer.go b/x/records/keeper/callback_transfer.go index 8be4489a5..b84c6001a 100644 --- a/x/records/keeper/callback_transfer.go +++ b/x/records/keeper/callback_transfer.go @@ -5,7 +5,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/records/keeper/callback_transfer_test.go b/x/records/keeper/callback_transfer_test.go index 562097d8c..ceed64416 100644 --- a/x/records/keeper/callback_transfer_test.go +++ b/x/records/keeper/callback_transfer_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordskeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordskeeper "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" ) const chainId = "GAIA" diff --git a/x/records/keeper/callbacks.go b/x/records/keeper/callbacks.go index a3b0f86dd..24080bf2a 100644 --- a/x/records/keeper/callbacks.go +++ b/x/records/keeper/callbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/records/keeper/deposit_record.go b/x/records/keeper/deposit_record.go index 5ee5b6721..70cf27913 100644 --- a/x/records/keeper/deposit_record.go +++ b/x/records/keeper/deposit_record.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) // GetDepositRecordCount get the total number of depositRecord diff --git a/x/records/keeper/epoch_unbonding_record.go b/x/records/keeper/epoch_unbonding_record.go index 645f5e465..e34d833fb 100644 --- a/x/records/keeper/epoch_unbonding_record.go +++ b/x/records/keeper/epoch_unbonding_record.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) // SetEpochUnbondingRecord set a specific epochUnbondingRecord in the store diff --git a/x/records/keeper/epoch_unbonding_record_test.go b/x/records/keeper/epoch_unbonding_record_test.go index 9a0f87878..98b0663c9 100644 --- a/x/records/keeper/epoch_unbonding_record_test.go +++ b/x/records/keeper/epoch_unbonding_record_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) func createNEpochUnbondingRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) ([]types.EpochUnbondingRecord, map[string]types.HostZoneUnbonding) { diff --git a/x/records/keeper/grpc_query.go b/x/records/keeper/grpc_query.go index 7d10ba7a4..5aad8a4cf 100644 --- a/x/records/keeper/grpc_query.go +++ b/x/records/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/records/keeper/grpc_query_deposit_record.go b/x/records/keeper/grpc_query_deposit_record.go index ead10b1b0..865718ef5 100644 --- a/x/records/keeper/grpc_query_deposit_record.go +++ b/x/records/keeper/grpc_query_deposit_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func (k Keeper) DepositRecordAll(c context.Context, req *types.QueryAllDepositRecordRequest) (*types.QueryAllDepositRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_deposit_record_test.go b/x/records/keeper/grpc_query_deposit_record_test.go index 43687dd44..26af59620 100644 --- a/x/records/keeper/grpc_query_deposit_record_test.go +++ b/x/records/keeper/grpc_query_deposit_record_test.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) func createNDepositRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.DepositRecord { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record.go b/x/records/keeper/grpc_query_epoch_unbonding_record.go index f698f5a14..941bdd65a 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func (k Keeper) EpochUnbondingRecordAll(c context.Context, req *types.QueryAllEpochUnbondingRecordRequest) (*types.QueryAllEpochUnbondingRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go index 311dc38e7..8e066089e 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestEpochUnbondingRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/grpc_query_params.go b/x/records/keeper/grpc_query_params.go index 69c7a9106..9751632e7 100644 --- a/x/records/keeper/grpc_query_params.go +++ b/x/records/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/records/keeper/grpc_query_params_test.go b/x/records/keeper/grpc_query_params_test.go index 82c1b808f..e3754a2e0 100644 --- a/x/records/keeper/grpc_query_params_test.go +++ b/x/records/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/records/keeper/grpc_query_user_redemption_record.go b/x/records/keeper/grpc_query_user_redemption_record.go index d1668fd65..9aa6e2e2b 100644 --- a/x/records/keeper/grpc_query_user_redemption_record.go +++ b/x/records/keeper/grpc_query_user_redemption_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func (k Keeper) UserRedemptionRecordAll(c context.Context, req *types.QueryAllUserRedemptionRecordRequest) (*types.QueryAllUserRedemptionRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_for_user.go b/x/records/keeper/grpc_query_user_redemption_record_for_user.go index bb34aa5bb..ca32190d8 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_for_user.go +++ b/x/records/keeper/grpc_query_user_redemption_record_for_user.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func (k Keeper) UserRedemptionRecordForUser(c context.Context, req *types.QueryAllUserRedemptionRecordForUserRequest) (*types.QueryAllUserRedemptionRecordForUserResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_test.go b/x/records/keeper/grpc_query_user_redemption_record_test.go index 08243ab2b..b63a0d946 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_test.go +++ b/x/records/keeper/grpc_query_user_redemption_record_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestUserRedemptionRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/keeper.go b/x/records/keeper/keeper.go index b8ce54010..c625e2dad 100644 --- a/x/records/keeper/keeper.go +++ b/x/records/keeper/keeper.go @@ -6,7 +6,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" @@ -16,9 +16,9 @@ import ( ibctransferkeeper "github.com/cosmos/ibc-go/v3/modules/apps/transfer/keeper" ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + icacallbackskeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) type ( diff --git a/x/records/keeper/keeper_test.go b/x/records/keeper/keeper_test.go index 53a0b8c0c..6ccf83537 100644 --- a/x/records/keeper/keeper_test.go +++ b/x/records/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) type KeeperTestSuite struct { diff --git a/x/records/keeper/msg_server.go b/x/records/keeper/msg_server.go index 220fe60b2..8212b198f 100644 --- a/x/records/keeper/msg_server.go +++ b/x/records/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) type msgServer struct { diff --git a/x/records/keeper/params.go b/x/records/keeper/params.go index db04b1e4a..3bf4ede8a 100644 --- a/x/records/keeper/params.go +++ b/x/records/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) // GetParams get all parameters as types.Params diff --git a/x/records/keeper/params_test.go b/x/records/keeper/params_test.go index aee7ad7c4..a09cdf0bb 100644 --- a/x/records/keeper/params_test.go +++ b/x/records/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestGetParams(t *testing.T) { diff --git a/x/records/keeper/transfer_test.go b/x/records/keeper/transfer_test.go index 2f082393a..315d8fe6c 100644 --- a/x/records/keeper/transfer_test.go +++ b/x/records/keeper/transfer_test.go @@ -7,8 +7,8 @@ import ( ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" - "github.com/Stride-Labs/stride/v3/x/records/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" ) type TransferTestCase struct { diff --git a/x/records/keeper/user_redemption_record.go b/x/records/keeper/user_redemption_record.go index 70a778d37..4dd2f9589 100644 --- a/x/records/keeper/user_redemption_record.go +++ b/x/records/keeper/user_redemption_record.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) // SetUserRedemptionRecord set a specific userRedemptionRecord in the store diff --git a/x/records/keeper/user_redemption_record_test.go b/x/records/keeper/user_redemption_record_test.go index e29000fdb..d6adc8089 100644 --- a/x/records/keeper/user_redemption_record_test.go +++ b/x/records/keeper/user_redemption_record_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) func createNUserRedemptionRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.UserRedemptionRecord { diff --git a/x/records/module.go b/x/records/module.go index 026a83402..8e20753b9 100644 --- a/x/records/module.go +++ b/x/records/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/records/client/cli" - "github.com/Stride-Labs/stride/v3/x/records/keeper" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/client/cli" + "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/types" ) var ( diff --git a/x/records/module_ibc.go b/x/records/module_ibc.go index ba395f6bb..10df9e1bf 100644 --- a/x/records/module_ibc.go +++ b/x/records/module_ibc.go @@ -10,9 +10,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-labs/stride/v4/x/records/keeper" // "google.golang.org/protobuf/proto" <-- this breaks tx parsing diff --git a/x/records/module_simulation.go b/x/records/module_simulation.go index 20694e4e4..c35929710 100644 --- a/x/records/module_simulation.go +++ b/x/records/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-Labs/stride/v3/testutil/sample" - recordssimulation "github.com/Stride-Labs/stride/v3/x/records/simulation" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/testutil/sample" + recordssimulation "github.com/Stride-labs/stride/v4/x/records/simulation" + "github.com/Stride-labs/stride/v4/x/records/types" ) // avoid unused import issue diff --git a/x/records/types/genesis_test.go b/x/records/types/genesis_test.go index 3cba8b88a..162222dd0 100644 --- a/x/records/types/genesis_test.go +++ b/x/records/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-labs/stride/v4/x/records/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/abci.go b/x/stakeibc/abci.go index 721b9cd75..59f9df1b3 100644 --- a/x/stakeibc/abci.go +++ b/x/stakeibc/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/stakeibc/client/cli/query.go b/x/stakeibc/client/cli/query.go index 7d262b4c4..f52693b82 100644 --- a/x/stakeibc/client/cli/query.go +++ b/x/stakeibc/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/stakeibc/client/cli/query_epoch_tracker.go b/x/stakeibc/client/cli/query_epoch_tracker.go index 2c1c22f54..421830657 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker.go +++ b/x/stakeibc/client/cli/query_epoch_tracker.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdListEpochTracker() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_epoch_tracker_test.go b/x/stakeibc/client/cli/query_epoch_tracker_test.go index 098daa66a..b60f158ae 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker_test.go +++ b/x/stakeibc/client/cli/query_epoch_tracker_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/testutil/network" - "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/client/cli/query_host_zone.go b/x/stakeibc/client/cli/query_host_zone.go index c4c9b5013..320f16b02 100644 --- a/x/stakeibc/client/cli/query_host_zone.go +++ b/x/stakeibc/client/cli/query_host_zone.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdListHostZone() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account.go b/x/stakeibc/client/cli/query_ica_account.go index 36fdcce5b..71d264cb7 100644 --- a/x/stakeibc/client/cli/query_ica_account.go +++ b/x/stakeibc/client/cli/query_ica_account.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdShowICAAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account_test.go b/x/stakeibc/client/cli/query_ica_account_test.go index 32c087b5c..8f106072e 100644 --- a/x/stakeibc/client/cli/query_ica_account_test.go +++ b/x/stakeibc/client/cli/query_ica_account_test.go @@ -9,10 +9,10 @@ import ( tmcli "github.com/tendermint/tendermint/libs/cli" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/testutil/network" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func networkWithICAAccountObjects(t *testing.T) (*network.Network, types.ICAAccount) { diff --git a/x/stakeibc/client/cli/query_module_address.go b/x/stakeibc/client/cli/query_module_address.go index e8263e2e5..fe4deb8d8 100644 --- a/x/stakeibc/client/cli/query_module_address.go +++ b/x/stakeibc/client/cli/query_module_address.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/query_params.go b/x/stakeibc/client/cli/query_params.go index d4dec5bbd..0b1aa854c 100644 --- a/x/stakeibc/client/cli/query_params.go +++ b/x/stakeibc/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_register_ica.go b/x/stakeibc/client/cli/query_register_ica.go index 5c4bba667..dc78a592f 100644 --- a/x/stakeibc/client/cli/query_register_ica.go +++ b/x/stakeibc/client/cli/query_register_ica.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdShowInterchainAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_validator.go b/x/stakeibc/client/cli/query_validator.go index 26de55de7..c271d7568 100644 --- a/x/stakeibc/client/cli/query_validator.go +++ b/x/stakeibc/client/cli/query_validator.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdShowValidators() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx.go b/x/stakeibc/client/cli/tx.go index 52cd2beea..7fc37e759 100644 --- a/x/stakeibc/client/cli/tx.go +++ b/x/stakeibc/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/stakeibc/client/cli/tx_add_validator.go b/x/stakeibc/client/cli/tx_add_validator.go index fd82118e2..c4383088f 100644 --- a/x/stakeibc/client/cli/tx_add_validator.go +++ b/x/stakeibc/client/cli/tx_add_validator.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdAddValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_add_validator_proposal.go b/x/stakeibc/client/cli/tx_add_validator_proposal.go index 7e913e80b..e03774293 100644 --- a/x/stakeibc/client/cli/tx_add_validator_proposal.go +++ b/x/stakeibc/client/cli/tx_add_validator_proposal.go @@ -16,7 +16,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func parseAddValidatorProposalFile(cdc codec.JSONCodec, proposalFile string) (types.AddValidatorProposal, error) { diff --git a/x/stakeibc/client/cli/tx_change_validator_weight.go b/x/stakeibc/client/cli/tx_change_validator_weight.go index 9b79f8625..2dd0d9b98 100644 --- a/x/stakeibc/client/cli/tx_change_validator_weight.go +++ b/x/stakeibc/client/cli/tx_change_validator_weight.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go index e0317bb19..c546ed3b1 100644 --- a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go +++ b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_clear_balance.go b/x/stakeibc/client/cli/tx_clear_balance.go index 8259efc1e..b7638fcc6 100644 --- a/x/stakeibc/client/cli/tx_clear_balance.go +++ b/x/stakeibc/client/cli/tx_clear_balance.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_delete_validator.go b/x/stakeibc/client/cli/tx_delete_validator.go index 225f78c4c..97ac4fdaf 100644 --- a/x/stakeibc/client/cli/tx_delete_validator.go +++ b/x/stakeibc/client/cli/tx_delete_validator.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func CmdDeleteValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_liquid_stake.go b/x/stakeibc/client/cli/tx_liquid_stake.go index 916fe54f5..24ef97ed8 100644 --- a/x/stakeibc/client/cli/tx_liquid_stake.go +++ b/x/stakeibc/client/cli/tx_liquid_stake.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_rebalance_validators.go b/x/stakeibc/client/cli/tx_rebalance_validators.go index 53d891d05..6464d2e6d 100644 --- a/x/stakeibc/client/cli/tx_rebalance_validators.go +++ b/x/stakeibc/client/cli/tx_rebalance_validators.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_redeem_stake.go b/x/stakeibc/client/cli/tx_redeem_stake.go index c33b8ec8e..2892d64eb 100644 --- a/x/stakeibc/client/cli/tx_redeem_stake.go +++ b/x/stakeibc/client/cli/tx_redeem_stake.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_register_host_zone.go b/x/stakeibc/client/cli/tx_register_host_zone.go index cd60f09a9..cde5c0db5 100644 --- a/x/stakeibc/client/cli/tx_register_host_zone.go +++ b/x/stakeibc/client/cli/tx_register_host_zone.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_restore_interchain_account.go b/x/stakeibc/client/cli/tx_restore_interchain_account.go index 96a23397b..6f73d8c16 100644 --- a/x/stakeibc/client/cli/tx_restore_interchain_account.go +++ b/x/stakeibc/client/cli/tx_restore_interchain_account.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_update_delegation.go b/x/stakeibc/client/cli/tx_update_delegation.go index fb22800d2..f0849cc1b 100644 --- a/x/stakeibc/client/cli/tx_update_delegation.go +++ b/x/stakeibc/client/cli/tx_update_delegation.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/proposal_handler.go b/x/stakeibc/client/proposal_handler.go index 5f0031adf..3b913f240 100644 --- a/x/stakeibc/client/proposal_handler.go +++ b/x/stakeibc/client/proposal_handler.go @@ -1,8 +1,8 @@ package client import ( - "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/v3/x/stakeibc/client/rest" + "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" + "github.com/Stride-labs/stride/v4/x/stakeibc/client/rest" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" ) diff --git a/x/stakeibc/genesis.go b/x/stakeibc/genesis.go index 1fa42dbce..336e261d3 100644 --- a/x/stakeibc/genesis.go +++ b/x/stakeibc/genesis.go @@ -3,8 +3,8 @@ package stakeibc import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/stakeibc/genesis_test.go b/x/stakeibc/genesis_test.go index ec5a426c4..761f62637 100644 --- a/x/stakeibc/genesis_test.go +++ b/x/stakeibc/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestGenesis(t *testing.T) { diff --git a/x/stakeibc/handler.go b/x/stakeibc/handler.go index a1ef95510..b03d52f67 100644 --- a/x/stakeibc/handler.go +++ b/x/stakeibc/handler.go @@ -8,8 +8,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // NewHandler ... diff --git a/x/stakeibc/keeper/delegation.go b/x/stakeibc/keeper/delegation.go index 9d91792a7..df30f13cb 100644 --- a/x/stakeibc/keeper/delegation.go +++ b/x/stakeibc/keeper/delegation.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // SetDelegation set delegation in the store diff --git a/x/stakeibc/keeper/delegation_test.go b/x/stakeibc/keeper/delegation_test.go index 4cc642807..4f347386c 100644 --- a/x/stakeibc/keeper/delegation_test.go +++ b/x/stakeibc/keeper/delegation_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func createTestDelegation(keeper *keeper.Keeper, ctx sdk.Context) types.Delegation { diff --git a/x/stakeibc/keeper/deposit_records.go b/x/stakeibc/keeper/deposit_records.go index 78462fb04..a885464f4 100644 --- a/x/stakeibc/keeper/deposit_records.go +++ b/x/stakeibc/keeper/deposit_records.go @@ -11,9 +11,9 @@ import ( clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/utils" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/utils" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) CreateDepositRecordsForEpoch(ctx sdk.Context, epochNumber uint64) { diff --git a/x/stakeibc/keeper/deposit_records_test.go b/x/stakeibc/keeper/deposit_records_test.go index f6ee00c6d..31d649fb4 100644 --- a/x/stakeibc/keeper/deposit_records_test.go +++ b/x/stakeibc/keeper/deposit_records_test.go @@ -10,10 +10,10 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type TestDepositRecords struct { diff --git a/x/stakeibc/keeper/epoch_elapsed_shares_test.go b/x/stakeibc/keeper/epoch_elapsed_shares_test.go index 5c2571f57..9cf8826cb 100644 --- a/x/stakeibc/keeper/epoch_elapsed_shares_test.go +++ b/x/stakeibc/keeper/epoch_elapsed_shares_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // These are used to indicate that the value does not matter for the sake of the test diff --git a/x/stakeibc/keeper/epoch_tracker.go b/x/stakeibc/keeper/epoch_tracker.go index 0808ff686..4d50da748 100644 --- a/x/stakeibc/keeper/epoch_tracker.go +++ b/x/stakeibc/keeper/epoch_tracker.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // SetEpochTracker set a specific epochTracker in the store from its index diff --git a/x/stakeibc/keeper/epoch_tracker_test.go b/x/stakeibc/keeper/epoch_tracker_test.go index 065ff0882..8a1ad9345 100644 --- a/x/stakeibc/keeper/epoch_tracker_test.go +++ b/x/stakeibc/keeper/epoch_tracker_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/gov.go b/x/stakeibc/keeper/gov.go index df3db8d9f..56401158b 100644 --- a/x/stakeibc/keeper/gov.go +++ b/x/stakeibc/keeper/gov.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) AddValidatorProposal(ctx sdk.Context, msg *types.AddValidatorProposal) error { diff --git a/x/stakeibc/keeper/grpc_query.go b/x/stakeibc/keeper/grpc_query.go index 35b16ee98..493e9d3da 100644 --- a/x/stakeibc/keeper/grpc_query.go +++ b/x/stakeibc/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker.go b/x/stakeibc/keeper/grpc_query_epoch_tracker.go index 9addf8e49..e9b55f884 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) EpochTrackerAll(c context.Context, req *types.QueryAllEpochTrackerRequest) (*types.QueryAllEpochTrackerResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go index 45e57c292..9d1d3398b 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/grpc_query_host_zone.go b/x/stakeibc/keeper/grpc_query_host_zone.go index 32cff02e6..efe46b38d 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone.go +++ b/x/stakeibc/keeper/grpc_query_host_zone.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) HostZoneAll(c context.Context, req *types.QueryAllHostZoneRequest) (*types.QueryAllHostZoneResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_host_zone_test.go b/x/stakeibc/keeper/grpc_query_host_zone_test.go index a07db8256..c5c071e18 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone_test.go +++ b/x/stakeibc/keeper/grpc_query_host_zone_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestHostZoneQuerySingle(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account.go b/x/stakeibc/keeper/grpc_query_ica_account.go index d68868307..7c68c5d93 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account.go +++ b/x/stakeibc/keeper/grpc_query_ica_account.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) ICAAccount(c context.Context, req *types.QueryGetICAAccountRequest) (*types.QueryGetICAAccountResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account_test.go b/x/stakeibc/keeper/grpc_query_ica_account_test.go index 13f032a11..77170295d 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account_test.go +++ b/x/stakeibc/keeper/grpc_query_ica_account_test.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (suite *KeeperTestSuite) TestICAAccountQuery() { diff --git a/x/stakeibc/keeper/grpc_query_module_address.go b/x/stakeibc/keeper/grpc_query_module_address.go index bdc0cb632..368128f8e 100644 --- a/x/stakeibc/keeper/grpc_query_module_address.go +++ b/x/stakeibc/keeper/grpc_query_module_address.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) ModuleAddress(goCtx context.Context, req *types.QueryModuleAddressRequest) (*types.QueryModuleAddressResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params.go b/x/stakeibc/keeper/grpc_query_params.go index bc93eef76..c5fc726c8 100644 --- a/x/stakeibc/keeper/grpc_query_params.go +++ b/x/stakeibc/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params_test.go b/x/stakeibc/keeper/grpc_query_params_test.go index 79406cadc..e553038f8 100644 --- a/x/stakeibc/keeper/grpc_query_params_test.go +++ b/x/stakeibc/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_register_ica.go b/x/stakeibc/keeper/grpc_query_register_ica.go index 7523cc7c5..fd9119e71 100644 --- a/x/stakeibc/keeper/grpc_query_register_ica.go +++ b/x/stakeibc/keeper/grpc_query_register_ica.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // InterchainAccountFromAddress implements the Query/InterchainAccountFromAddress gRPC method diff --git a/x/stakeibc/keeper/grpc_query_validator.go b/x/stakeibc/keeper/grpc_query_validator.go index 4b50ac57a..dcb2180cc 100644 --- a/x/stakeibc/keeper/grpc_query_validator.go +++ b/x/stakeibc/keeper/grpc_query_validator.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) Validators(c context.Context, req *types.QueryGetValidatorsRequest) (*types.QueryGetValidatorsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_validator_test.go b/x/stakeibc/keeper/grpc_query_validator_test.go index ee495093f..b08f17881 100644 --- a/x/stakeibc/keeper/grpc_query_validator_test.go +++ b/x/stakeibc/keeper/grpc_query_validator_test.go @@ -8,9 +8,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestValidatorQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go index 5e8be53e3..b791432b2 100644 --- a/x/stakeibc/keeper/hooks.go +++ b/x/stakeibc/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/utils" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/utils" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // TODO [TEST-127]: ensure all timeouts are less than the epoch length diff --git a/x/stakeibc/keeper/host_zone.go b/x/stakeibc/keeper/host_zone.go index 86686defb..d543086f6 100644 --- a/x/stakeibc/keeper/host_zone.go +++ b/x/stakeibc/keeper/host_zone.go @@ -11,7 +11,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // GetHostZoneCount get the total number of hostZone diff --git a/x/stakeibc/keeper/host_zone_test.go b/x/stakeibc/keeper/host_zone_test.go index 0a60488c9..54651f313 100644 --- a/x/stakeibc/keeper/host_zone_test.go +++ b/x/stakeibc/keeper/host_zone_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func createNHostZone(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.HostZone { diff --git a/x/stakeibc/keeper/ica_account.go b/x/stakeibc/keeper/ica_account.go index 488eb509c..b58d076cc 100644 --- a/x/stakeibc/keeper/ica_account.go +++ b/x/stakeibc/keeper/ica_account.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // SetICAAccount set iCAAccount in the store diff --git a/x/stakeibc/keeper/ica_account_test.go b/x/stakeibc/keeper/ica_account_test.go index 475e06171..ac0639652 100644 --- a/x/stakeibc/keeper/ica_account_test.go +++ b/x/stakeibc/keeper/ica_account_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (suite *KeeperTestSuite) createTestICAAccount() types.ICAAccount { diff --git a/x/stakeibc/keeper/icacallbacks.go b/x/stakeibc/keeper/icacallbacks.go index d24ccff58..8d01792ef 100644 --- a/x/stakeibc/keeper/icacallbacks.go +++ b/x/stakeibc/keeper/icacallbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/stakeibc/keeper/icacallbacks_claim.go b/x/stakeibc/keeper/icacallbacks_claim.go index 3b1103348..ef74bed46 100644 --- a/x/stakeibc/keeper/icacallbacks_claim.go +++ b/x/stakeibc/keeper/icacallbacks_claim.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_claim_test.go b/x/stakeibc/keeper/icacallbacks_claim_test.go index 58c80aef9..e314d1ec0 100644 --- a/x/stakeibc/keeper/icacallbacks_claim_test.go +++ b/x/stakeibc/keeper/icacallbacks_claim_test.go @@ -8,9 +8,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type ClaimCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_delegate.go b/x/stakeibc/keeper/icacallbacks_delegate.go index 1d260d19a..6bca7c9f8 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate.go +++ b/x/stakeibc/keeper/icacallbacks_delegate.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_delegate_test.go b/x/stakeibc/keeper/icacallbacks_delegate_test.go index 7af302f10..897cc3e64 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_delegate_test.go @@ -9,10 +9,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type DelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_rebalance.go b/x/stakeibc/keeper/icacallbacks_rebalance.go index 246db3dc8..deadbe748 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_rebalance_test.go b/x/stakeibc/keeper/icacallbacks_rebalance_test.go index 825fd2e8e..8d8d1f247 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance_test.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type RebalanceCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_redemption.go b/x/stakeibc/keeper/icacallbacks_redemption.go index f0b050e54..fb7425a21 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption.go +++ b/x/stakeibc/keeper/icacallbacks_redemption.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_redemption_test.go b/x/stakeibc/keeper/icacallbacks_redemption_test.go index a3aaea191..b986dab0c 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption_test.go +++ b/x/stakeibc/keeper/icacallbacks_redemption_test.go @@ -8,10 +8,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type RedemptionCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_reinvest.go b/x/stakeibc/keeper/icacallbacks_reinvest.go index 0fa669b8e..c495fb19f 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest.go @@ -3,11 +3,11 @@ package keeper import ( "fmt" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_reinvest_test.go b/x/stakeibc/keeper/icacallbacks_reinvest_test.go index dc85165c2..bf67659a1 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest_test.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest_test.go @@ -6,12 +6,12 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type ReinvestCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_undelegate.go b/x/stakeibc/keeper/icacallbacks_undelegate.go index 7b7d36ac0..d5b3cf4ce 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/icacallbacks" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/icacallbacks" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_undelegate_test.go b/x/stakeibc/keeper/icacallbacks_undelegate_test.go index 87b88ff62..2bcc68c93 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate_test.go @@ -10,10 +10,10 @@ import ( "github.com/gogo/protobuf/proto" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type UndelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks.go b/x/stakeibc/keeper/icqcallbacks.go index 59a12585a..b2ed492d5 100644 --- a/x/stakeibc/keeper/icqcallbacks.go +++ b/x/stakeibc/keeper/icqcallbacks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" ) const ( diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go index 581bfcee5..26796fdd7 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go @@ -9,9 +9,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // DelegatorSharesCallback is a callback handler for UpdateValidatorSharesExchRate queries. diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go index 28d44636d..7473e5db7 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type DelegatorSharesICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go index 819e9626c..84cd85564 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go @@ -8,9 +8,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // ValidatorCallback is a callback handler for validator queries. diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go index ac20a2949..428f9023b 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type ValidatorICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go index ac8a0adef..388b3f27a 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go @@ -8,8 +8,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/spf13/cast" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // WithdrawalBalanceCallback is a callback handler for WithdrawalBalance queries. diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go index e554e91fb..ac16271c9 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go @@ -8,11 +8,11 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type WithdrawalBalanceICQCallbackState struct { diff --git a/x/stakeibc/keeper/keeper.go b/x/stakeibc/keeper/keeper.go index 194088458..b18de9176 100644 --- a/x/stakeibc/keeper/keeper.go +++ b/x/stakeibc/keeper/keeper.go @@ -13,8 +13,8 @@ import ( capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - icqkeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + icqkeeper "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" @@ -22,9 +22,9 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" ibctmtypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icacallbackskeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + recordsmodulekeeper "github.com/Stride-labs/stride/v4/x/records/keeper" ) type ( diff --git a/x/stakeibc/keeper/keeper_test.go b/x/stakeibc/keeper/keeper_test.go index 8ba0a81d3..321c624aa 100644 --- a/x/stakeibc/keeper/keeper_test.go +++ b/x/stakeibc/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) const ( diff --git a/x/stakeibc/keeper/min_validator_requirements.go b/x/stakeibc/keeper/min_validator_requirements.go index d5f5ab08e..9ac479935 100644 --- a/x/stakeibc/keeper/min_validator_requirements.go +++ b/x/stakeibc/keeper/min_validator_requirements.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // SetMinValidatorRequirements set minValidatorRequirements in the store diff --git a/x/stakeibc/keeper/min_validator_requirements_test.go b/x/stakeibc/keeper/min_validator_requirements_test.go index a6128e48d..1834d4719 100644 --- a/x/stakeibc/keeper/min_validator_requirements_test.go +++ b/x/stakeibc/keeper/min_validator_requirements_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func createTestMinValidatorRequirements(keeper *keeper.Keeper, ctx sdk.Context) types.MinValidatorRequirements { diff --git a/x/stakeibc/keeper/msg_server.go b/x/stakeibc/keeper/msg_server.go index e800352fc..07cdfbd18 100644 --- a/x/stakeibc/keeper/msg_server.go +++ b/x/stakeibc/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type msgServer struct { diff --git a/x/stakeibc/keeper/msg_server_add_validator.go b/x/stakeibc/keeper/msg_server_add_validator.go index 8d0a4d253..3156664e5 100644 --- a/x/stakeibc/keeper/msg_server_add_validator.go +++ b/x/stakeibc/keeper/msg_server_add_validator.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) AddValidator(goCtx context.Context, msg *types.MsgAddValidator) (*types.MsgAddValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_add_validator_test.go b/x/stakeibc/keeper/msg_server_add_validator_test.go index d0ab7f208..7f26046b7 100644 --- a/x/stakeibc/keeper/msg_server_add_validator_test.go +++ b/x/stakeibc/keeper/msg_server_add_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type AddValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_change_validator_weight.go b/x/stakeibc/keeper/msg_server_change_validator_weight.go index d496086ae..34d71c1c8 100644 --- a/x/stakeibc/keeper/msg_server_change_validator_weight.go +++ b/x/stakeibc/keeper/msg_server_change_validator_weight.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) ChangeValidatorWeight(goCtx context.Context, msg *types.MsgChangeValidatorWeight) (*types.MsgChangeValidatorWeightResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go index a8f6654ec..8dce3ab71 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go @@ -6,14 +6,14 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type IcaTx struct { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go index aeeb6fe06..ff1680df7 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go @@ -9,10 +9,10 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type ClaimUndelegatedState struct { diff --git a/x/stakeibc/keeper/msg_server_clear_balance.go b/x/stakeibc/keeper/msg_server_clear_balance.go index 7f3e12c54..ef08cb058 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance.go +++ b/x/stakeibc/keeper/msg_server_clear_balance.go @@ -9,7 +9,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) ClearBalance(goCtx context.Context, msg *types.MsgClearBalance) (*types.MsgClearBalanceResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_clear_balance_test.go b/x/stakeibc/keeper/msg_server_clear_balance_test.go index d6054507c..bb8cc120b 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance_test.go +++ b/x/stakeibc/keeper/msg_server_clear_balance_test.go @@ -8,8 +8,8 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type ClearBalanceState struct { diff --git a/x/stakeibc/keeper/msg_server_delete_validator.go b/x/stakeibc/keeper/msg_server_delete_validator.go index 701ab7c92..da3439e98 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator.go +++ b/x/stakeibc/keeper/msg_server_delete_validator.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) DeleteValidator(goCtx context.Context, msg *types.MsgDeleteValidator) (*types.MsgDeleteValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_delete_validator_test.go b/x/stakeibc/keeper/msg_server_delete_validator_test.go index f3532e4b0..45afe0aae 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator_test.go +++ b/x/stakeibc/keeper/msg_server_delete_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type DeleteValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake.go b/x/stakeibc/keeper/msg_server_liquid_stake.go index 5f169c63b..53a29da26 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake.go @@ -8,8 +8,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) LiquidStake(goCtx context.Context, msg *types.MsgLiquidStake) (*types.MsgLiquidStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake_test.go b/x/stakeibc/keeper/msg_server_liquid_stake_test.go index bcf8db1b8..d96eedee0 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake_test.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type Account struct { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators.go b/x/stakeibc/keeper/msg_server_rebalance_validators.go index 7ebc464ac..bbd14917e 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators.go @@ -10,8 +10,8 @@ import ( stakingTypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/utils" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func abs(n int64) int64 { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go index d8d972846..a11b4dfb0 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go @@ -7,9 +7,9 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" ibctesting "github.com/cosmos/ibc-go/v3/testing" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type RebalanceValidatorsTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake.go b/x/stakeibc/keeper/msg_server_redeem_stake.go index a81012f88..c406ff9e8 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) func (k msgServer) RedeemStake(goCtx context.Context, msg *types.MsgRedeemStake) (*types.MsgRedeemStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake_test.go b/x/stakeibc/keeper/msg_server_redeem_stake_test.go index 7106b7571..1a5da8fd5 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake_test.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake_test.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cast" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type RedeemStakeState struct { diff --git a/x/stakeibc/keeper/msg_server_register_host_zone.go b/x/stakeibc/keeper/msg_server_register_host_zone.go index ce5988052..7332c0530 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone.go @@ -6,9 +6,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/msg_server_register_host_zone_test.go b/x/stakeibc/keeper/msg_server_register_host_zone_test.go index 133ccf266..b376e7a05 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone_test.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone_test.go @@ -11,10 +11,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type RegisterHostZoneTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account.go b/x/stakeibc/keeper/msg_server_restore_interchain_account.go index 6d3edc726..f005e70a4 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account.go @@ -8,8 +8,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k msgServer) RestoreInterchainAccount(goCtx context.Context, msg *types.MsgRestoreInterchainAccount) (*types.MsgRestoreInterchainAccountResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go index 16f126df5..3d41be74d 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go @@ -10,8 +10,8 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type DepositRecordStatusUpdate struct { diff --git a/x/stakeibc/keeper/msg_server_submit_tx.go b/x/stakeibc/keeper/msg_server_submit_tx.go index 9a70a6b58..da88a3f51 100644 --- a/x/stakeibc/keeper/msg_server_submit_tx.go +++ b/x/stakeibc/keeper/msg_server_submit_tx.go @@ -8,10 +8,10 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" @@ -19,8 +19,8 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" diff --git a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go index 0a4e6cad2..967c81d66 100644 --- a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go +++ b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // This kicks off two ICQs, each with a callback, that will update the number of tokens on a validator diff --git a/x/stakeibc/keeper/params.go b/x/stakeibc/keeper/params.go index 0ab0eb023..797169ab0 100644 --- a/x/stakeibc/keeper/params.go +++ b/x/stakeibc/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // GetParams get all parameters as types.Params diff --git a/x/stakeibc/keeper/params_test.go b/x/stakeibc/keeper/params_test.go index c8b71508d..b9e746877 100644 --- a/x/stakeibc/keeper/params_test.go +++ b/x/stakeibc/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestGetParams(t *testing.T) { diff --git a/x/stakeibc/keeper/unbonding_records.go b/x/stakeibc/keeper/unbonding_records.go index cbc69d312..16851d7e9 100644 --- a/x/stakeibc/keeper/unbonding_records.go +++ b/x/stakeibc/keeper/unbonding_records.go @@ -10,10 +10,10 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" - recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) CreateEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64) bool { diff --git a/x/stakeibc/keeper/unbonding_records_cleanup_test.go b/x/stakeibc/keeper/unbonding_records_cleanup_test.go index 58ad7ca85..4755707b9 100644 --- a/x/stakeibc/keeper/unbonding_records_cleanup_test.go +++ b/x/stakeibc/keeper/unbonding_records_cleanup_test.go @@ -3,9 +3,9 @@ package keeper_test import ( _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type CleanupEpochUnbondingRecordsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go index b58731340..a8b7a9b8b 100644 --- a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go +++ b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type GetHostZoneUnbondingMsgsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go index e285e2c54..527a4cc30 100644 --- a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go +++ b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type InitiateAllHostZoneUnbondingsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go index 6a324e1c2..6e26d0851 100644 --- a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go +++ b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type SweepUnbondedTokensTestCase struct { diff --git a/x/stakeibc/keeper/update_redemption_rates_test.go b/x/stakeibc/keeper/update_redemption_rates_test.go index 4badf0c33..8d8f2bc15 100644 --- a/x/stakeibc/keeper/update_redemption_rates_test.go +++ b/x/stakeibc/keeper/update_redemption_rates_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) type UpdateRedemptionRatesTestCase struct { diff --git a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go index afc129a7f..6f9c13583 100644 --- a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go +++ b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go @@ -6,9 +6,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // ================================ 1: QueryValidatorExchangeRate ============================================= diff --git a/x/stakeibc/keeper/validator.go b/x/stakeibc/keeper/validator.go index ed5597b1a..cc85ca40e 100644 --- a/x/stakeibc/keeper/validator.go +++ b/x/stakeibc/keeper/validator.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // SetValidator set validator in the store diff --git a/x/stakeibc/keeper/validator_selection.go b/x/stakeibc/keeper/validator_selection.go index 54aa7fc1c..17426d7f2 100644 --- a/x/stakeibc/keeper/validator_selection.go +++ b/x/stakeibc/keeper/validator_selection.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func (k Keeper) GetValidatorDelegationAmtDifferences(ctx sdk.Context, hostZone types.HostZone) (map[string]int64, error) { diff --git a/x/stakeibc/keeper/validator_test.go b/x/stakeibc/keeper/validator_test.go index 32c6c196a..860d47a04 100644 --- a/x/stakeibc/keeper/validator_test.go +++ b/x/stakeibc/keeper/validator_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" - "github.com/Stride-Labs/stride/v3/testutil/nullify" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" + "github.com/Stride-labs/stride/v4/testutil/nullify" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func createTestValidator(keeper *keeper.Keeper, ctx sdk.Context) types.Validator { diff --git a/x/stakeibc/module.go b/x/stakeibc/module.go index 76c0db081..e00beca85 100644 --- a/x/stakeibc/module.go +++ b/x/stakeibc/module.go @@ -19,9 +19,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) var ( diff --git a/x/stakeibc/module_ibc.go b/x/stakeibc/module_ibc.go index c10bbc3cc..3a9b12155 100644 --- a/x/stakeibc/module_ibc.go +++ b/x/stakeibc/module_ibc.go @@ -11,10 +11,10 @@ import ( host "github.com/cosmos/ibc-go/v3/modules/core/24-host" ibcexported "github.com/cosmos/ibc-go/v3/modules/core/exported" - icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/stakeibc/module_simulation.go b/x/stakeibc/module_simulation.go index a2878647b..4f242206a 100644 --- a/x/stakeibc/module_simulation.go +++ b/x/stakeibc/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-Labs/stride/v3/testutil/sample" - stakeibcsimulation "github.com/Stride-Labs/stride/v3/x/stakeibc/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/testutil/sample" + stakeibcsimulation "github.com/Stride-labs/stride/v4/x/stakeibc/simulation" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) // avoid unused import issue diff --git a/x/stakeibc/proposal_handler.go b/x/stakeibc/proposal_handler.go index 1a011f54b..aa37ea18f 100644 --- a/x/stakeibc/proposal_handler.go +++ b/x/stakeibc/proposal_handler.go @@ -5,9 +5,9 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func NewStakeibcProposalHandler(k keeper.Keeper) govtypes.Handler { diff --git a/x/stakeibc/simulation/add_validator.go b/x/stakeibc/simulation/add_validator.go index 79f7b0abf..a112cbc88 100644 --- a/x/stakeibc/simulation/add_validator.go +++ b/x/stakeibc/simulation/add_validator.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgAddValidator( diff --git a/x/stakeibc/simulation/change_validator_weight.go b/x/stakeibc/simulation/change_validator_weight.go index 5fef1fcff..809065d7b 100644 --- a/x/stakeibc/simulation/change_validator_weight.go +++ b/x/stakeibc/simulation/change_validator_weight.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgChangeValidatorWeight( diff --git a/x/stakeibc/simulation/claim_undelegated_tokens.go b/x/stakeibc/simulation/claim_undelegated_tokens.go index 83e202f5f..775e63ef7 100644 --- a/x/stakeibc/simulation/claim_undelegated_tokens.go +++ b/x/stakeibc/simulation/claim_undelegated_tokens.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgClaimUndelegatedTokens( diff --git a/x/stakeibc/simulation/delete_validator.go b/x/stakeibc/simulation/delete_validator.go index 12c43edb6..b353e48ee 100644 --- a/x/stakeibc/simulation/delete_validator.go +++ b/x/stakeibc/simulation/delete_validator.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgDeleteValidator( diff --git a/x/stakeibc/simulation/liquid_stake.go b/x/stakeibc/simulation/liquid_stake.go index d66ef7e1c..4c516305f 100644 --- a/x/stakeibc/simulation/liquid_stake.go +++ b/x/stakeibc/simulation/liquid_stake.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgLiquidStake( diff --git a/x/stakeibc/simulation/rebalance_validators.go b/x/stakeibc/simulation/rebalance_validators.go index ba2fdf4bb..05a41274f 100644 --- a/x/stakeibc/simulation/rebalance_validators.go +++ b/x/stakeibc/simulation/rebalance_validators.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgRebalanceValidators( diff --git a/x/stakeibc/simulation/restore_interchain_account.go b/x/stakeibc/simulation/restore_interchain_account.go index 6db99c636..70a1cb7f9 100644 --- a/x/stakeibc/simulation/restore_interchain_account.go +++ b/x/stakeibc/simulation/restore_interchain_account.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgRestoreInterchainAccount( diff --git a/x/stakeibc/simulation/update_delegation.go b/x/stakeibc/simulation/update_delegation.go index f992e113c..7872018cb 100644 --- a/x/stakeibc/simulation/update_delegation.go +++ b/x/stakeibc/simulation/update_delegation.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func SimulateMsgUpdateValidatorSharesExchRate( diff --git a/x/stakeibc/types/genesis_test.go b/x/stakeibc/types/genesis_test.go index 48b2de9f4..9b716b519 100644 --- a/x/stakeibc/types/genesis_test.go +++ b/x/stakeibc/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + "github.com/Stride-labs/stride/v4/x/stakeibc/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/types/message_add_validator.go b/x/stakeibc/types/message_add_validator.go index cd0d9b029..b7e3117da 100644 --- a/x/stakeibc/types/message_add_validator.go +++ b/x/stakeibc/types/message_add_validator.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgAddValidator = "add_validator" diff --git a/x/stakeibc/types/message_add_validator_test.go b/x/stakeibc/types/message_add_validator_test.go index f6eaf74a9..e3c618cb3 100644 --- a/x/stakeibc/types/message_add_validator_test.go +++ b/x/stakeibc/types/message_add_validator_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgAddValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_change_validator_weight.go b/x/stakeibc/types/message_change_validator_weight.go index ad1b048fd..37d309494 100644 --- a/x/stakeibc/types/message_change_validator_weight.go +++ b/x/stakeibc/types/message_change_validator_weight.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgChangeValidatorWeight = "change_validator_weight" diff --git a/x/stakeibc/types/message_change_validator_weight_test.go b/x/stakeibc/types/message_change_validator_weight_test.go index 42d4f15c5..01ac944bb 100644 --- a/x/stakeibc/types/message_change_validator_weight_test.go +++ b/x/stakeibc/types/message_change_validator_weight_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgChangeValidatorWeight_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_claim_undelegated_tokens.go b/x/stakeibc/types/message_claim_undelegated_tokens.go index 040ae6149..ec2438d6a 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgClaimUndelegatedTokens = "claim_undelegated_tokens" diff --git a/x/stakeibc/types/message_claim_undelegated_tokens_test.go b/x/stakeibc/types/message_claim_undelegated_tokens_test.go index 459ef2f6c..8e41afca7 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens_test.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgClaimUndelegatedTokens_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_clear_balance.go b/x/stakeibc/types/message_clear_balance.go index 046d66515..7326e93e8 100644 --- a/x/stakeibc/types/message_clear_balance.go +++ b/x/stakeibc/types/message_clear_balance.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgClearBalance = "clear_balance" diff --git a/x/stakeibc/types/message_delete_validator.go b/x/stakeibc/types/message_delete_validator.go index 362159708..c5946172d 100644 --- a/x/stakeibc/types/message_delete_validator.go +++ b/x/stakeibc/types/message_delete_validator.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgDeleteValidator = "delete_validator" diff --git a/x/stakeibc/types/message_delete_validator_test.go b/x/stakeibc/types/message_delete_validator_test.go index ca3b7f171..215b8e2f1 100644 --- a/x/stakeibc/types/message_delete_validator_test.go +++ b/x/stakeibc/types/message_delete_validator_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgDeleteValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_liquid_stake_test.go b/x/stakeibc/types/message_liquid_stake_test.go index 4802a9849..0a43a7988 100644 --- a/x/stakeibc/types/message_liquid_stake_test.go +++ b/x/stakeibc/types/message_liquid_stake_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgLiquidStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_rebalance_validators.go b/x/stakeibc/types/message_rebalance_validators.go index 5fc6e1f4c..7e31073eb 100644 --- a/x/stakeibc/types/message_rebalance_validators.go +++ b/x/stakeibc/types/message_rebalance_validators.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgRebalanceValidators = "rebalance_validators" diff --git a/x/stakeibc/types/message_rebalance_validators_test.go b/x/stakeibc/types/message_rebalance_validators_test.go index 09de37384..0b4e1a9a9 100644 --- a/x/stakeibc/types/message_rebalance_validators_test.go +++ b/x/stakeibc/types/message_rebalance_validators_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgRebalanceValidators_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_redeem_stake_test.go b/x/stakeibc/types/message_redeem_stake_test.go index e7da352e7..a8deec580 100644 --- a/x/stakeibc/types/message_redeem_stake_test.go +++ b/x/stakeibc/types/message_redeem_stake_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgRedeemStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_register_host_zone.go b/x/stakeibc/types/message_register_host_zone.go index 531da3588..10fc5298b 100644 --- a/x/stakeibc/types/message_register_host_zone.go +++ b/x/stakeibc/types/message_register_host_zone.go @@ -8,7 +8,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgRegisterHostZone = "register_host_zone" diff --git a/x/stakeibc/types/message_restore_interchain_account_test.go b/x/stakeibc/types/message_restore_interchain_account_test.go index f40edf82e..9c18355a2 100644 --- a/x/stakeibc/types/message_restore_interchain_account_test.go +++ b/x/stakeibc/types/message_restore_interchain_account_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-Labs/stride/v3/testutil/sample" + "github.com/Stride-labs/stride/v4/testutil/sample" ) func TestMsgRestoreInterchainAccount_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_update_delegation.go b/x/stakeibc/types/message_update_delegation.go index ca812afd6..93ca0586f 100644 --- a/x/stakeibc/types/message_update_delegation.go +++ b/x/stakeibc/types/message_update_delegation.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-labs/stride/v4/utils" ) const TypeMsgUpdateValidatorSharesExchRate = "update_validator_shares_exch_rate" From c0937f355fde7a93405584dbf65fb48868ebf100 Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Tue, 29 Nov 2022 08:53:58 -0500 Subject: [PATCH 12/27] bump ledger --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 9fbabaf01..3f067645f 100644 --- a/go.mod +++ b/go.mod @@ -109,7 +109,7 @@ require ( github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/zondax/hid v0.9.0 // indirect - github.com/zondax/ledger-go v0.12.2 // indirect + github.com/zondax/ledger-go v0.14.0 // indirect go.etcd.io/bbolt v1.3.6 // indirect golang.org/x/crypto v0.1.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect From 2b5b7376c9dd0c562e9b6b20efabb51ea391bbab Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Tue, 29 Nov 2022 08:54:29 -0500 Subject: [PATCH 13/27] go mod tidy --- go.mod | 3 ++- go.sum | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 3f067645f..41b6ac8c6 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/Stride-labs/stride/v4 go 1.19 require ( + github.com/Stride-Labs/stride/v3 v3.0.1 github.com/cosmos/cosmos-proto v1.0.0-alpha8 github.com/cosmos/cosmos-sdk v0.45.11 github.com/cosmos/gogoproto v1.4.3 @@ -108,7 +109,7 @@ require ( github.com/tendermint/btcd v0.1.1 // indirect github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/zondax/hid v0.9.0 // indirect + github.com/zondax/hid v0.9.1 // indirect github.com/zondax/ledger-go v0.14.0 // indirect go.etcd.io/bbolt v1.3.6 // indirect golang.org/x/crypto v0.1.0 // indirect diff --git a/go.sum b/go.sum index 376eaa3e1..717c2bd55 100644 --- a/go.sum +++ b/go.sum @@ -71,6 +71,8 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/Stride-Labs/cast v0.0.3 h1:eM3n/t3hSxb+iw9LDo3r/uGBp3w4U7wPv40GKMtJ1dI= github.com/Stride-Labs/cast v0.0.3/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/Stride-Labs/stride/v3 v3.0.1 h1:8rwiCVK52wOd1fbNRmRzXEF9Brn8AvoLEYJr6cKFqnE= +github.com/Stride-Labs/stride/v3 v3.0.1/go.mod h1:UtbfWt/rk78K57fzSYkDQJNVA9+pPfEUCzvmcbiNR+s= github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= @@ -780,10 +782,10 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/zondax/hid v0.9.0 h1:eiT3P6vNxAEVxXMw66eZUAAnU2zD33JBkfG/EnfAKl8= -github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v0.12.2 h1:HnuUEKylJ6GqNrLMwghCTHRRAsnr8NlriawMVaFZ7w0= -github.com/zondax/ledger-go v0.12.2/go.mod h1:KatxXrVDzgWwbssUWsF5+cOJHXPvzQ09YSlzGNuhOEo= +github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= +github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= +github.com/zondax/ledger-go v0.14.0 h1:dlMC7aO8Wss1CxBq2I96kZ69Nh1ligzbs8UWOtq/AsA= +github.com/zondax/ledger-go v0.14.0/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= From f0fd73873526e9296ff4636986e29c6997521df9 Mon Sep 17 00:00:00 2001 From: Aidan Salzmann Date: Tue, 29 Nov 2022 09:21:27 -0500 Subject: [PATCH 14/27] changelog --- CHANGELOG.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 866c94a0f..e697d2b68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,15 +42,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v4.0.0](https://github.com/Stride-Labs/stride/releases/tag/v4.0.0) - 2022-11-27 ### On-Chain changes - - +1. Dependency bumps ([384178b2c](https://github.com/Stride-Labs/stride/commit/384178b2cf98e9af0815ffaf3c29649f41784f3e)), ([0a2297ea](https://github.com/Stride-Labs/stride/commit/0a2297eabe287d38723ab8213d5256ce34d2bb2d)) +2. Add max claimable tokens query ([613e8571](https://github.com/Stride-Labs/stride/commit/613e85711485d3bebeeb5777ba35e701cc795a43)) +3. Interchain query proto cleanup ([9d5e1f6d](https://github.com/Stride-Labs/stride/commit/9d5e1f6d9e24113afa5b7f21e72a736bc8059b7f)) +4. Add undelegation logging ([e74c34d12](https://github.com/Stride-Labs/stride/commit/e74c34d12a462e2d23463d717abfe01db9490d8f)) +5. v4 upgrade changes (including fixing the authz store) ([]()) +6. Revert HostZoneUnbonding status upon channel restoration ([730cf3d38](https://github.com/Stride-Labs/stride/commit/730cf3d38589887b57dfe3dd5de071273d5a9b73)) ### Off-Chain changes These changes do not affect any on-chain functionality, but have been implemented since `v4.0.0`. - - - +1. Update Go Relayer to use Stride v3 ([faf3e7b2](https://github.com/Stride-Labs/stride/commit/faf3e7b21f4213b64a61bc2de5b400964cb61963)) +2. Generalized Integration Tests ([80e8e2a4](https://github.com/Stride-Labs/stride/commit/80e8e2a49c3d63d8deabf4235e8e00151fcd8747)) +3. Add localstride ([46a54f6c2](https://github.com/Stride-Labs/stride/commit/80e8e2a49c3d63d8deabf4235e8e00151fcd8747)) ## [v3.0.0](https://github.com/Stride-Labs/stride/releases/tag/v3.0.0) - 2022-11-18 ### On-Chain changes From b3d18cff03ab6ee7a41b2196c487d82c9b9eb72a Mon Sep 17 00:00:00 2001 From: khanh-notional <50263489+catShaark@users.noreply.github.com> Date: Tue, 29 Nov 2022 22:07:41 +0700 Subject: [PATCH 15/27] use custom storeloader to adjust authz store height (#405) Co-authored-by: Jacob Gadikian --- app/upgrades.go | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/app/upgrades.go b/app/upgrades.go index 39c3fa328..89cc3b2c0 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -6,13 +6,41 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - v2 "github.com/Stride-labs/stride/v4/app/upgrades/v2" - v3 "github.com/Stride-labs/stride/v4/app/upgrades/v3" - v4 "github.com/Stride-labs/stride/v4/app/upgrades/v4" - claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + + v2 "github.com/Stride-Labs/stride/v3/app/upgrades/v2" + v3 "github.com/Stride-Labs/stride/v3/app/upgrades/v3" + v4 "github.com/Stride-Labs/stride/v3/app/upgrades/v4" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + + "github.com/cosmos/cosmos-sdk/baseapp" + sdk "github.com/cosmos/cosmos-sdk/types" + ) +// AuthzHeightAdjustmentUpgradeStoreLoader is used to delete the authz store with the +// wrong height and then re-add authz store with the right height +func AuthzHeightAdjustmentUpgradeStoreLoader(upgradeHeight int64) baseapp.StoreLoader { + return func(ms sdk.CommitMultiStore) error { + if upgradeHeight == ms.LastCommitID().Version+1 { + err := ms.LoadLatestVersionAndUpgrade(&storetypes.StoreUpgrades{ + Deleted: []string{authzkeeper.StoreKey}, + }) + if err != nil { + panic(err) + } + err = ms.LoadLatestVersionAndUpgrade(&storetypes.StoreUpgrades{ + Added: []string{authzkeeper.StoreKey}, + }) + if err != nil { + panic(err) + } + } + // Otherwise load default store loader + return baseapp.DefaultStoreLoader(ms) + } +} + func (app *StrideApp) setupUpgradeHandlers() { // v2 upgrade handler app.UpgradeKeeper.SetUpgradeHandler( @@ -49,13 +77,8 @@ func (app *StrideApp) setupUpgradeHandlers() { storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{claimtypes.StoreKey}, } - case "v4": - storeUpgrades = &storetypes.StoreUpgrades{ - Added: []string{authzkeeper.StoreKey}, - } - } - - if storeUpgrades != nil { app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) + case "v4": + app.SetStoreLoader(AuthzHeightAdjustmentUpgradeStoreLoader(upgradeInfo.Height)) } } From d95face3f99012d10a6b0711ff2b4d51246c9a52 Mon Sep 17 00:00:00 2001 From: sampocs Date: Tue, 29 Nov 2022 09:09:37 -0600 Subject: [PATCH 16/27] fixed typo in upgrade handler docstring --- app/upgrades/v4/upgrades.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/upgrades/v4/upgrades.go b/app/upgrades/v4/upgrades.go index 74db27d00..96a4d5ec6 100644 --- a/app/upgrades/v4/upgrades.go +++ b/app/upgrades/v4/upgrades.go @@ -1,7 +1,6 @@ package v4 import ( - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" @@ -9,10 +8,10 @@ import ( // Note: ensure these values are properly set before running upgrade var ( - UpgradeName = "v4" + UpgradeName = "v4" ) -// CreateUpgradeHandler creates an SDK upgrade handler for v3 +// CreateUpgradeHandler creates an SDK upgrade handler for v4 func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, From 9d5935c4e22ffec3ce22eb1b9dcbe2d9505615bf Mon Sep 17 00:00:00 2001 From: sampocs Date: Tue, 29 Nov 2022 10:42:54 -0600 Subject: [PATCH 17/27] added return nil to custom authz store loader --- app/upgrades.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades.go b/app/upgrades.go index 89cc3b2c0..4e2d5a77b 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -15,7 +15,6 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" - ) // AuthzHeightAdjustmentUpgradeStoreLoader is used to delete the authz store with the @@ -35,6 +34,7 @@ func AuthzHeightAdjustmentUpgradeStoreLoader(upgradeHeight int64) baseapp.StoreL if err != nil { panic(err) } + return nil } // Otherwise load default store loader return baseapp.DefaultStoreLoader(ms) From cc899e1c769ebf6056e7dd54e18e07b398146743 Mon Sep 17 00:00:00 2001 From: sampocs Date: Tue, 29 Nov 2022 10:57:01 -0600 Subject: [PATCH 18/27] Revert "v3 -> v4" This reverts commit 56b41e6326ee62a4f9a20f223df241603ba1266b. --- app/upgrades/README.md | 4 ++-- proto/stride/claim/claim.proto | 2 +- proto/stride/claim/genesis.proto | 2 +- proto/stride/claim/params.proto | 2 +- proto/stride/claim/query.proto | 2 +- proto/stride/claim/tx.proto | 2 +- proto/stride/epochs/genesis.proto | 2 +- proto/stride/epochs/query.proto | 4 ++-- proto/stride/icacallbacks/callback_data.proto | 2 +- proto/stride/icacallbacks/genesis.proto | 2 +- proto/stride/icacallbacks/packet.proto | 2 +- proto/stride/icacallbacks/params.proto | 2 +- proto/stride/icacallbacks/query.proto | 2 +- proto/stride/icacallbacks/tx.proto | 2 +- proto/stride/interchainquery/v1/genesis.proto | 2 +- proto/stride/interchainquery/v1/messages.proto | 2 +- proto/stride/mint/v1beta1/genesis.proto | 2 +- proto/stride/mint/v1beta1/mint.proto | 2 +- proto/stride/mint/v1beta1/query.proto | 2 +- proto/stride/records/callbacks.proto | 2 +- proto/stride/records/genesis.proto | 2 +- proto/stride/records/query.proto | 2 +- proto/stride/stakeibc/callbacks.proto | 2 +- proto/stride/stakeibc/delegation.proto | 2 +- proto/stride/stakeibc/epoch_tracker.proto | 2 +- proto/stride/stakeibc/genesis.proto | 2 +- proto/stride/stakeibc/gov.proto | 2 +- proto/stride/stakeibc/host_zone.proto | 2 +- proto/stride/stakeibc/ica_account.proto | 2 +- proto/stride/stakeibc/min_validator_requirements.proto | 2 +- proto/stride/stakeibc/packet.proto | 2 +- proto/stride/stakeibc/params.proto | 2 +- proto/stride/stakeibc/query.proto | 2 +- proto/stride/stakeibc/tx.proto | 2 +- proto/stride/stakeibc/validator.proto | 2 +- proto/stride/vesting/tx.proto | 2 +- proto/stride/vesting/vesting.proto | 2 +- scripts/protocgen.sh | 2 +- 38 files changed, 40 insertions(+), 40 deletions(-) diff --git a/app/upgrades/README.md b/app/upgrades/README.md index e8ce754ec..9d755de8c 100644 --- a/app/upgrades/README.md +++ b/app/upgrades/README.md @@ -115,7 +115,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - {upgradeVersion} "github.com/Stride-labs/stride/v4/x/records/migrations/{upgradeVersion}" + {upgradeVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{upgradeVersion}" ) type Migrator struct { @@ -138,7 +138,7 @@ package {upgradeVersion} import ( sdk "github.com/cosmos/cosmos-sdk/types" - {oldVersion} "github.com/Stride-labs/stride/v4/x/records/migrations/{oldVersion}" + {oldVersion} "github.com/Stride-Labs/stride/v3/x/records/migrations/{oldVersion}" ) // TODO: Add migration logic to deserialize with old protos and re-serialize with new ones diff --git a/proto/stride/claim/claim.proto b/proto/stride/claim/claim.proto index b5e21e35b..cee6f9ecb 100644 --- a/proto/stride/claim/claim.proto +++ b/proto/stride/claim/claim.proto @@ -3,7 +3,7 @@ package stride.claim; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; enum Action { option (gogoproto.goproto_enum_prefix) = false; diff --git a/proto/stride/claim/genesis.proto b/proto/stride/claim/genesis.proto index dfb71e443..e195f48e4 100644 --- a/proto/stride/claim/genesis.proto +++ b/proto/stride/claim/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "stride/claim/claim.proto"; import "stride/claim/params.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // GenesisState defines the claim module's genesis state. message GenesisState { diff --git a/proto/stride/claim/params.proto b/proto/stride/claim/params.proto index 9500dfb2b..6ae96841f 100644 --- a/proto/stride/claim/params.proto +++ b/proto/stride/claim/params.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Params defines the claim module's parameters. message Params { repeated Airdrop airdrops = 1; } diff --git a/proto/stride/claim/query.proto b/proto/stride/claim/query.proto index 538f37aec..0a03c87d0 100644 --- a/proto/stride/claim/query.proto +++ b/proto/stride/claim/query.proto @@ -8,7 +8,7 @@ import "stride/claim/claim.proto"; import "stride/claim/params.proto"; import "stride/vesting/vesting.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/claim/tx.proto b/proto/stride/claim/tx.proto index bde2e0312..52c963d8b 100644 --- a/proto/stride/claim/tx.proto +++ b/proto/stride/claim/tx.proto @@ -4,7 +4,7 @@ package stride.claim; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/epochs/genesis.proto b/proto/stride/epochs/genesis.proto index 3d686700b..caef01a5b 100755 --- a/proto/stride/epochs/genesis.proto +++ b/proto/stride/epochs/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; message EpochInfo { string identifier = 1; diff --git a/proto/stride/epochs/query.proto b/proto/stride/epochs/query.proto index bcfe84726..30d0fa2f4 100644 --- a/proto/stride/epochs/query.proto +++ b/proto/stride/epochs/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/epochs/genesis.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; // Query defines the gRPC querier service. service Query { @@ -51,7 +51,7 @@ message QueryEpochInfoResponse { // import "epochs/params.proto"; // // this line is used by starport scaffolding # 1 -// option go_package = "github.com/Stride-labs/stride/v4/x/epochs/types"; +// option go_package = "github.com/Stride-Labs/stride/v3/x/epochs/types"; // // Query defines the gRPC querier service. // service Query { diff --git a/proto/stride/icacallbacks/callback_data.proto b/proto/stride/icacallbacks/callback_data.proto index 43cd0e901..154ec4ace 100755 --- a/proto/stride/icacallbacks/callback_data.proto +++ b/proto/stride/icacallbacks/callback_data.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.icacallbacks; -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; message CallbackData { string callback_key = 1; diff --git a/proto/stride/icacallbacks/genesis.proto b/proto/stride/icacallbacks/genesis.proto index 438da46e3..cc12bddbe 100755 --- a/proto/stride/icacallbacks/genesis.proto +++ b/proto/stride/icacallbacks/genesis.proto @@ -6,7 +6,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // GenesisState defines the icacallbacks module's genesis state. message GenesisState { diff --git a/proto/stride/icacallbacks/packet.proto b/proto/stride/icacallbacks/packet.proto index 02566e4c3..c12586127 100755 --- a/proto/stride/icacallbacks/packet.proto +++ b/proto/stride/icacallbacks/packet.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; message IcacallbacksPacketData { oneof packet { diff --git a/proto/stride/icacallbacks/params.proto b/proto/stride/icacallbacks/params.proto index 720b97d17..e1a914673 100755 --- a/proto/stride/icacallbacks/params.proto +++ b/proto/stride/icacallbacks/params.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; } diff --git a/proto/stride/icacallbacks/query.proto b/proto/stride/icacallbacks/query.proto index f90650177..d36506dbe 100644 --- a/proto/stride/icacallbacks/query.proto +++ b/proto/stride/icacallbacks/query.proto @@ -8,7 +8,7 @@ import "stride/icacallbacks/params.proto"; import "stride/icacallbacks/callback_data.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/icacallbacks/tx.proto b/proto/stride/icacallbacks/tx.proto index 03f7cb3ae..34aa210ac 100755 --- a/proto/stride/icacallbacks/tx.proto +++ b/proto/stride/icacallbacks/tx.proto @@ -3,7 +3,7 @@ package stride.icacallbacks; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-labs/stride/v4/x/icacallbacks/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/icacallbacks/types"; // Msg defines the Msg service. service Msg { diff --git a/proto/stride/interchainquery/v1/genesis.proto b/proto/stride/interchainquery/v1/genesis.proto index d9113752b..abe01e9d6 100644 --- a/proto/stride/interchainquery/v1/genesis.proto +++ b/proto/stride/interchainquery/v1/genesis.proto @@ -4,7 +4,7 @@ package stride.interchainquery.v1; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/interchainquery/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; message Query { string id = 1; diff --git a/proto/stride/interchainquery/v1/messages.proto b/proto/stride/interchainquery/v1/messages.proto index c707a5c7c..5b247b7b9 100755 --- a/proto/stride/interchainquery/v1/messages.proto +++ b/proto/stride/interchainquery/v1/messages.proto @@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto"; import "google/api/annotations.proto"; import "tendermint/crypto/proof.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/interchainquery/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/interchainquery/types"; // Msg defines the interchainquery Msg service. service Msg { diff --git a/proto/stride/mint/v1beta1/genesis.proto b/proto/stride/mint/v1beta1/genesis.proto index 139b1175f..d3b2db8b3 100755 --- a/proto/stride/mint/v1beta1/genesis.proto +++ b/proto/stride/mint/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package stride.mint.v1beta1; import "gogoproto/gogo.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { diff --git a/proto/stride/mint/v1beta1/mint.proto b/proto/stride/mint/v1beta1/mint.proto index 53b853fbe..8ce8d973a 100755 --- a/proto/stride/mint/v1beta1/mint.proto +++ b/proto/stride/mint/v1beta1/mint.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.mint.v1beta1; -option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; import "gogoproto/gogo.proto"; diff --git a/proto/stride/mint/v1beta1/query.proto b/proto/stride/mint/v1beta1/query.proto index e8baba9e3..1237810c4 100755 --- a/proto/stride/mint/v1beta1/query.proto +++ b/proto/stride/mint/v1beta1/query.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "stride/mint/v1beta1/mint.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/mint/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/mint/types"; // Query provides defines the gRPC querier service. service Query { diff --git a/proto/stride/records/callbacks.proto b/proto/stride/records/callbacks.proto index a8bf00c9a..f3aab20a3 100755 --- a/proto/stride/records/callbacks.proto +++ b/proto/stride/records/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.records; -option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; // ---------------------- Transfer Callback ---------------------- // message TransferCallback { uint64 deposit_record_id = 1; } diff --git a/proto/stride/records/genesis.proto b/proto/stride/records/genesis.proto index 7e0ac19f8..5d9b47191 100644 --- a/proto/stride/records/genesis.proto +++ b/proto/stride/records/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; message UserRedemptionRecord { string id = 1; // {chain_id}.{epoch}.{sender} diff --git a/proto/stride/records/query.proto b/proto/stride/records/query.proto index 829ef0fea..889fa205a 100644 --- a/proto/stride/records/query.proto +++ b/proto/stride/records/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "stride/records/genesis.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-labs/stride/v4/x/records/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/records/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/callbacks.proto b/proto/stride/stakeibc/callbacks.proto index 3409df01e..3f012cadf 100644 --- a/proto/stride/stakeibc/callbacks.proto +++ b/proto/stride/stakeibc/callbacks.proto @@ -1,6 +1,6 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/proto/stride/stakeibc/delegation.proto b/proto/stride/stakeibc/delegation.proto index e9e6830a1..8741e4fff 100755 --- a/proto/stride/stakeibc/delegation.proto +++ b/proto/stride/stakeibc/delegation.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "stride/stakeibc/validator.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message Delegation { string delegate_acct_address = 1; diff --git a/proto/stride/stakeibc/epoch_tracker.proto b/proto/stride/stakeibc/epoch_tracker.proto index 376b2b90d..b6dfb97cd 100755 --- a/proto/stride/stakeibc/epoch_tracker.proto +++ b/proto/stride/stakeibc/epoch_tracker.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message EpochTracker { string epoch_identifier = 1; diff --git a/proto/stride/stakeibc/genesis.proto b/proto/stride/stakeibc/genesis.proto index 95abe251d..e6f81baa3 100644 --- a/proto/stride/stakeibc/genesis.proto +++ b/proto/stride/stakeibc/genesis.proto @@ -8,7 +8,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # genesis/proto/import -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // GenesisState defines the stakeibc module's genesis state. message GenesisState { diff --git a/proto/stride/stakeibc/gov.proto b/proto/stride/stakeibc/gov.proto index b0f621b0b..92a2f5fc9 100644 --- a/proto/stride/stakeibc/gov.proto +++ b/proto/stride/stakeibc/gov.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message AddValidatorProposal { option (gogoproto.equal) = true; diff --git a/proto/stride/stakeibc/host_zone.proto b/proto/stride/stakeibc/host_zone.proto index 3e793731b..0351a187c 100755 --- a/proto/stride/stakeibc/host_zone.proto +++ b/proto/stride/stakeibc/host_zone.proto @@ -6,7 +6,7 @@ import "stride/stakeibc/ica_account.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // next id: 19 message HostZone { diff --git a/proto/stride/stakeibc/ica_account.proto b/proto/stride/stakeibc/ica_account.proto index 2d5c20840..78c4977cb 100755 --- a/proto/stride/stakeibc/ica_account.proto +++ b/proto/stride/stakeibc/ica_account.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/delegation.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; enum ICAAccountType { DELEGATION = 0; diff --git a/proto/stride/stakeibc/min_validator_requirements.proto b/proto/stride/stakeibc/min_validator_requirements.proto index a1baef7ce..35cedc03e 100755 --- a/proto/stride/stakeibc/min_validator_requirements.proto +++ b/proto/stride/stakeibc/min_validator_requirements.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.stakeibc; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message MinValidatorRequirements { int32 commission_rate = 1; diff --git a/proto/stride/stakeibc/packet.proto b/proto/stride/stakeibc/packet.proto index 7c4d710d9..075563b91 100755 --- a/proto/stride/stakeibc/packet.proto +++ b/proto/stride/stakeibc/packet.proto @@ -3,7 +3,7 @@ package stride.stakeibc; // this line is used by starport scaffolding # proto/packet/import -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message StakeibcPacketData { oneof packet { diff --git a/proto/stride/stakeibc/params.proto b/proto/stride/stakeibc/params.proto index 2cf45214a..ecdae2a73 100755 --- a/proto/stride/stakeibc/params.proto +++ b/proto/stride/stakeibc/params.proto @@ -3,7 +3,7 @@ package stride.stakeibc; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // Params defines the parameters for the module. // next id: 18 diff --git a/proto/stride/stakeibc/query.proto b/proto/stride/stakeibc/query.proto index 25716370a..c786b923e 100644 --- a/proto/stride/stakeibc/query.proto +++ b/proto/stride/stakeibc/query.proto @@ -11,7 +11,7 @@ import "stride/stakeibc/host_zone.proto"; import "stride/stakeibc/epoch_tracker.proto"; // this line is used by starport scaffolding # 1 -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/stride/stakeibc/tx.proto b/proto/stride/stakeibc/tx.proto index 14b18a3a3..4269ab80a 100755 --- a/proto/stride/stakeibc/tx.proto +++ b/proto/stride/stakeibc/tx.proto @@ -4,7 +4,7 @@ package stride.stakeibc; import "stride/stakeibc/ica_account.proto"; // this line is used by starport scaffolding # proto/tx/import -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/stride/stakeibc/validator.proto b/proto/stride/stakeibc/validator.proto index bff7f3843..751090609 100755 --- a/proto/stride/stakeibc/validator.proto +++ b/proto/stride/stakeibc/validator.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package stride.stakeibc; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/stakeibc/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/stakeibc/types"; message ValidatorExchangeRate { string internal_tokens_to_shares_rate = 1 [ diff --git a/proto/stride/vesting/tx.proto b/proto/stride/vesting/tx.proto index 213bb832a..b050c087e 100644 --- a/proto/stride/vesting/tx.proto +++ b/proto/stride/vesting/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package stride.vesting; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/vesting/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; // Msg defines the bank Msg service. service Msg {} diff --git a/proto/stride/vesting/vesting.proto b/proto/stride/vesting/vesting.proto index 180fc03d9..7cd947341 100644 --- a/proto/stride/vesting/vesting.proto +++ b/proto/stride/vesting/vesting.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/auth/v1beta1/auth.proto"; -option go_package = "github.com/Stride-labs/stride/v4/x/claim/vesting/types"; +option go_package = "github.com/Stride-Labs/stride/v3/x/claim/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index ac61410d8..35d67e47d 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -24,5 +24,5 @@ cd .. # move proto files to the right places # # Note: Proto files are suffixed with the current binary version. -cp -r github.com/Stride-labs/stride/v4/* ./ +cp -r github.com/Stride-Labs/stride/v3/* ./ rm -rf github.com \ No newline at end of file From 1a5de7d165f53adc82792291c30ad5beba0cdcb9 Mon Sep 17 00:00:00 2001 From: sampocs Date: Tue, 29 Nov 2022 10:57:52 -0600 Subject: [PATCH 19/27] Revert "v3 -> v4" This reverts commit 4b89d37375c134d4cf6902210b0186f3fba0e38c. --- app/app.go | 54 +++++++++---------- app/apptesting/test_helpers.go | 2 +- app/upgrades/v3/upgrades.go | 4 +- app/upgrades/v3/upgrades_test.go | 2 +- app/upgrades/v4/upgrades_test.go | 2 +- cmd/strided/main.go | 4 +- cmd/strided/root.go | 6 +-- go.mod | 2 +- testutil/keeper/claim.go | 4 +- testutil/keeper/epochs.go | 4 +- testutil/keeper/icacallbacks.go | 4 +- testutil/keeper/interchainquery.go | 4 +- testutil/keeper/records.go | 4 +- testutil/keeper/stakeibc.go | 4 +- testutil/network/network.go | 2 +- utils/utils.go | 4 +- x/claim/client/cli/cli_test.go | 14 ++--- x/claim/client/cli/query.go | 2 +- x/claim/client/cli/tx.go | 2 +- x/claim/client/cli/tx_claim_free_amount.go | 2 +- x/claim/client/cli/tx_create_airdrop.go | 2 +- x/claim/client/cli/tx_delete_airdrop.go | 2 +- .../client/cli/tx_set_airdrop_allocations.go | 2 +- x/claim/genesis_test.go | 6 +-- x/claim/handler.go | 4 +- x/claim/keeper/claim.go | 8 +-- x/claim/keeper/claim_test.go | 2 +- x/claim/keeper/genesis.go | 2 +- x/claim/keeper/grpc_query.go | 2 +- x/claim/keeper/hooks.go | 6 +-- x/claim/keeper/keeper.go | 2 +- x/claim/keeper/keeper_test.go | 6 +-- x/claim/keeper/msg_server.go | 2 +- x/claim/keeper/msg_server_test.go | 4 +- x/claim/keeper/params.go | 2 +- x/claim/keeper/query.go | 2 +- x/claim/module.go | 8 +-- x/claim/types/expected_keepers.go | 2 +- x/claim/types/msgs.go | 2 +- x/claim/vesting/client/cli/tx.go | 2 +- x/claim/vesting/handler.go | 2 +- x/claim/vesting/module.go | 4 +- x/claim/vesting/msg_server.go | 2 +- x/claim/vesting/types/codec.go | 2 +- x/claim/vesting/types/common_test.go | 2 +- x/claim/vesting/types/vesting_account.go | 4 +- x/claim/vesting/types/vesting_account_test.go | 2 +- x/epochs/client/cli/query.go | 2 +- x/epochs/genesis.go | 4 +- x/epochs/genesis_test.go | 8 +-- x/epochs/handler.go | 4 +- x/epochs/keeper/abci.go | 2 +- x/epochs/keeper/abci_test.go | 4 +- x/epochs/keeper/epoch.go | 2 +- x/epochs/keeper/epoch_test.go | 2 +- x/epochs/keeper/grpc_query.go | 2 +- x/epochs/keeper/grpc_query_test.go | 2 +- x/epochs/keeper/hooks.go | 2 +- x/epochs/keeper/keeper.go | 2 +- x/epochs/keeper/keeper_test.go | 4 +- x/epochs/module.go | 8 +-- x/epochs/simulation/genesis.go | 2 +- x/icacallbacks/client/cli/query.go | 2 +- .../client/cli/query_callback_data.go | 2 +- .../client/cli/query_callback_data_test.go | 8 +-- x/icacallbacks/client/cli/query_params.go | 2 +- x/icacallbacks/client/cli/tx.go | 2 +- x/icacallbacks/genesis.go | 4 +- x/icacallbacks/genesis_test.go | 8 +-- x/icacallbacks/handler.go | 4 +- x/icacallbacks/keeper/callback_data.go | 2 +- x/icacallbacks/keeper/callback_data_test.go | 8 +-- x/icacallbacks/keeper/grpc_query.go | 2 +- .../keeper/grpc_query_callback_data.go | 2 +- .../keeper/grpc_query_callback_data_test.go | 6 +-- x/icacallbacks/keeper/grpc_query_params.go | 2 +- .../keeper/grpc_query_params_test.go | 4 +- x/icacallbacks/keeper/keeper.go | 4 +- x/icacallbacks/keeper/msg_server.go | 2 +- x/icacallbacks/keeper/params.go | 2 +- x/icacallbacks/keeper/params_test.go | 4 +- x/icacallbacks/module.go | 6 +-- x/icacallbacks/module_ibc.go | 2 +- x/icacallbacks/module_simulation.go | 6 +-- x/icacallbacks/types/genesis_test.go | 2 +- x/interchainquery/genesis.go | 4 +- x/interchainquery/handler.go | 4 +- x/interchainquery/keeper/abci.go | 2 +- x/interchainquery/keeper/keeper.go | 2 +- x/interchainquery/keeper/keeper_test.go | 6 +-- x/interchainquery/keeper/msg_server.go | 2 +- .../keeper/msg_submit_query_response_test.go | 2 +- x/interchainquery/keeper/new_query_test.go | 2 +- x/interchainquery/keeper/queries.go | 2 +- x/interchainquery/module.go | 4 +- x/mint/client/cli/cli_test.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/genesis.go | 4 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/hooks.go | 4 +- x/mint/keeper/keeper.go | 2 +- x/mint/module.go | 10 ++-- x/mint/types/expected_keepers.go | 2 +- x/mint/types/params.go | 2 +- x/records/client/cli/query.go | 2 +- x/records/client/cli/query_deposit_record.go | 2 +- .../client/cli/query_deposit_record_test.go | 8 +-- .../cli/query_epoch_unbonding_record.go | 2 +- x/records/client/cli/query_params.go | 2 +- .../cli/query_user_redemption_record.go | 2 +- .../cli/query_user_redemption_record_test.go | 8 +-- x/records/client/cli/tx.go | 2 +- x/records/genesis.go | 4 +- x/records/genesis_test.go | 8 +-- x/records/handler.go | 4 +- x/records/keeper/callback_transfer.go | 2 +- x/records/keeper/callback_transfer_test.go | 6 +-- x/records/keeper/callbacks.go | 2 +- x/records/keeper/deposit_record.go | 2 +- x/records/keeper/epoch_unbonding_record.go | 4 +- .../keeper/epoch_unbonding_record_test.go | 8 +-- x/records/keeper/grpc_query.go | 2 +- x/records/keeper/grpc_query_deposit_record.go | 2 +- .../keeper/grpc_query_deposit_record_test.go | 8 +-- .../grpc_query_epoch_unbonding_record.go | 2 +- .../grpc_query_epoch_unbonding_record_test.go | 6 +-- x/records/keeper/grpc_query_params.go | 2 +- x/records/keeper/grpc_query_params_test.go | 4 +- .../grpc_query_user_redemption_record.go | 2 +- ...c_query_user_redemption_record_for_user.go | 2 +- .../grpc_query_user_redemption_record_test.go | 6 +-- x/records/keeper/keeper.go | 6 +-- x/records/keeper/keeper_test.go | 6 +-- x/records/keeper/msg_server.go | 2 +- x/records/keeper/params.go | 2 +- x/records/keeper/params_test.go | 4 +- x/records/keeper/transfer_test.go | 4 +- x/records/keeper/user_redemption_record.go | 2 +- .../keeper/user_redemption_record_test.go | 8 +-- x/records/module.go | 6 +-- x/records/module_ibc.go | 4 +- x/records/module_simulation.go | 6 +-- x/records/types/genesis_test.go | 2 +- x/stakeibc/abci.go | 4 +- x/stakeibc/client/cli/query.go | 2 +- x/stakeibc/client/cli/query_epoch_tracker.go | 2 +- .../client/cli/query_epoch_tracker_test.go | 6 +-- x/stakeibc/client/cli/query_host_zone.go | 2 +- x/stakeibc/client/cli/query_ica_account.go | 2 +- .../client/cli/query_ica_account_test.go | 8 +-- x/stakeibc/client/cli/query_module_address.go | 2 +- x/stakeibc/client/cli/query_params.go | 2 +- x/stakeibc/client/cli/query_register_ica.go | 2 +- x/stakeibc/client/cli/query_validator.go | 2 +- x/stakeibc/client/cli/tx.go | 2 +- x/stakeibc/client/cli/tx_add_validator.go | 2 +- .../client/cli/tx_add_validator_proposal.go | 2 +- .../client/cli/tx_change_validator_weight.go | 2 +- .../client/cli/tx_claim_undelegated_tokens.go | 2 +- x/stakeibc/client/cli/tx_clear_balance.go | 2 +- x/stakeibc/client/cli/tx_delete_validator.go | 2 +- x/stakeibc/client/cli/tx_liquid_stake.go | 2 +- .../client/cli/tx_rebalance_validators.go | 2 +- x/stakeibc/client/cli/tx_redeem_stake.go | 2 +- .../client/cli/tx_register_host_zone.go | 2 +- .../cli/tx_restore_interchain_account.go | 2 +- x/stakeibc/client/cli/tx_update_delegation.go | 2 +- x/stakeibc/client/proposal_handler.go | 4 +- x/stakeibc/genesis.go | 4 +- x/stakeibc/genesis_test.go | 8 +-- x/stakeibc/handler.go | 4 +- x/stakeibc/keeper/delegation.go | 2 +- x/stakeibc/keeper/delegation_test.go | 8 +-- x/stakeibc/keeper/deposit_records.go | 6 +-- x/stakeibc/keeper/deposit_records_test.go | 8 +-- .../keeper/epoch_elapsed_shares_test.go | 4 +- x/stakeibc/keeper/epoch_tracker.go | 2 +- x/stakeibc/keeper/epoch_tracker_test.go | 8 +-- x/stakeibc/keeper/gov.go | 2 +- x/stakeibc/keeper/grpc_query.go | 2 +- x/stakeibc/keeper/grpc_query_epoch_tracker.go | 2 +- .../keeper/grpc_query_epoch_tracker_test.go | 6 +-- x/stakeibc/keeper/grpc_query_host_zone.go | 2 +- .../keeper/grpc_query_host_zone_test.go | 6 +-- x/stakeibc/keeper/grpc_query_ica_account.go | 2 +- .../keeper/grpc_query_ica_account_test.go | 2 +- .../keeper/grpc_query_module_address.go | 2 +- x/stakeibc/keeper/grpc_query_params.go | 2 +- x/stakeibc/keeper/grpc_query_params_test.go | 4 +- x/stakeibc/keeper/grpc_query_register_ica.go | 2 +- x/stakeibc/keeper/grpc_query_validator.go | 2 +- .../keeper/grpc_query_validator_test.go | 6 +-- x/stakeibc/keeper/hooks.go | 8 +-- x/stakeibc/keeper/host_zone.go | 2 +- x/stakeibc/keeper/host_zone_test.go | 8 +-- x/stakeibc/keeper/ica_account.go | 2 +- x/stakeibc/keeper/ica_account_test.go | 2 +- x/stakeibc/keeper/icacallbacks.go | 2 +- x/stakeibc/keeper/icacallbacks_claim.go | 8 +-- x/stakeibc/keeper/icacallbacks_claim_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_delegate.go | 8 +-- .../keeper/icacallbacks_delegate_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_rebalance.go | 6 +-- .../keeper/icacallbacks_rebalance_test.go | 6 +-- x/stakeibc/keeper/icacallbacks_redemption.go | 8 +-- .../keeper/icacallbacks_redemption_test.go | 8 +-- x/stakeibc/keeper/icacallbacks_reinvest.go | 10 ++-- .../keeper/icacallbacks_reinvest_test.go | 10 ++-- x/stakeibc/keeper/icacallbacks_undelegate.go | 8 +-- .../keeper/icacallbacks_undelegate_test.go | 8 +-- x/stakeibc/keeper/icqcallbacks.go | 2 +- .../keeper/icqcallbacks_delegator_shares.go | 6 +-- .../icqcallbacks_delegator_shares_test.go | 8 +-- .../icqcallbacks_validator_exchange_rate.go | 6 +-- ...qcallbacks_validator_exchange_rate_test.go | 8 +-- .../keeper/icqcallbacks_withdrawal_balance.go | 4 +- .../icqcallbacks_withdrawal_balance_test.go | 10 ++-- x/stakeibc/keeper/keeper.go | 10 ++-- x/stakeibc/keeper/keeper_test.go | 6 +-- .../keeper/min_validator_requirements.go | 2 +- .../keeper/min_validator_requirements_test.go | 8 +-- x/stakeibc/keeper/msg_server.go | 2 +- x/stakeibc/keeper/msg_server_add_validator.go | 2 +- .../keeper/msg_server_add_validator_test.go | 2 +- .../msg_server_change_validator_weight.go | 2 +- .../msg_server_claim_undelegated_tokens.go | 6 +-- ...sg_server_claim_undelegated_tokens_test.go | 8 +-- x/stakeibc/keeper/msg_server_clear_balance.go | 2 +- .../keeper/msg_server_clear_balance_test.go | 4 +- .../keeper/msg_server_delete_validator.go | 2 +- .../msg_server_delete_validator_test.go | 2 +- x/stakeibc/keeper/msg_server_liquid_stake.go | 4 +- .../keeper/msg_server_liquid_stake_test.go | 8 +-- .../keeper/msg_server_rebalance_validators.go | 4 +- .../msg_server_rebalance_validators_test.go | 6 +-- x/stakeibc/keeper/msg_server_redeem_stake.go | 6 +-- .../keeper/msg_server_redeem_stake_test.go | 6 +-- .../keeper/msg_server_register_host_zone.go | 6 +-- .../msg_server_register_host_zone_test.go | 8 +-- .../msg_server_restore_interchain_account.go | 4 +- ..._server_restore_interchain_account_test.go | 4 +- x/stakeibc/keeper/msg_server_submit_tx.go | 10 ++-- ...erver_update_validator_shares_exch_rate.go | 2 +- x/stakeibc/keeper/params.go | 2 +- x/stakeibc/keeper/params_test.go | 4 +- x/stakeibc/keeper/unbonding_records.go | 6 +-- .../keeper/unbonding_records_cleanup_test.go | 4 +- ...ords_get_host_zone_unbondings_msgs_test.go | 4 +- ...ng_records_initiate_all_unbondings_test.go | 4 +- ...ding_records_sweep_unbonded_tokens_test.go | 4 +- .../keeper/update_redemption_rates_test.go | 4 +- .../update_validator_shares_exch_rate_test.go | 6 +-- x/stakeibc/keeper/validator.go | 2 +- x/stakeibc/keeper/validator_selection.go | 2 +- x/stakeibc/keeper/validator_test.go | 8 +-- x/stakeibc/module.go | 6 +-- x/stakeibc/module_ibc.go | 6 +-- x/stakeibc/module_simulation.go | 6 +-- x/stakeibc/proposal_handler.go | 4 +- x/stakeibc/simulation/add_validator.go | 4 +- .../simulation/change_validator_weight.go | 4 +- .../simulation/claim_undelegated_tokens.go | 4 +- x/stakeibc/simulation/delete_validator.go | 4 +- x/stakeibc/simulation/liquid_stake.go | 4 +- x/stakeibc/simulation/rebalance_validators.go | 4 +- .../simulation/restore_interchain_account.go | 4 +- x/stakeibc/simulation/update_delegation.go | 4 +- x/stakeibc/types/genesis_test.go | 2 +- x/stakeibc/types/message_add_validator.go | 2 +- .../types/message_add_validator_test.go | 2 +- .../types/message_change_validator_weight.go | 2 +- .../message_change_validator_weight_test.go | 2 +- .../types/message_claim_undelegated_tokens.go | 2 +- .../message_claim_undelegated_tokens_test.go | 2 +- x/stakeibc/types/message_clear_balance.go | 2 +- x/stakeibc/types/message_delete_validator.go | 2 +- .../types/message_delete_validator_test.go | 2 +- x/stakeibc/types/message_liquid_stake_test.go | 2 +- .../types/message_rebalance_validators.go | 2 +- .../message_rebalance_validators_test.go | 2 +- x/stakeibc/types/message_redeem_stake_test.go | 2 +- .../types/message_register_host_zone.go | 2 +- ...message_restore_interchain_account_test.go | 2 +- x/stakeibc/types/message_update_delegation.go | 2 +- 286 files changed, 579 insertions(+), 579 deletions(-) diff --git a/app/app.go b/app/app.go index 85a13781c..3e12a70b4 100644 --- a/app/app.go +++ b/app/app.go @@ -7,7 +7,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" @@ -57,12 +57,12 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - claimvesting "github.com/Stride-labs/stride/v4/x/claim/vesting" - claimvestingtypes "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + claimvesting "github.com/Stride-Labs/stride/v3/x/claim/vesting" + claimvestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" - "github.com/Stride-labs/stride/v4/x/mint" - mintkeeper "github.com/Stride-labs/stride/v4/x/mint/keeper" - minttypes "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint" + mintkeeper "github.com/Stride-Labs/stride/v3/x/mint/keeper" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -109,27 +109,27 @@ import ( // monitoringp "github.com/tendermint/spn/x/monitoringp" // monitoringpkeeper "github.com/tendermint/spn/x/monitoringp/keeper" - epochsmodule "github.com/Stride-labs/stride/v4/x/epochs" - epochsmodulekeeper "github.com/Stride-labs/stride/v4/x/epochs/keeper" - epochsmoduletypes "github.com/Stride-labs/stride/v4/x/epochs/types" - - "github.com/Stride-labs/stride/v4/x/interchainquery" - interchainquerykeeper "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - interchainquerytypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - - "github.com/Stride-labs/stride/v4/x/claim" - claimkeeper "github.com/Stride-labs/stride/v4/x/claim/keeper" - claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" - icacallbacksmodule "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbacksmodulekeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - icacallbacksmoduletypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordsmodule "github.com/Stride-labs/stride/v4/x/records" - recordsmodulekeeper "github.com/Stride-labs/stride/v4/x/records/keeper" - recordsmoduletypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibcmodule "github.com/Stride-labs/stride/v4/x/stakeibc" - stakeibcclient "github.com/Stride-labs/stride/v4/x/stakeibc/client" - stakeibcmodulekeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - stakeibcmoduletypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochsmodule "github.com/Stride-Labs/stride/v3/x/epochs" + epochsmodulekeeper "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + epochsmoduletypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + + "github.com/Stride-Labs/stride/v3/x/interchainquery" + interchainquerykeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + interchainquerytypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + + "github.com/Stride-Labs/stride/v3/x/claim" + claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" + icacallbacksmodule "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbacksmodulekeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + icacallbacksmoduletypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordsmodule "github.com/Stride-Labs/stride/v3/x/records" + recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" + recordsmoduletypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibcmodule "github.com/Stride-Labs/stride/v3/x/stakeibc" + stakeibcclient "github.com/Stride-Labs/stride/v3/x/stakeibc/client" + stakeibcmodulekeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibcmoduletypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" // this line is used by starport scaffolding # stargate/app/moduleImport ) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index 2eb71a71e..e98663dbf 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -20,7 +20,7 @@ import ( "github.com/tendermint/tendermint/crypto/ed25519" tmtypes "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-Labs/stride/v3/app" ) var ( diff --git a/app/upgrades/v3/upgrades.go b/app/upgrades/v3/upgrades.go index c0244f277..f420609aa 100644 --- a/app/upgrades/v3/upgrades.go +++ b/app/upgrades/v3/upgrades.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - claimkeeper "github.com/Stride-labs/stride/v4/x/claim/keeper" - claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" + claimkeeper "github.com/Stride-Labs/stride/v3/x/claim/keeper" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Note: ensure these values are properly set before running upgrade diff --git a/app/upgrades/v3/upgrades_test.go b/app/upgrades/v3/upgrades_test.go index ecd2b76db..1bcac0ad4 100644 --- a/app/upgrades/v3/upgrades_test.go +++ b/app/upgrades/v3/upgrades_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-Labs/stride/v3/app/apptesting" ) var ( airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go index 9d1504501..e5f22a1a0 100644 --- a/app/upgrades/v4/upgrades_test.go +++ b/app/upgrades/v4/upgrades_test.go @@ -8,7 +8,7 @@ import ( authz "github.com/cosmos/cosmos-sdk/x/authz" - "github.com/Stride-labs/stride/v4/app/apptesting" + "github.com/Stride-Labs/stride/v3/app/apptesting" ) const dummyUpgradeHeight = 5 diff --git a/cmd/strided/main.go b/cmd/strided/main.go index 18f67252a..ab42b8c1d 100644 --- a/cmd/strided/main.go +++ b/cmd/strided/main.go @@ -5,9 +5,9 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-Labs/stride/v3/app" - cmdcfg "github.com/Stride-labs/stride/v4/cmd/strided/config" + cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" ) func main() { diff --git a/cmd/strided/root.go b/cmd/strided/root.go index 304ac3f57..3099df70c 100644 --- a/cmd/strided/root.go +++ b/cmd/strided/root.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" "github.com/spf13/cast" "github.com/spf13/cobra" @@ -36,8 +36,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - "github.com/Stride-labs/stride/v4/app" - // "github.com/Stride-labs/stride/v4/app/params" + "github.com/Stride-Labs/stride/v3/app" + // "github.com/Stride-Labs/stride/v3/app/params" // this line is used by starport scaffolding # stargate/root/import ) diff --git a/go.mod b/go.mod index 41b6ac8c6..33044e921 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Stride-labs/stride/v4 +module github.com/Stride-Labs/stride/v3 go 1.19 diff --git a/testutil/keeper/claim.go b/testutil/keeper/claim.go index 685d9d34f..6c6df6a11 100644 --- a/testutil/keeper/claim.go +++ b/testutil/keeper/claim.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/claim/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" ) func ClaimKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/epochs.go b/testutil/keeper/epochs.go index 225624251..8274cbe7e 100644 --- a/testutil/keeper/epochs.go +++ b/testutil/keeper/epochs.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/epochs/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" ) func EpochsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/icacallbacks.go b/testutil/keeper/icacallbacks.go index c4a632f22..b0a02998e 100644 --- a/testutil/keeper/icacallbacks.go +++ b/testutil/keeper/icacallbacks.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" ) func IcacallbacksKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/interchainquery.go b/testutil/keeper/interchainquery.go index c11f067db..ccdbbc1c2 100644 --- a/testutil/keeper/interchainquery.go +++ b/testutil/keeper/interchainquery.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" ) func InterchainqueryKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/records.go b/testutil/keeper/records.go index eec8a8252..7a6c31d4a 100644 --- a/testutil/keeper/records.go +++ b/testutil/keeper/records.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/records/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/records/keeper" ) func RecordsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/keeper/stakeibc.go b/testutil/keeper/stakeibc.go index 855a397ff..ed329af0c 100644 --- a/testutil/keeper/stakeibc.go +++ b/testutil/keeper/stakeibc.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - strideapp "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + strideapp "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" ) func StakeibcKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) { diff --git a/testutil/network/network.go b/testutil/network/network.go index 24604defb..885a289a0 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -17,7 +17,7 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmdb "github.com/tendermint/tm-db" - "github.com/Stride-labs/stride/v4/app" + "github.com/Stride-Labs/stride/v3/app" ) type ( diff --git a/utils/utils.go b/utils/utils.go index f9fbc5448..91d6f8e10 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -13,8 +13,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - config "github.com/Stride-labs/stride/v4/cmd/strided/config" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + config "github.com/Stride-Labs/stride/v3/cmd/strided/config" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" ) func FilterDepositRecords(arr []recordstypes.DepositRecord, condition func(recordstypes.DepositRecord) bool) (ret []recordstypes.DepositRecord) { diff --git a/x/claim/client/cli/cli_test.go b/x/claim/client/cli/cli_test.go index ad9113230..80ef29806 100644 --- a/x/claim/client/cli/cli_test.go +++ b/x/claim/client/cli/cli_test.go @@ -15,21 +15,21 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" banktestutil "github.com/cosmos/cosmos-sdk/x/bank/client/testutil" - strideclitestutil "github.com/Stride-labs/stride/v4/testutil/cli" + strideclitestutil "github.com/Stride-Labs/stride/v3/testutil/cli" - "github.com/Stride-labs/stride/v4/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-labs/stride/v4/x/claim/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/client/cli" - "github.com/Stride-labs/stride/v4/app" - cmdcfg "github.com/Stride-labs/stride/v4/cmd/strided/config" - "github.com/Stride-labs/stride/v4/x/claim/types" - claimtypes "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/app" + cmdcfg "github.com/Stride-Labs/stride/v3/cmd/strided/config" + "github.com/Stride-Labs/stride/v3/x/claim/types" + claimtypes "github.com/Stride-Labs/stride/v3/x/claim/types" ) var addr1 sdk.AccAddress diff --git a/x/claim/client/cli/query.go b/x/claim/client/cli/query.go index ed1558835..a11262c8b 100644 --- a/x/claim/client/cli/query.go +++ b/x/claim/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/claim/client/cli/tx.go b/x/claim/client/cli/tx.go index e1c710e08..9c30574d2 100644 --- a/x/claim/client/cli/tx.go +++ b/x/claim/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/claim/client/cli/tx_claim_free_amount.go b/x/claim/client/cli/tx_claim_free_amount.go index f0f08fb9d..0208bbb35 100644 --- a/x/claim/client/cli/tx_claim_free_amount.go +++ b/x/claim/client/cli/tx_claim_free_amount.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdClaimFreeAmount() *cobra.Command { diff --git a/x/claim/client/cli/tx_create_airdrop.go b/x/claim/client/cli/tx_create_airdrop.go index 28bbc2ced..7b3456a76 100644 --- a/x/claim/client/cli/tx_create_airdrop.go +++ b/x/claim/client/cli/tx_create_airdrop.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdCreateAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_delete_airdrop.go b/x/claim/client/cli/tx_delete_airdrop.go index 20e2121bc..1e8a83ffe 100644 --- a/x/claim/client/cli/tx_delete_airdrop.go +++ b/x/claim/client/cli/tx_delete_airdrop.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdDeleteAirdrop() *cobra.Command { diff --git a/x/claim/client/cli/tx_set_airdrop_allocations.go b/x/claim/client/cli/tx_set_airdrop_allocations.go index 7a5659133..8b42b3173 100644 --- a/x/claim/client/cli/tx_set_airdrop_allocations.go +++ b/x/claim/client/cli/tx_set_airdrop_allocations.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func CmdSetAirdropAllocations() *cobra.Command { diff --git a/x/claim/genesis_test.go b/x/claim/genesis_test.go index bf1b5c3f5..e7525b1ac 100644 --- a/x/claim/genesis_test.go +++ b/x/claim/genesis_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/claim/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func TestGenesis(t *testing.T) { diff --git a/x/claim/handler.go b/x/claim/handler.go index c010cfc40..bcde5cbe9 100644 --- a/x/claim/handler.go +++ b/x/claim/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/claim/keeper" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // NewHandler returns claim module messages diff --git a/x/claim/keeper/claim.go b/x/claim/keeper/claim.go index 943175da1..caa286f8e 100644 --- a/x/claim/keeper/claim.go +++ b/x/claim/keeper/claim.go @@ -13,10 +13,10 @@ import ( authvestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/gogo/protobuf/proto" - "github.com/Stride-labs/stride/v4/utils" - "github.com/Stride-labs/stride/v4/x/claim/types" - vestingtypes "github.com/Stride-labs/stride/v4/x/claim/vesting/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-Labs/stride/v3/x/claim/types" + vestingtypes "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (k Keeper) LoadAllocationData(ctx sdk.Context, allocationData string) bool { diff --git a/x/claim/keeper/claim_test.go b/x/claim/keeper/claim_test.go index d9cb4a5b4..5b2868391 100644 --- a/x/claim/keeper/claim_test.go +++ b/x/claim/keeper/claim_test.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Test functionality for loading allocation data(csv) diff --git a/x/claim/keeper/genesis.go b/x/claim/keeper/genesis.go index 56026a184..542242408 100644 --- a/x/claim/keeper/genesis.go +++ b/x/claim/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/claim/keeper/grpc_query.go b/x/claim/keeper/grpc_query.go index 99ad89225..56c1d3c74 100644 --- a/x/claim/keeper/grpc_query.go +++ b/x/claim/keeper/grpc_query.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/claim/keeper/hooks.go b/x/claim/keeper/hooks.go index e6b51b15b..7e022190e 100644 --- a/x/claim/keeper/hooks.go +++ b/x/claim/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - stakingibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + stakingibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func (k Keeper) AfterDelegationModified(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) { diff --git a/x/claim/keeper/keeper.go b/x/claim/keeper/keeper.go index 348e61722..726bf3eb2 100644 --- a/x/claim/keeper/keeper.go +++ b/x/claim/keeper/keeper.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // Keeper struct diff --git a/x/claim/keeper/keeper_test.go b/x/claim/keeper/keeper_test.go index 00d3a3ddc..fee3251d9 100644 --- a/x/claim/keeper/keeper_test.go +++ b/x/claim/keeper/keeper_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/claim/types" - minttypes "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/claim/types" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" ) type KeeperTestSuite struct { diff --git a/x/claim/keeper/msg_server.go b/x/claim/keeper/msg_server.go index 2dc29900a..31f75b0aa 100644 --- a/x/claim/keeper/msg_server.go +++ b/x/claim/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) type msgServer struct { diff --git a/x/claim/keeper/msg_server_test.go b/x/claim/keeper/msg_server_test.go index f52eabbda..82cdbb847 100644 --- a/x/claim/keeper/msg_server_test.go +++ b/x/claim/keeper/msg_server_test.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/claim/keeper" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) func (suite *KeeperTestSuite) TestSetAirdropAllocationsForMultiAirdrops() { diff --git a/x/claim/keeper/params.go b/x/claim/keeper/params.go index db391a1d3..67f55843c 100644 --- a/x/claim/keeper/params.go +++ b/x/claim/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) // GetParams get params diff --git a/x/claim/keeper/query.go b/x/claim/keeper/query.go index 80ef26667..21acb224f 100644 --- a/x/claim/keeper/query.go +++ b/x/claim/keeper/query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/claim/module.go b/x/claim/module.go index 5c4f0f55d..b70254ede 100644 --- a/x/claim/module.go +++ b/x/claim/module.go @@ -17,10 +17,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/claim/client/cli" - "github.com/Stride-labs/stride/v4/x/claim/client/rest" - "github.com/Stride-labs/stride/v4/x/claim/keeper" - "github.com/Stride-labs/stride/v4/x/claim/types" + "github.com/Stride-Labs/stride/v3/x/claim/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/client/rest" + "github.com/Stride-Labs/stride/v3/x/claim/keeper" + "github.com/Stride-Labs/stride/v3/x/claim/types" ) var ( diff --git a/x/claim/types/expected_keepers.go b/x/claim/types/expected_keepers.go index f8f9b174a..5c912828e 100644 --- a/x/claim/types/expected_keepers.go +++ b/x/claim/types/expected_keepers.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // BankKeeper defines the banking contract that must be fulfilled when diff --git a/x/claim/types/msgs.go b/x/claim/types/msgs.go index 9d50bfcd3..d144afff3 100644 --- a/x/claim/types/msgs.go +++ b/x/claim/types/msgs.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) // Msg type for MsgSetAirdropAllocations diff --git a/x/claim/vesting/client/cli/tx.go b/x/claim/vesting/client/cli/tx.go index 41c8c43c1..2a83fb35e 100644 --- a/x/claim/vesting/client/cli/tx.go +++ b/x/claim/vesting/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) // GetTxCmd returns stride vesting module's transaction commands. diff --git a/x/claim/vesting/handler.go b/x/claim/vesting/handler.go index aeacd32ee..e70396b26 100644 --- a/x/claim/vesting/handler.go +++ b/x/claim/vesting/handler.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) // NewHandler returns a handler for x/auth message types. diff --git a/x/claim/vesting/module.go b/x/claim/vesting/module.go index c72aca12c..f3414565a 100644 --- a/x/claim/vesting/module.go +++ b/x/claim/vesting/module.go @@ -15,8 +15,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-labs/stride/v4/x/claim/vesting/client/cli" - "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/client/cli" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) var ( diff --git a/x/claim/vesting/msg_server.go b/x/claim/vesting/msg_server.go index 5b6c3ec8d..385901127 100644 --- a/x/claim/vesting/msg_server.go +++ b/x/claim/vesting/msg_server.go @@ -3,7 +3,7 @@ package vesting import ( "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) type msgServer struct { diff --git a/x/claim/vesting/types/codec.go b/x/claim/vesting/types/codec.go index 465ea0772..4a2cccb5c 100644 --- a/x/claim/vesting/types/codec.go +++ b/x/claim/vesting/types/codec.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/msgservice" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-labs/stride/v4/x/claim/vesting/exported" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" ) // RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the diff --git a/x/claim/vesting/types/common_test.go b/x/claim/vesting/types/common_test.go index 6432ed0f9..82ff155d2 100644 --- a/x/claim/vesting/types/common_test.go +++ b/x/claim/vesting/types/common_test.go @@ -1,7 +1,7 @@ package types_test import ( - strideApp "github.com/Stride-labs/stride/v4/app" + strideApp "github.com/Stride-Labs/stride/v3/app" ) var ( diff --git a/x/claim/vesting/types/vesting_account.go b/x/claim/vesting/types/vesting_account.go index 336b9af34..45885d609 100644 --- a/x/claim/vesting/types/vesting_account.go +++ b/x/claim/vesting/types/vesting_account.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-labs/stride/v4/utils" - vestexported "github.com/Stride-labs/stride/v4/x/claim/vesting/exported" + "github.com/Stride-Labs/stride/v3/utils" + vestexported "github.com/Stride-Labs/stride/v3/x/claim/vesting/exported" ) // Compile-time type assertions diff --git a/x/claim/vesting/types/vesting_account_test.go b/x/claim/vesting/types/vesting_account_test.go index 310903abe..0362aafb1 100644 --- a/x/claim/vesting/types/vesting_account_test.go +++ b/x/claim/vesting/types/vesting_account_test.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-labs/stride/v4/x/claim/vesting/types" + "github.com/Stride-Labs/stride/v3/x/claim/vesting/types" ) var ( diff --git a/x/epochs/client/cli/query.go b/x/epochs/client/cli/query.go index 9ca597e36..c2f073628 100644 --- a/x/epochs/client/cli/query.go +++ b/x/epochs/client/cli/query.go @@ -12,7 +12,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/epochs/genesis.go b/x/epochs/genesis.go index f5c6bc3c7..8f0cc4ce2 100644 --- a/x/epochs/genesis.go +++ b/x/epochs/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/epochs/keeper" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/epochs/genesis_test.go b/x/epochs/genesis_test.go index 6d940ad44..79aa1d3a7 100644 --- a/x/epochs/genesis_test.go +++ b/x/epochs/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/epochs" - "github.com/Stride-labs/stride/v4/x/epochs/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/epochs" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func TestGenesis(t *testing.T) { diff --git a/x/epochs/handler.go b/x/epochs/handler.go index 0b9371134..ffd3f8088 100644 --- a/x/epochs/handler.go +++ b/x/epochs/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/epochs/keeper" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // NewHandler returns a handler for epochs module messages diff --git a/x/epochs/keeper/abci.go b/x/epochs/keeper/abci.go index 971f64066..b0f35ed10 100644 --- a/x/epochs/keeper/abci.go +++ b/x/epochs/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // BeginBlocker of epochs module diff --git a/x/epochs/keeper/abci_test.go b/x/epochs/keeper/abci_test.go index b35969254..53af7fd7e 100644 --- a/x/epochs/keeper/abci_test.go +++ b/x/epochs/keeper/abci_test.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/Stride-labs/stride/v4/x/epochs" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochInfoChangesBeginBlockerAndInitGenesis() { diff --git a/x/epochs/keeper/epoch.go b/x/epochs/keeper/epoch.go index 112c40fd6..0aa8819da 100644 --- a/x/epochs/keeper/epoch.go +++ b/x/epochs/keeper/epoch.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // GetEpochInfo returns epoch info by identifier diff --git a/x/epochs/keeper/epoch_test.go b/x/epochs/keeper/epoch_test.go index 0ffed7afe..f3210f576 100644 --- a/x/epochs/keeper/epoch_test.go +++ b/x/epochs/keeper/epoch_test.go @@ -5,7 +5,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochLifeCycle() { diff --git a/x/epochs/keeper/grpc_query.go b/x/epochs/keeper/grpc_query.go index 35d0a9edb..c1ebb1dce 100644 --- a/x/epochs/keeper/grpc_query.go +++ b/x/epochs/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/epochs/keeper/grpc_query_test.go b/x/epochs/keeper/grpc_query_test.go index 3d62fc6e6..f0f18f04b 100644 --- a/x/epochs/keeper/grpc_query_test.go +++ b/x/epochs/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( _ "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) func (suite *KeeperTestSuite) TestQueryEpochInfos() { diff --git a/x/epochs/keeper/hooks.go b/x/epochs/keeper/hooks.go index 4b467f16d..bf56203a8 100644 --- a/x/epochs/keeper/hooks.go +++ b/x/epochs/keeper/hooks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // AfterEpochEnd executes the indicated hook after epochs ends diff --git a/x/epochs/keeper/keeper.go b/x/epochs/keeper/keeper.go index 27b1e3045..81a93258d 100644 --- a/x/epochs/keeper/keeper.go +++ b/x/epochs/keeper/keeper.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // Keeper of this module maintains collections of epochs and hooks. diff --git a/x/epochs/keeper/keeper_test.go b/x/epochs/keeper/keeper_test.go index 2f240cea6..99171122e 100644 --- a/x/epochs/keeper/keeper_test.go +++ b/x/epochs/keeper/keeper_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/app/apptesting" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) type KeeperTestSuite struct { diff --git a/x/epochs/module.go b/x/epochs/module.go index 25680db3a..a15e44a94 100644 --- a/x/epochs/module.go +++ b/x/epochs/module.go @@ -20,10 +20,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/epochs/client/cli" - "github.com/Stride-labs/stride/v4/x/epochs/keeper" - "github.com/Stride-labs/stride/v4/x/epochs/simulation" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/client/cli" + "github.com/Stride-Labs/stride/v3/x/epochs/keeper" + "github.com/Stride-Labs/stride/v3/x/epochs/simulation" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) var ( diff --git a/x/epochs/simulation/genesis.go b/x/epochs/simulation/genesis.go index 2e4e81c73..457b8c076 100644 --- a/x/epochs/simulation/genesis.go +++ b/x/epochs/simulation/genesis.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/epochs/types" ) // RandomizedGenState generates a random GenesisState for mint diff --git a/x/icacallbacks/client/cli/query.go b/x/icacallbacks/client/cli/query.go index a990eb15d..e9f38ed9e 100644 --- a/x/icacallbacks/client/cli/query.go +++ b/x/icacallbacks/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/icacallbacks/client/cli/query_callback_data.go b/x/icacallbacks/client/cli/query_callback_data.go index 2dff8ac0b..4a471a8b4 100644 --- a/x/icacallbacks/client/cli/query_callback_data.go +++ b/x/icacallbacks/client/cli/query_callback_data.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func CmdListCallbackData() *cobra.Command { diff --git a/x/icacallbacks/client/cli/query_callback_data_test.go b/x/icacallbacks/client/cli/query_callback_data_test.go index bec3d0515..3ef3dcb39 100644 --- a/x/icacallbacks/client/cli/query_callback_data_test.go +++ b/x/icacallbacks/client/cli/query_callback_data_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/testutil/network" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/icacallbacks/client/cli" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/client/cli/query_params.go b/x/icacallbacks/client/cli/query_params.go index d704d3cbe..186be4e61 100644 --- a/x/icacallbacks/client/cli/query_params.go +++ b/x/icacallbacks/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/icacallbacks/client/cli/tx.go b/x/icacallbacks/client/cli/tx.go index 07b80775f..0ad81d259 100644 --- a/x/icacallbacks/client/cli/tx.go +++ b/x/icacallbacks/client/cli/tx.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/icacallbacks/genesis.go b/x/icacallbacks/genesis.go index fa9409e16..52ebc2b76 100644 --- a/x/icacallbacks/genesis.go +++ b/x/icacallbacks/genesis.go @@ -3,8 +3,8 @@ package icacallbacks import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/icacallbacks/genesis_test.go b/x/icacallbacks/genesis_test.go index 7e6d9939b..43d459cb7 100644 --- a/x/icacallbacks/genesis_test.go +++ b/x/icacallbacks/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGenesis(t *testing.T) { diff --git a/x/icacallbacks/handler.go b/x/icacallbacks/handler.go index b5692e647..52c6f6e0c 100644 --- a/x/icacallbacks/handler.go +++ b/x/icacallbacks/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // NewHandler ... diff --git a/x/icacallbacks/keeper/callback_data.go b/x/icacallbacks/keeper/callback_data.go index 2be37d962..dc1ce52fe 100644 --- a/x/icacallbacks/keeper/callback_data.go +++ b/x/icacallbacks/keeper/callback_data.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // SetCallbackData set a specific callbackData in the store from its index diff --git a/x/icacallbacks/keeper/callback_data_test.go b/x/icacallbacks/keeper/callback_data_test.go index fb388c6ac..7235d3089 100644 --- a/x/icacallbacks/keeper/callback_data_test.go +++ b/x/icacallbacks/keeper/callback_data_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query.go b/x/icacallbacks/keeper/grpc_query.go index d574a2700..8387b52df 100644 --- a/x/icacallbacks/keeper/grpc_query.go +++ b/x/icacallbacks/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/icacallbacks/keeper/grpc_query_callback_data.go b/x/icacallbacks/keeper/grpc_query_callback_data.go index ae1102872..b06992eb6 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func (k Keeper) CallbackDataAll(c context.Context, req *types.QueryAllCallbackDataRequest) (*types.QueryAllCallbackDataResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_callback_data_test.go b/x/icacallbacks/keeper/grpc_query_callback_data_test.go index c6fbf59e7..201b46b6c 100644 --- a/x/icacallbacks/keeper/grpc_query_callback_data_test.go +++ b/x/icacallbacks/keeper/grpc_query_callback_data_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // Prevent strconv unused error diff --git a/x/icacallbacks/keeper/grpc_query_params.go b/x/icacallbacks/keeper/grpc_query_params.go index d9562da70..adce4f4e9 100644 --- a/x/icacallbacks/keeper/grpc_query_params.go +++ b/x/icacallbacks/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/icacallbacks/keeper/grpc_query_params_test.go b/x/icacallbacks/keeper/grpc_query_params_test.go index 8f4ba799e..d8ecafe8e 100644 --- a/x/icacallbacks/keeper/grpc_query_params_test.go +++ b/x/icacallbacks/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/icacallbacks/keeper/keeper.go b/x/icacallbacks/keeper/keeper.go index 356657a98..b858436c6 100644 --- a/x/icacallbacks/keeper/keeper.go +++ b/x/icacallbacks/keeper/keeper.go @@ -14,8 +14,8 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/icacallbacks/keeper/msg_server.go b/x/icacallbacks/keeper/msg_server.go index 24459861e..c040e59a5 100644 --- a/x/icacallbacks/keeper/msg_server.go +++ b/x/icacallbacks/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) type msgServer struct { diff --git a/x/icacallbacks/keeper/params.go b/x/icacallbacks/keeper/params.go index a755672b1..a98a8e8a5 100644 --- a/x/icacallbacks/keeper/params.go +++ b/x/icacallbacks/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // GetParams get all parameters as types.Params diff --git a/x/icacallbacks/keeper/params_test.go b/x/icacallbacks/keeper/params_test.go index 011ffe455..2dd907fe8 100644 --- a/x/icacallbacks/keeper/params_test.go +++ b/x/icacallbacks/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGetParams(t *testing.T) { diff --git a/x/icacallbacks/module.go b/x/icacallbacks/module.go index 1635173b4..9ae49eefe 100644 --- a/x/icacallbacks/module.go +++ b/x/icacallbacks/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/icacallbacks/client/cli" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/client/cli" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) var ( diff --git a/x/icacallbacks/module_ibc.go b/x/icacallbacks/module_ibc.go index 61fa8ff76..a602bdf39 100644 --- a/x/icacallbacks/module_ibc.go +++ b/x/icacallbacks/module_ibc.go @@ -12,7 +12,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/icacallbacks/module_simulation.go b/x/icacallbacks/module_simulation.go index 27404f93f..618ef2ab7 100644 --- a/x/icacallbacks/module_simulation.go +++ b/x/icacallbacks/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-labs/stride/v4/testutil/sample" - icacallbackssimulation "github.com/Stride-labs/stride/v4/x/icacallbacks/simulation" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/testutil/sample" + icacallbackssimulation "github.com/Stride-Labs/stride/v3/x/icacallbacks/simulation" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) // avoid unused import issue diff --git a/x/icacallbacks/types/genesis_test.go b/x/icacallbacks/types/genesis_test.go index 4a69f50e4..fb6782764 100644 --- a/x/icacallbacks/types/genesis_test.go +++ b/x/icacallbacks/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/interchainquery/genesis.go b/x/interchainquery/genesis.go index 54f402994..872a72069 100644 --- a/x/interchainquery/genesis.go +++ b/x/interchainquery/genesis.go @@ -3,8 +3,8 @@ package interchainquery import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/interchainquery/handler.go b/x/interchainquery/handler.go index f8d409059..208a144b8 100644 --- a/x/interchainquery/handler.go +++ b/x/interchainquery/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // NewHandler returns a handler for interchainquery module messages diff --git a/x/interchainquery/keeper/abci.go b/x/interchainquery/keeper/abci.go index cd25b2e71..2b0e94e82 100644 --- a/x/interchainquery/keeper/abci.go +++ b/x/interchainquery/keeper/abci.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // EndBlocker of interchainquery module diff --git a/x/interchainquery/keeper/keeper.go b/x/interchainquery/keeper/keeper.go index 259cde861..84b91dc6f 100644 --- a/x/interchainquery/keeper/keeper.go +++ b/x/interchainquery/keeper/keeper.go @@ -10,7 +10,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) // Keeper of this module maintains collections of registered zones. diff --git a/x/interchainquery/keeper/keeper_test.go b/x/interchainquery/keeper/keeper_test.go index 90a0e83d2..828800e58 100644 --- a/x/interchainquery/keeper/keeper_test.go +++ b/x/interchainquery/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/app/apptesting" - "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type KeeperTestSuite struct { diff --git a/x/interchainquery/keeper/msg_server.go b/x/interchainquery/keeper/msg_server.go index 8fbe7db85..cac71e594 100644 --- a/x/interchainquery/keeper/msg_server.go +++ b/x/interchainquery/keeper/msg_server.go @@ -14,7 +14,7 @@ import ( tmclienttypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type msgServer struct { diff --git a/x/interchainquery/keeper/msg_submit_query_response_test.go b/x/interchainquery/keeper/msg_submit_query_response_test.go index bbf53f8b1..b83b0dbd6 100644 --- a/x/interchainquery/keeper/msg_submit_query_response_test.go +++ b/x/interchainquery/keeper/msg_submit_query_response_test.go @@ -9,7 +9,7 @@ import ( _ "github.com/stretchr/testify/suite" "github.com/tendermint/tendermint/proto/tendermint/crypto" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) const ( diff --git a/x/interchainquery/keeper/new_query_test.go b/x/interchainquery/keeper/new_query_test.go index e2ff7e2a6..44651d950 100644 --- a/x/interchainquery/keeper/new_query_test.go +++ b/x/interchainquery/keeper/new_query_test.go @@ -3,7 +3,7 @@ package keeper_test import ( _ "github.com/stretchr/testify/suite" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) type NewQueryTestCase struct { diff --git a/x/interchainquery/keeper/queries.go b/x/interchainquery/keeper/queries.go index a29c5ea8f..420c8c920 100644 --- a/x/interchainquery/keeper/queries.go +++ b/x/interchainquery/keeper/queries.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/crypto" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) func GenerateQueryHash(connectionId string, chainId string, queryType string, request []byte, module string, callbackId string) string { diff --git a/x/interchainquery/module.go b/x/interchainquery/module.go index f82e05a7a..7391d1f5b 100644 --- a/x/interchainquery/module.go +++ b/x/interchainquery/module.go @@ -18,9 +18,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" - "github.com/Stride-labs/stride/v4/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) var ( diff --git a/x/mint/client/cli/cli_test.go b/x/mint/client/cli/cli_test.go index 7a548ab07..9e2a6aacd 100644 --- a/x/mint/client/cli/cli_test.go +++ b/x/mint/client/cli/cli_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/Stride-labs/stride/v4/app" - "github.com/Stride-labs/stride/v4/x/mint/client/cli" + "github.com/Stride-Labs/stride/v3/app" + "github.com/Stride-Labs/stride/v3/x/mint/client/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 90bc91406..f88b88891 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/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 573e5883a..7ab8167b4 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/Stride-labs/stride/v4/app" - minttypes "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/app" + minttypes "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/testutil/network" ) diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index e825c3a2d..8b7d887bf 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/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 3b3498983..5d47d2eec 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -3,8 +3,8 @@ package mint import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/mint/keeper" - "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/keeper" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) // InitGenesis new mint genesis. diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 0c68f94a4..f46167d37 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) var _ types.QueryServer = Querier{} diff --git a/x/mint/keeper/hooks.go b/x/mint/keeper/hooks.go index d7af1f760..ecbba8798 100644 --- a/x/mint/keeper/hooks.go +++ b/x/mint/keeper/hooks.go @@ -3,8 +3,8 @@ package keeper import ( "fmt" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - "github.com/Stride-labs/stride/v4/x/mint/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/mint/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index d95538b0f..8659497bd 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/Stride-labs/stride/v4/x/mint/types" + "github.com/Stride-Labs/stride/v3/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 e31fd03e1..7bf0f0371 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -17,12 +17,12 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/mint/client/cli" - "github.com/Stride-labs/stride/v4/x/mint/client/rest" - "github.com/Stride-labs/stride/v4/x/mint/keeper" + "github.com/Stride-Labs/stride/v3/x/mint/client/cli" + "github.com/Stride-Labs/stride/v3/x/mint/client/rest" + "github.com/Stride-Labs/stride/v3/x/mint/keeper" - //"github.com/Stride-labs/stride/v4/x/mint/simulation" - "github.com/Stride-labs/stride/v4/x/mint/types" + //"github.com/Stride-Labs/stride/v3/x/mint/simulation" + "github.com/Stride-Labs/stride/v3/x/mint/types" ) var ( diff --git a/x/mint/types/expected_keepers.go b/x/mint/types/expected_keepers.go index 4d64408a5..e60f0f55f 100644 --- a/x/mint/types/expected_keepers.go +++ b/x/mint/types/expected_keepers.go @@ -1,7 +1,7 @@ package types // noalias import ( - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/mint/types/params.go b/x/mint/types/params.go index 7d988f847..79ff43bc2 100644 --- a/x/mint/types/params.go +++ b/x/mint/types/params.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/records/client/cli/query.go b/x/records/client/cli/query.go index a9f0a9ce2..77309644e 100644 --- a/x/records/client/cli/query.go +++ b/x/records/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/records/client/cli/query_deposit_record.go b/x/records/client/cli/query_deposit_record.go index 32d45a310..5edf86ee9 100644 --- a/x/records/client/cli/query_deposit_record.go +++ b/x/records/client/cli/query_deposit_record.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListDepositRecord() *cobra.Command { diff --git a/x/records/client/cli/query_deposit_record_test.go b/x/records/client/cli/query_deposit_record_test.go index 39b97d98e..c6f146bcd 100644 --- a/x/records/client/cli/query_deposit_record_test.go +++ b/x/records/client/cli/query_deposit_record_test.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/testutil/network" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/client/cli" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func networkWithDepositRecordObjects(t *testing.T, n int) (*network.Network, []types.DepositRecord) { diff --git a/x/records/client/cli/query_epoch_unbonding_record.go b/x/records/client/cli/query_epoch_unbonding_record.go index 7aeb5f5d7..ac747e667 100644 --- a/x/records/client/cli/query_epoch_unbonding_record.go +++ b/x/records/client/cli/query_epoch_unbonding_record.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListEpochUnbondingRecord() *cobra.Command { diff --git a/x/records/client/cli/query_params.go b/x/records/client/cli/query_params.go index ef1297f93..a488e540e 100644 --- a/x/records/client/cli/query_params.go +++ b/x/records/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record.go b/x/records/client/cli/query_user_redemption_record.go index f24cff398..ee5889587 100644 --- a/x/records/client/cli/query_user_redemption_record.go +++ b/x/records/client/cli/query_user_redemption_record.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func CmdListUserRedemptionRecord() *cobra.Command { diff --git a/x/records/client/cli/query_user_redemption_record_test.go b/x/records/client/cli/query_user_redemption_record_test.go index b4cfb94b3..4ef19ff6e 100644 --- a/x/records/client/cli/query_user_redemption_record_test.go +++ b/x/records/client/cli/query_user_redemption_record_test.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/testutil/network" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/client/cli" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func networkWithUserRedemptionRecordObjects(t *testing.T, n int) (*network.Network, []types.UserRedemptionRecord) { diff --git a/x/records/client/cli/tx.go b/x/records/client/cli/tx.go index ed9989ee8..70d8e55af 100644 --- a/x/records/client/cli/tx.go +++ b/x/records/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" // "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/records/genesis.go b/x/records/genesis.go index 600f9b618..ba4feed7d 100644 --- a/x/records/genesis.go +++ b/x/records/genesis.go @@ -3,8 +3,8 @@ package records import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/records/genesis_test.go b/x/records/genesis_test.go index 2ce6dcb76..e262cc94d 100644 --- a/x/records/genesis_test.go +++ b/x/records/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGenesis(t *testing.T) { diff --git a/x/records/handler.go b/x/records/handler.go index 36a4be44d..a5ad02830 100644 --- a/x/records/handler.go +++ b/x/records/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // NewHandler ... diff --git a/x/records/keeper/callback_transfer.go b/x/records/keeper/callback_transfer.go index b84c6001a..8be4489a5 100644 --- a/x/records/keeper/callback_transfer.go +++ b/x/records/keeper/callback_transfer.go @@ -5,7 +5,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/records/keeper/callback_transfer_test.go b/x/records/keeper/callback_transfer_test.go index ceed64416..562097d8c 100644 --- a/x/records/keeper/callback_transfer_test.go +++ b/x/records/keeper/callback_transfer_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordskeeper "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordskeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" ) const chainId = "GAIA" diff --git a/x/records/keeper/callbacks.go b/x/records/keeper/callbacks.go index 24080bf2a..a3b0f86dd 100644 --- a/x/records/keeper/callbacks.go +++ b/x/records/keeper/callbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/records/keeper/deposit_record.go b/x/records/keeper/deposit_record.go index 70cf27913..5ee5b6721 100644 --- a/x/records/keeper/deposit_record.go +++ b/x/records/keeper/deposit_record.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetDepositRecordCount get the total number of depositRecord diff --git a/x/records/keeper/epoch_unbonding_record.go b/x/records/keeper/epoch_unbonding_record.go index e34d833fb..645f5e465 100644 --- a/x/records/keeper/epoch_unbonding_record.go +++ b/x/records/keeper/epoch_unbonding_record.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // SetEpochUnbondingRecord set a specific epochUnbondingRecord in the store diff --git a/x/records/keeper/epoch_unbonding_record_test.go b/x/records/keeper/epoch_unbonding_record_test.go index 98b0663c9..9a0f87878 100644 --- a/x/records/keeper/epoch_unbonding_record_test.go +++ b/x/records/keeper/epoch_unbonding_record_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNEpochUnbondingRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) ([]types.EpochUnbondingRecord, map[string]types.HostZoneUnbonding) { diff --git a/x/records/keeper/grpc_query.go b/x/records/keeper/grpc_query.go index 5aad8a4cf..7d10ba7a4 100644 --- a/x/records/keeper/grpc_query.go +++ b/x/records/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/records/keeper/grpc_query_deposit_record.go b/x/records/keeper/grpc_query_deposit_record.go index 865718ef5..ead10b1b0 100644 --- a/x/records/keeper/grpc_query_deposit_record.go +++ b/x/records/keeper/grpc_query_deposit_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) DepositRecordAll(c context.Context, req *types.QueryAllDepositRecordRequest) (*types.QueryAllDepositRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_deposit_record_test.go b/x/records/keeper/grpc_query_deposit_record_test.go index 26af59620..43687dd44 100644 --- a/x/records/keeper/grpc_query_deposit_record_test.go +++ b/x/records/keeper/grpc_query_deposit_record_test.go @@ -10,10 +10,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNDepositRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.DepositRecord { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record.go b/x/records/keeper/grpc_query_epoch_unbonding_record.go index 941bdd65a..f698f5a14 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) EpochUnbondingRecordAll(c context.Context, req *types.QueryAllEpochUnbondingRecordRequest) (*types.QueryAllEpochUnbondingRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go index 8e066089e..311dc38e7 100644 --- a/x/records/keeper/grpc_query_epoch_unbonding_record_test.go +++ b/x/records/keeper/grpc_query_epoch_unbonding_record_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestEpochUnbondingRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/grpc_query_params.go b/x/records/keeper/grpc_query_params.go index 9751632e7..69c7a9106 100644 --- a/x/records/keeper/grpc_query_params.go +++ b/x/records/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/records/keeper/grpc_query_params_test.go b/x/records/keeper/grpc_query_params_test.go index e3754a2e0..82c1b808f 100644 --- a/x/records/keeper/grpc_query_params_test.go +++ b/x/records/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/records/keeper/grpc_query_user_redemption_record.go b/x/records/keeper/grpc_query_user_redemption_record.go index 9aa6e2e2b..d1668fd65 100644 --- a/x/records/keeper/grpc_query_user_redemption_record.go +++ b/x/records/keeper/grpc_query_user_redemption_record.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) UserRedemptionRecordAll(c context.Context, req *types.QueryAllUserRedemptionRecordRequest) (*types.QueryAllUserRedemptionRecordResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_for_user.go b/x/records/keeper/grpc_query_user_redemption_record_for_user.go index ca32190d8..bb34aa5bb 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_for_user.go +++ b/x/records/keeper/grpc_query_user_redemption_record_for_user.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func (k Keeper) UserRedemptionRecordForUser(c context.Context, req *types.QueryAllUserRedemptionRecordForUserRequest) (*types.QueryAllUserRedemptionRecordForUserResponse, error) { diff --git a/x/records/keeper/grpc_query_user_redemption_record_test.go b/x/records/keeper/grpc_query_user_redemption_record_test.go index b63a0d946..08243ab2b 100644 --- a/x/records/keeper/grpc_query_user_redemption_record_test.go +++ b/x/records/keeper/grpc_query_user_redemption_record_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestUserRedemptionRecordQuerySingle(t *testing.T) { diff --git a/x/records/keeper/keeper.go b/x/records/keeper/keeper.go index c625e2dad..b8ce54010 100644 --- a/x/records/keeper/keeper.go +++ b/x/records/keeper/keeper.go @@ -6,7 +6,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" "github.com/tendermint/tendermint/libs/log" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" @@ -16,9 +16,9 @@ import ( ibctransferkeeper "github.com/cosmos/ibc-go/v3/modules/apps/transfer/keeper" ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - icacallbackskeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" + icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type ( diff --git a/x/records/keeper/keeper_test.go b/x/records/keeper/keeper_test.go index 6ccf83537..53a0b8c0c 100644 --- a/x/records/keeper/keeper_test.go +++ b/x/records/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/app/apptesting" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type KeeperTestSuite struct { diff --git a/x/records/keeper/msg_server.go b/x/records/keeper/msg_server.go index 8212b198f..220fe60b2 100644 --- a/x/records/keeper/msg_server.go +++ b/x/records/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) type msgServer struct { diff --git a/x/records/keeper/params.go b/x/records/keeper/params.go index 3bf4ede8a..db04b1e4a 100644 --- a/x/records/keeper/params.go +++ b/x/records/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // GetParams get all parameters as types.Params diff --git a/x/records/keeper/params_test.go b/x/records/keeper/params_test.go index a09cdf0bb..aee7ad7c4 100644 --- a/x/records/keeper/params_test.go +++ b/x/records/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGetParams(t *testing.T) { diff --git a/x/records/keeper/transfer_test.go b/x/records/keeper/transfer_test.go index 315d8fe6c..2f082393a 100644 --- a/x/records/keeper/transfer_test.go +++ b/x/records/keeper/transfer_test.go @@ -7,8 +7,8 @@ import ( ibctypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" - "github.com/Stride-labs/stride/v4/x/records/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" ) type TransferTestCase struct { diff --git a/x/records/keeper/user_redemption_record.go b/x/records/keeper/user_redemption_record.go index 4dd2f9589..70a778d37 100644 --- a/x/records/keeper/user_redemption_record.go +++ b/x/records/keeper/user_redemption_record.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // SetUserRedemptionRecord set a specific userRedemptionRecord in the store diff --git a/x/records/keeper/user_redemption_record_test.go b/x/records/keeper/user_redemption_record_test.go index d6adc8089..e29000fdb 100644 --- a/x/records/keeper/user_redemption_record_test.go +++ b/x/records/keeper/user_redemption_record_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func createNUserRedemptionRecord(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.UserRedemptionRecord { diff --git a/x/records/module.go b/x/records/module.go index 8e20753b9..026a83402 100644 --- a/x/records/module.go +++ b/x/records/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/records/client/cli" - "github.com/Stride-labs/stride/v4/x/records/keeper" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/client/cli" + "github.com/Stride-Labs/stride/v3/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/types" ) var ( diff --git a/x/records/module_ibc.go b/x/records/module_ibc.go index 10df9e1bf..ba395f6bb 100644 --- a/x/records/module_ibc.go +++ b/x/records/module_ibc.go @@ -10,9 +10,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - icacallbacktypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - "github.com/Stride-labs/stride/v4/x/records/keeper" + "github.com/Stride-Labs/stride/v3/x/records/keeper" // "google.golang.org/protobuf/proto" <-- this breaks tx parsing diff --git a/x/records/module_simulation.go b/x/records/module_simulation.go index c35929710..20694e4e4 100644 --- a/x/records/module_simulation.go +++ b/x/records/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-labs/stride/v4/testutil/sample" - recordssimulation "github.com/Stride-labs/stride/v4/x/records/simulation" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/testutil/sample" + recordssimulation "github.com/Stride-Labs/stride/v3/x/records/simulation" + "github.com/Stride-Labs/stride/v3/x/records/types" ) // avoid unused import issue diff --git a/x/records/types/genesis_test.go b/x/records/types/genesis_test.go index 162222dd0..3cba8b88a 100644 --- a/x/records/types/genesis_test.go +++ b/x/records/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/x/records/types" + "github.com/Stride-Labs/stride/v3/x/records/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/abci.go b/x/stakeibc/abci.go index 59f9df1b3..721b9cd75 100644 --- a/x/stakeibc/abci.go +++ b/x/stakeibc/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/stakeibc/client/cli/query.go b/x/stakeibc/client/cli/query.go index f52693b82..7d262b4c4 100644 --- a/x/stakeibc/client/cli/query.go +++ b/x/stakeibc/client/cli/query.go @@ -10,7 +10,7 @@ import ( // "github.com/cosmos/cosmos-sdk/client/flags" // sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/stakeibc/client/cli/query_epoch_tracker.go b/x/stakeibc/client/cli/query_epoch_tracker.go index 421830657..2c1c22f54 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker.go +++ b/x/stakeibc/client/cli/query_epoch_tracker.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdListEpochTracker() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_epoch_tracker_test.go b/x/stakeibc/client/cli/query_epoch_tracker_test.go index b60f158ae..098daa66a 100644 --- a/x/stakeibc/client/cli/query_epoch_tracker_test.go +++ b/x/stakeibc/client/cli/query_epoch_tracker_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/testutil/network" - "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/client/cli/query_host_zone.go b/x/stakeibc/client/cli/query_host_zone.go index 320f16b02..c4c9b5013 100644 --- a/x/stakeibc/client/cli/query_host_zone.go +++ b/x/stakeibc/client/cli/query_host_zone.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdListHostZone() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account.go b/x/stakeibc/client/cli/query_ica_account.go index 71d264cb7..36fdcce5b 100644 --- a/x/stakeibc/client/cli/query_ica_account.go +++ b/x/stakeibc/client/cli/query_ica_account.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowICAAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_ica_account_test.go b/x/stakeibc/client/cli/query_ica_account_test.go index 8f106072e..32c087b5c 100644 --- a/x/stakeibc/client/cli/query_ica_account_test.go +++ b/x/stakeibc/client/cli/query_ica_account_test.go @@ -9,10 +9,10 @@ import ( tmcli "github.com/tendermint/tendermint/libs/cli" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/testutil/network" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/network" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func networkWithICAAccountObjects(t *testing.T) (*network.Network, types.ICAAccount) { diff --git a/x/stakeibc/client/cli/query_module_address.go b/x/stakeibc/client/cli/query_module_address.go index fe4deb8d8..e8263e2e5 100644 --- a/x/stakeibc/client/cli/query_module_address.go +++ b/x/stakeibc/client/cli/query_module_address.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/query_params.go b/x/stakeibc/client/cli/query_params.go index 0b1aa854c..d4dec5bbd 100644 --- a/x/stakeibc/client/cli/query_params.go +++ b/x/stakeibc/client/cli/query_params.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdQueryParams() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_register_ica.go b/x/stakeibc/client/cli/query_register_ica.go index dc78a592f..5c4bba667 100644 --- a/x/stakeibc/client/cli/query_register_ica.go +++ b/x/stakeibc/client/cli/query_register_ica.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowInterchainAccount() *cobra.Command { diff --git a/x/stakeibc/client/cli/query_validator.go b/x/stakeibc/client/cli/query_validator.go index c271d7568..26de55de7 100644 --- a/x/stakeibc/client/cli/query_validator.go +++ b/x/stakeibc/client/cli/query_validator.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdShowValidators() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx.go b/x/stakeibc/client/cli/tx.go index 7fc37e759..52cd2beea 100644 --- a/x/stakeibc/client/cli/tx.go +++ b/x/stakeibc/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var DefaultRelativePacketTimeoutTimestamp = cast.ToUint64((time.Duration(10) * time.Minute).Nanoseconds()) diff --git a/x/stakeibc/client/cli/tx_add_validator.go b/x/stakeibc/client/cli/tx_add_validator.go index c4383088f..fd82118e2 100644 --- a/x/stakeibc/client/cli/tx_add_validator.go +++ b/x/stakeibc/client/cli/tx_add_validator.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdAddValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_add_validator_proposal.go b/x/stakeibc/client/cli/tx_add_validator_proposal.go index e03774293..7e913e80b 100644 --- a/x/stakeibc/client/cli/tx_add_validator_proposal.go +++ b/x/stakeibc/client/cli/tx_add_validator_proposal.go @@ -16,7 +16,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func parseAddValidatorProposalFile(cdc codec.JSONCodec, proposalFile string) (types.AddValidatorProposal, error) { diff --git a/x/stakeibc/client/cli/tx_change_validator_weight.go b/x/stakeibc/client/cli/tx_change_validator_weight.go index 2dd0d9b98..9b79f8625 100644 --- a/x/stakeibc/client/cli/tx_change_validator_weight.go +++ b/x/stakeibc/client/cli/tx_change_validator_weight.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go index c546ed3b1..e0317bb19 100644 --- a/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go +++ b/x/stakeibc/client/cli/tx_claim_undelegated_tokens.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_clear_balance.go b/x/stakeibc/client/cli/tx_clear_balance.go index b7638fcc6..8259efc1e 100644 --- a/x/stakeibc/client/cli/tx_clear_balance.go +++ b/x/stakeibc/client/cli/tx_clear_balance.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_delete_validator.go b/x/stakeibc/client/cli/tx_delete_validator.go index 97ac4fdaf..225f78c4c 100644 --- a/x/stakeibc/client/cli/tx_delete_validator.go +++ b/x/stakeibc/client/cli/tx_delete_validator.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func CmdDeleteValidator() *cobra.Command { diff --git a/x/stakeibc/client/cli/tx_liquid_stake.go b/x/stakeibc/client/cli/tx_liquid_stake.go index 24ef97ed8..916fe54f5 100644 --- a/x/stakeibc/client/cli/tx_liquid_stake.go +++ b/x/stakeibc/client/cli/tx_liquid_stake.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_rebalance_validators.go b/x/stakeibc/client/cli/tx_rebalance_validators.go index 6464d2e6d..53d891d05 100644 --- a/x/stakeibc/client/cli/tx_rebalance_validators.go +++ b/x/stakeibc/client/cli/tx_rebalance_validators.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_redeem_stake.go b/x/stakeibc/client/cli/tx_redeem_stake.go index 2892d64eb..c33b8ec8e 100644 --- a/x/stakeibc/client/cli/tx_redeem_stake.go +++ b/x/stakeibc/client/cli/tx_redeem_stake.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cast" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_register_host_zone.go b/x/stakeibc/client/cli/tx_register_host_zone.go index cde5c0db5..cd60f09a9 100644 --- a/x/stakeibc/client/cli/tx_register_host_zone.go +++ b/x/stakeibc/client/cli/tx_register_host_zone.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_restore_interchain_account.go b/x/stakeibc/client/cli/tx_restore_interchain_account.go index 6f73d8c16..96a23397b 100644 --- a/x/stakeibc/client/cli/tx_restore_interchain_account.go +++ b/x/stakeibc/client/cli/tx_restore_interchain_account.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/cli/tx_update_delegation.go b/x/stakeibc/client/cli/tx_update_delegation.go index f0849cc1b..fb22800d2 100644 --- a/x/stakeibc/client/cli/tx_update_delegation.go +++ b/x/stakeibc/client/cli/tx_update_delegation.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" "github.com/spf13/cobra" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ = strconv.Itoa(0) diff --git a/x/stakeibc/client/proposal_handler.go b/x/stakeibc/client/proposal_handler.go index 3b913f240..5f0031adf 100644 --- a/x/stakeibc/client/proposal_handler.go +++ b/x/stakeibc/client/proposal_handler.go @@ -1,8 +1,8 @@ package client import ( - "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" - "github.com/Stride-labs/stride/v4/x/stakeibc/client/rest" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/rest" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" ) diff --git a/x/stakeibc/genesis.go b/x/stakeibc/genesis.go index 336e261d3..1fa42dbce 100644 --- a/x/stakeibc/genesis.go +++ b/x/stakeibc/genesis.go @@ -3,8 +3,8 @@ package stakeibc import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/stakeibc/genesis_test.go b/x/stakeibc/genesis_test.go index 761f62637..ec5a426c4 100644 --- a/x/stakeibc/genesis_test.go +++ b/x/stakeibc/genesis_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGenesis(t *testing.T) { diff --git a/x/stakeibc/handler.go b/x/stakeibc/handler.go index b03d52f67..a1ef95510 100644 --- a/x/stakeibc/handler.go +++ b/x/stakeibc/handler.go @@ -8,8 +8,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // NewHandler ... diff --git a/x/stakeibc/keeper/delegation.go b/x/stakeibc/keeper/delegation.go index df30f13cb..9d91792a7 100644 --- a/x/stakeibc/keeper/delegation.go +++ b/x/stakeibc/keeper/delegation.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetDelegation set delegation in the store diff --git a/x/stakeibc/keeper/delegation_test.go b/x/stakeibc/keeper/delegation_test.go index 4f347386c..4cc642807 100644 --- a/x/stakeibc/keeper/delegation_test.go +++ b/x/stakeibc/keeper/delegation_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestDelegation(keeper *keeper.Keeper, ctx sdk.Context) types.Delegation { diff --git a/x/stakeibc/keeper/deposit_records.go b/x/stakeibc/keeper/deposit_records.go index a885464f4..78462fb04 100644 --- a/x/stakeibc/keeper/deposit_records.go +++ b/x/stakeibc/keeper/deposit_records.go @@ -11,9 +11,9 @@ import ( clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/utils" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) CreateDepositRecordsForEpoch(ctx sdk.Context, epochNumber uint64) { diff --git a/x/stakeibc/keeper/deposit_records_test.go b/x/stakeibc/keeper/deposit_records_test.go index 31d649fb4..f6ee00c6d 100644 --- a/x/stakeibc/keeper/deposit_records_test.go +++ b/x/stakeibc/keeper/deposit_records_test.go @@ -10,10 +10,10 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type TestDepositRecords struct { diff --git a/x/stakeibc/keeper/epoch_elapsed_shares_test.go b/x/stakeibc/keeper/epoch_elapsed_shares_test.go index 9cf8826cb..5c2571f57 100644 --- a/x/stakeibc/keeper/epoch_elapsed_shares_test.go +++ b/x/stakeibc/keeper/epoch_elapsed_shares_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // These are used to indicate that the value does not matter for the sake of the test diff --git a/x/stakeibc/keeper/epoch_tracker.go b/x/stakeibc/keeper/epoch_tracker.go index 4d50da748..0808ff686 100644 --- a/x/stakeibc/keeper/epoch_tracker.go +++ b/x/stakeibc/keeper/epoch_tracker.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetEpochTracker set a specific epochTracker in the store from its index diff --git a/x/stakeibc/keeper/epoch_tracker_test.go b/x/stakeibc/keeper/epoch_tracker_test.go index 8a1ad9345..065ff0882 100644 --- a/x/stakeibc/keeper/epoch_tracker_test.go +++ b/x/stakeibc/keeper/epoch_tracker_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/gov.go b/x/stakeibc/keeper/gov.go index 56401158b..df3db8d9f 100644 --- a/x/stakeibc/keeper/gov.go +++ b/x/stakeibc/keeper/gov.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) AddValidatorProposal(ctx sdk.Context, msg *types.AddValidatorProposal) error { diff --git a/x/stakeibc/keeper/grpc_query.go b/x/stakeibc/keeper/grpc_query.go index 493e9d3da..35b16ee98 100644 --- a/x/stakeibc/keeper/grpc_query.go +++ b/x/stakeibc/keeper/grpc_query.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker.go b/x/stakeibc/keeper/grpc_query_epoch_tracker.go index e9b55f884..9addf8e49 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) EpochTrackerAll(c context.Context, req *types.QueryAllEpochTrackerRequest) (*types.QueryAllEpochTrackerResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go index 9d1d3398b..45e57c292 100644 --- a/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go +++ b/x/stakeibc/keeper/grpc_query_epoch_tracker_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // Prevent strconv unused error diff --git a/x/stakeibc/keeper/grpc_query_host_zone.go b/x/stakeibc/keeper/grpc_query_host_zone.go index efe46b38d..32cff02e6 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone.go +++ b/x/stakeibc/keeper/grpc_query_host_zone.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) HostZoneAll(c context.Context, req *types.QueryAllHostZoneRequest) (*types.QueryAllHostZoneResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_host_zone_test.go b/x/stakeibc/keeper/grpc_query_host_zone_test.go index c5c071e18..a07db8256 100644 --- a/x/stakeibc/keeper/grpc_query_host_zone_test.go +++ b/x/stakeibc/keeper/grpc_query_host_zone_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestHostZoneQuerySingle(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account.go b/x/stakeibc/keeper/grpc_query_ica_account.go index 7c68c5d93..d68868307 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account.go +++ b/x/stakeibc/keeper/grpc_query_ica_account.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) ICAAccount(c context.Context, req *types.QueryGetICAAccountRequest) (*types.QueryGetICAAccountResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_ica_account_test.go b/x/stakeibc/keeper/grpc_query_ica_account_test.go index 77170295d..13f032a11 100644 --- a/x/stakeibc/keeper/grpc_query_ica_account_test.go +++ b/x/stakeibc/keeper/grpc_query_ica_account_test.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (suite *KeeperTestSuite) TestICAAccountQuery() { diff --git a/x/stakeibc/keeper/grpc_query_module_address.go b/x/stakeibc/keeper/grpc_query_module_address.go index 368128f8e..bdc0cb632 100644 --- a/x/stakeibc/keeper/grpc_query_module_address.go +++ b/x/stakeibc/keeper/grpc_query_module_address.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) ModuleAddress(goCtx context.Context, req *types.QueryModuleAddressRequest) (*types.QueryModuleAddressResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params.go b/x/stakeibc/keeper/grpc_query_params.go index c5fc726c8..bc93eef76 100644 --- a/x/stakeibc/keeper/grpc_query_params.go +++ b/x/stakeibc/keeper/grpc_query_params.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_params_test.go b/x/stakeibc/keeper/grpc_query_params_test.go index e553038f8..79406cadc 100644 --- a/x/stakeibc/keeper/grpc_query_params_test.go +++ b/x/stakeibc/keeper/grpc_query_params_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestParamsQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/grpc_query_register_ica.go b/x/stakeibc/keeper/grpc_query_register_ica.go index fd9119e71..7523cc7c5 100644 --- a/x/stakeibc/keeper/grpc_query_register_ica.go +++ b/x/stakeibc/keeper/grpc_query_register_ica.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // InterchainAccountFromAddress implements the Query/InterchainAccountFromAddress gRPC method diff --git a/x/stakeibc/keeper/grpc_query_validator.go b/x/stakeibc/keeper/grpc_query_validator.go index dcb2180cc..4b50ac57a 100644 --- a/x/stakeibc/keeper/grpc_query_validator.go +++ b/x/stakeibc/keeper/grpc_query_validator.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) Validators(c context.Context, req *types.QueryGetValidatorsRequest) (*types.QueryGetValidatorsResponse, error) { diff --git a/x/stakeibc/keeper/grpc_query_validator_test.go b/x/stakeibc/keeper/grpc_query_validator_test.go index b08f17881..ee495093f 100644 --- a/x/stakeibc/keeper/grpc_query_validator_test.go +++ b/x/stakeibc/keeper/grpc_query_validator_test.go @@ -8,9 +8,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestValidatorQuery(t *testing.T) { diff --git a/x/stakeibc/keeper/hooks.go b/x/stakeibc/keeper/hooks.go index b791432b2..5e8be53e3 100644 --- a/x/stakeibc/keeper/hooks.go +++ b/x/stakeibc/keeper/hooks.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/utils" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // TODO [TEST-127]: ensure all timeouts are less than the epoch length diff --git a/x/stakeibc/keeper/host_zone.go b/x/stakeibc/keeper/host_zone.go index d543086f6..86686defb 100644 --- a/x/stakeibc/keeper/host_zone.go +++ b/x/stakeibc/keeper/host_zone.go @@ -11,7 +11,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetHostZoneCount get the total number of hostZone diff --git a/x/stakeibc/keeper/host_zone_test.go b/x/stakeibc/keeper/host_zone_test.go index 54651f313..0a60488c9 100644 --- a/x/stakeibc/keeper/host_zone_test.go +++ b/x/stakeibc/keeper/host_zone_test.go @@ -7,10 +7,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createNHostZone(keeper *keeper.Keeper, ctx sdk.Context, n int) []types.HostZone { diff --git a/x/stakeibc/keeper/ica_account.go b/x/stakeibc/keeper/ica_account.go index b58d076cc..488eb509c 100644 --- a/x/stakeibc/keeper/ica_account.go +++ b/x/stakeibc/keeper/ica_account.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetICAAccount set iCAAccount in the store diff --git a/x/stakeibc/keeper/ica_account_test.go b/x/stakeibc/keeper/ica_account_test.go index ac0639652..475e06171 100644 --- a/x/stakeibc/keeper/ica_account_test.go +++ b/x/stakeibc/keeper/ica_account_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (suite *KeeperTestSuite) createTestICAAccount() types.ICAAccount { diff --git a/x/stakeibc/keeper/icacallbacks.go b/x/stakeibc/keeper/icacallbacks.go index 8d01792ef..d24ccff58 100644 --- a/x/stakeibc/keeper/icacallbacks.go +++ b/x/stakeibc/keeper/icacallbacks.go @@ -1,7 +1,7 @@ package keeper import ( - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" diff --git a/x/stakeibc/keeper/icacallbacks_claim.go b/x/stakeibc/keeper/icacallbacks_claim.go index ef74bed46..3b1103348 100644 --- a/x/stakeibc/keeper/icacallbacks_claim.go +++ b/x/stakeibc/keeper/icacallbacks_claim.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_claim_test.go b/x/stakeibc/keeper/icacallbacks_claim_test.go index e314d1ec0..58c80aef9 100644 --- a/x/stakeibc/keeper/icacallbacks_claim_test.go +++ b/x/stakeibc/keeper/icacallbacks_claim_test.go @@ -8,9 +8,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClaimCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_delegate.go b/x/stakeibc/keeper/icacallbacks_delegate.go index 6bca7c9f8..1d260d19a 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate.go +++ b/x/stakeibc/keeper/icacallbacks_delegate.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_delegate_test.go b/x/stakeibc/keeper/icacallbacks_delegate_test.go index 897cc3e64..7af302f10 100644 --- a/x/stakeibc/keeper/icacallbacks_delegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_delegate_test.go @@ -9,10 +9,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_rebalance.go b/x/stakeibc/keeper/icacallbacks_rebalance.go index deadbe748..246db3dc8 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance.go @@ -3,9 +3,9 @@ package keeper import ( "fmt" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_rebalance_test.go b/x/stakeibc/keeper/icacallbacks_rebalance_test.go index 8d8d1f247..825fd2e8e 100644 --- a/x/stakeibc/keeper/icacallbacks_rebalance_test.go +++ b/x/stakeibc/keeper/icacallbacks_rebalance_test.go @@ -6,9 +6,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RebalanceCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_redemption.go b/x/stakeibc/keeper/icacallbacks_redemption.go index fb7425a21..f0b050e54 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption.go +++ b/x/stakeibc/keeper/icacallbacks_redemption.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_redemption_test.go b/x/stakeibc/keeper/icacallbacks_redemption_test.go index b986dab0c..a3aaea191 100644 --- a/x/stakeibc/keeper/icacallbacks_redemption_test.go +++ b/x/stakeibc/keeper/icacallbacks_redemption_test.go @@ -8,10 +8,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RedemptionCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_reinvest.go b/x/stakeibc/keeper/icacallbacks_reinvest.go index c495fb19f..0fa669b8e 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest.go @@ -3,11 +3,11 @@ package keeper import ( "fmt" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_reinvest_test.go b/x/stakeibc/keeper/icacallbacks_reinvest_test.go index bf67659a1..dc85165c2 100644 --- a/x/stakeibc/keeper/icacallbacks_reinvest_test.go +++ b/x/stakeibc/keeper/icacallbacks_reinvest_test.go @@ -6,12 +6,12 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ReinvestCallbackState struct { diff --git a/x/stakeibc/keeper/icacallbacks_undelegate.go b/x/stakeibc/keeper/icacallbacks_undelegate.go index d5b3cf4ce..7b7d36ac0 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/icacallbacks" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/icacallbacks" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/icacallbacks_undelegate_test.go b/x/stakeibc/keeper/icacallbacks_undelegate_test.go index 2bcc68c93..87b88ff62 100644 --- a/x/stakeibc/keeper/icacallbacks_undelegate_test.go +++ b/x/stakeibc/keeper/icacallbacks_undelegate_test.go @@ -10,10 +10,10 @@ import ( "github.com/gogo/protobuf/proto" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type UndelegateCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks.go b/x/stakeibc/keeper/icqcallbacks.go index b2ed492d5..59a12585a 100644 --- a/x/stakeibc/keeper/icqcallbacks.go +++ b/x/stakeibc/keeper/icqcallbacks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" ) const ( diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go index 26796fdd7..581bfcee5 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares.go @@ -9,9 +9,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // DelegatorSharesCallback is a callback handler for UpdateValidatorSharesExchRate queries. diff --git a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go index 7473e5db7..28d44636d 100644 --- a/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go +++ b/x/stakeibc/keeper/icqcallbacks_delegator_shares_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DelegatorSharesICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go index 84cd85564..819e9626c 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate.go @@ -8,9 +8,9 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // ValidatorCallback is a callback handler for validator queries. diff --git a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go index 428f9023b..ac20a2949 100644 --- a/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go +++ b/x/stakeibc/keeper/icqcallbacks_validator_exchange_rate_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ValidatorICQCallbackState struct { diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go index 388b3f27a..ac8a0adef 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance.go @@ -8,8 +8,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/spf13/cast" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // WithdrawalBalanceCallback is a callback handler for WithdrawalBalance queries. diff --git a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go index ac16271c9..e554e91fb 100644 --- a/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go +++ b/x/stakeibc/keeper/icqcallbacks_withdrawal_balance_test.go @@ -8,11 +8,11 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type WithdrawalBalanceICQCallbackState struct { diff --git a/x/stakeibc/keeper/keeper.go b/x/stakeibc/keeper/keeper.go index b18de9176..194088458 100644 --- a/x/stakeibc/keeper/keeper.go +++ b/x/stakeibc/keeper/keeper.go @@ -13,8 +13,8 @@ import ( capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types" - icqkeeper "github.com/Stride-labs/stride/v4/x/interchainquery/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + icqkeeper "github.com/Stride-Labs/stride/v3/x/interchainquery/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" @@ -22,9 +22,9 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" ibctmtypes "github.com/cosmos/ibc-go/v3/modules/light-clients/07-tendermint/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icacallbackskeeper "github.com/Stride-labs/stride/v4/x/icacallbacks/keeper" - recordsmodulekeeper "github.com/Stride-labs/stride/v4/x/records/keeper" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackskeeper "github.com/Stride-Labs/stride/v3/x/icacallbacks/keeper" + recordsmodulekeeper "github.com/Stride-Labs/stride/v3/x/records/keeper" ) type ( diff --git a/x/stakeibc/keeper/keeper_test.go b/x/stakeibc/keeper/keeper_test.go index 321c624aa..8ba0a81d3 100644 --- a/x/stakeibc/keeper/keeper_test.go +++ b/x/stakeibc/keeper/keeper_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/app/apptesting" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) const ( diff --git a/x/stakeibc/keeper/min_validator_requirements.go b/x/stakeibc/keeper/min_validator_requirements.go index 9ac479935..d5f5ab08e 100644 --- a/x/stakeibc/keeper/min_validator_requirements.go +++ b/x/stakeibc/keeper/min_validator_requirements.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetMinValidatorRequirements set minValidatorRequirements in the store diff --git a/x/stakeibc/keeper/min_validator_requirements_test.go b/x/stakeibc/keeper/min_validator_requirements_test.go index 1834d4719..a6128e48d 100644 --- a/x/stakeibc/keeper/min_validator_requirements_test.go +++ b/x/stakeibc/keeper/min_validator_requirements_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestMinValidatorRequirements(keeper *keeper.Keeper, ctx sdk.Context) types.MinValidatorRequirements { diff --git a/x/stakeibc/keeper/msg_server.go b/x/stakeibc/keeper/msg_server.go index 07cdfbd18..e800352fc 100644 --- a/x/stakeibc/keeper/msg_server.go +++ b/x/stakeibc/keeper/msg_server.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type msgServer struct { diff --git a/x/stakeibc/keeper/msg_server_add_validator.go b/x/stakeibc/keeper/msg_server_add_validator.go index 3156664e5..8d0a4d253 100644 --- a/x/stakeibc/keeper/msg_server_add_validator.go +++ b/x/stakeibc/keeper/msg_server_add_validator.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) AddValidator(goCtx context.Context, msg *types.MsgAddValidator) (*types.MsgAddValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_add_validator_test.go b/x/stakeibc/keeper/msg_server_add_validator_test.go index 7f26046b7..d0ab7f208 100644 --- a/x/stakeibc/keeper/msg_server_add_validator_test.go +++ b/x/stakeibc/keeper/msg_server_add_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type AddValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_change_validator_weight.go b/x/stakeibc/keeper/msg_server_change_validator_weight.go index 34d71c1c8..d496086ae 100644 --- a/x/stakeibc/keeper/msg_server_change_validator_weight.go +++ b/x/stakeibc/keeper/msg_server_change_validator_weight.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) ChangeValidatorWeight(goCtx context.Context, msg *types.MsgChangeValidatorWeight) (*types.MsgChangeValidatorWeightResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go index 8dce3ab71..a8f6654ec 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens.go @@ -6,14 +6,14 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type IcaTx struct { diff --git a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go index ff1680df7..aeeb6fe06 100644 --- a/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go +++ b/x/stakeibc/keeper/msg_server_claim_undelegated_tokens_test.go @@ -9,10 +9,10 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibckeeper "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibckeeper "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClaimUndelegatedState struct { diff --git a/x/stakeibc/keeper/msg_server_clear_balance.go b/x/stakeibc/keeper/msg_server_clear_balance.go index ef08cb058..7f3e12c54 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance.go +++ b/x/stakeibc/keeper/msg_server_clear_balance.go @@ -9,7 +9,7 @@ import ( ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) ClearBalance(goCtx context.Context, msg *types.MsgClearBalance) (*types.MsgClearBalanceResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_clear_balance_test.go b/x/stakeibc/keeper/msg_server_clear_balance_test.go index bb8cc120b..d6054507c 100644 --- a/x/stakeibc/keeper/msg_server_clear_balance_test.go +++ b/x/stakeibc/keeper/msg_server_clear_balance_test.go @@ -8,8 +8,8 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type ClearBalanceState struct { diff --git a/x/stakeibc/keeper/msg_server_delete_validator.go b/x/stakeibc/keeper/msg_server_delete_validator.go index da3439e98..701ab7c92 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator.go +++ b/x/stakeibc/keeper/msg_server_delete_validator.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) DeleteValidator(goCtx context.Context, msg *types.MsgDeleteValidator) (*types.MsgDeleteValidatorResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_delete_validator_test.go b/x/stakeibc/keeper/msg_server_delete_validator_test.go index 45afe0aae..f3532e4b0 100644 --- a/x/stakeibc/keeper/msg_server_delete_validator_test.go +++ b/x/stakeibc/keeper/msg_server_delete_validator_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DeleteValidatorTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake.go b/x/stakeibc/keeper/msg_server_liquid_stake.go index 53a29da26..5f169c63b 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake.go @@ -8,8 +8,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) LiquidStake(goCtx context.Context, msg *types.MsgLiquidStake) (*types.MsgLiquidStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_liquid_stake_test.go b/x/stakeibc/keeper/msg_server_liquid_stake_test.go index d96eedee0..bcf8db1b8 100644 --- a/x/stakeibc/keeper/msg_server_liquid_stake_test.go +++ b/x/stakeibc/keeper/msg_server_liquid_stake_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type Account struct { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators.go b/x/stakeibc/keeper/msg_server_rebalance_validators.go index bbd14917e..7ebc464ac 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators.go @@ -10,8 +10,8 @@ import ( stakingTypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/utils" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/utils" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func abs(n int64) int64 { diff --git a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go index a11b4dfb0..d8d972846 100644 --- a/x/stakeibc/keeper/msg_server_rebalance_validators_test.go +++ b/x/stakeibc/keeper/msg_server_rebalance_validators_test.go @@ -7,9 +7,9 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" ibctesting "github.com/cosmos/ibc-go/v3/testing" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RebalanceValidatorsTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake.go b/x/stakeibc/keeper/msg_server_redeem_stake.go index c406ff9e8..a81012f88 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake.go @@ -6,13 +6,13 @@ import ( "github.com/spf13/cast" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) func (k msgServer) RedeemStake(goCtx context.Context, msg *types.MsgRedeemStake) (*types.MsgRedeemStakeResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_redeem_stake_test.go b/x/stakeibc/keeper/msg_server_redeem_stake_test.go index 1a5da8fd5..7106b7571 100644 --- a/x/stakeibc/keeper/msg_server_redeem_stake_test.go +++ b/x/stakeibc/keeper/msg_server_redeem_stake_test.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cast" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RedeemStakeState struct { diff --git a/x/stakeibc/keeper/msg_server_register_host_zone.go b/x/stakeibc/keeper/msg_server_register_host_zone.go index 7332c0530..ce5988052 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone.go @@ -6,9 +6,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/stakeibc/keeper/msg_server_register_host_zone_test.go b/x/stakeibc/keeper/msg_server_register_host_zone_test.go index b376e7a05..133ccf266 100644 --- a/x/stakeibc/keeper/msg_server_register_host_zone_test.go +++ b/x/stakeibc/keeper/msg_server_register_host_zone_test.go @@ -11,10 +11,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type RegisterHostZoneTestCase struct { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account.go b/x/stakeibc/keeper/msg_server_restore_interchain_account.go index f005e70a4..6d3edc726 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account.go @@ -8,8 +8,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k msgServer) RestoreInterchainAccount(goCtx context.Context, msg *types.MsgRestoreInterchainAccount) (*types.MsgRestoreInterchainAccountResponse, error) { diff --git a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go index 3d41be74d..16f126df5 100644 --- a/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go +++ b/x/stakeibc/keeper/msg_server_restore_interchain_account_test.go @@ -10,8 +10,8 @@ import ( icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type DepositRecordStatusUpdate struct { diff --git a/x/stakeibc/keeper/msg_server_submit_tx.go b/x/stakeibc/keeper/msg_server_submit_tx.go index da88a3f51..9a70a6b58 100644 --- a/x/stakeibc/keeper/msg_server_submit_tx.go +++ b/x/stakeibc/keeper/msg_server_submit_tx.go @@ -8,10 +8,10 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cast" - icacallbackstypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbackstypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" bankTypes "github.com/cosmos/cosmos-sdk/x/bank/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" @@ -19,8 +19,8 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - epochstypes "github.com/Stride-labs/stride/v4/x/epochs/types" - icqtypes "github.com/Stride-labs/stride/v4/x/interchainquery/types" + epochstypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + icqtypes "github.com/Stride-Labs/stride/v3/x/interchainquery/types" sdk "github.com/cosmos/cosmos-sdk/types" icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types" diff --git a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go index 967c81d66..0a4e6cad2 100644 --- a/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go +++ b/x/stakeibc/keeper/msg_server_update_validator_shares_exch_rate.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // This kicks off two ICQs, each with a callback, that will update the number of tokens on a validator diff --git a/x/stakeibc/keeper/params.go b/x/stakeibc/keeper/params.go index 797169ab0..0ab0eb023 100644 --- a/x/stakeibc/keeper/params.go +++ b/x/stakeibc/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // GetParams get all parameters as types.Params diff --git a/x/stakeibc/keeper/params_test.go b/x/stakeibc/keeper/params_test.go index b9e746877..c8b71508d 100644 --- a/x/stakeibc/keeper/params_test.go +++ b/x/stakeibc/keeper/params_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - testkeeper "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + testkeeper "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGetParams(t *testing.T) { diff --git a/x/stakeibc/keeper/unbonding_records.go b/x/stakeibc/keeper/unbonding_records.go index 16851d7e9..cbc69d312 100644 --- a/x/stakeibc/keeper/unbonding_records.go +++ b/x/stakeibc/keeper/unbonding_records.go @@ -10,10 +10,10 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" - recordstypes "github.com/Stride-labs/stride/v4/x/records/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + recordstypes "github.com/Stride-Labs/stride/v3/x/records/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) CreateEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64) bool { diff --git a/x/stakeibc/keeper/unbonding_records_cleanup_test.go b/x/stakeibc/keeper/unbonding_records_cleanup_test.go index 4755707b9..58ad7ca85 100644 --- a/x/stakeibc/keeper/unbonding_records_cleanup_test.go +++ b/x/stakeibc/keeper/unbonding_records_cleanup_test.go @@ -3,9 +3,9 @@ package keeper_test import ( _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type CleanupEpochUnbondingRecordsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go index a8b7a9b8b..b58731340 100644 --- a/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go +++ b/x/stakeibc/keeper/unbonding_records_get_host_zone_unbondings_msgs_test.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type GetHostZoneUnbondingMsgsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go index 527a4cc30..e285e2c54 100644 --- a/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go +++ b/x/stakeibc/keeper/unbonding_records_initiate_all_unbondings_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type InitiateAllHostZoneUnbondingsTestCase struct { diff --git a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go index 6e26d0851..6a324e1c2 100644 --- a/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go +++ b/x/stakeibc/keeper/unbonding_records_sweep_unbonded_tokens_test.go @@ -4,9 +4,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibc "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibc "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type SweepUnbondedTokensTestCase struct { diff --git a/x/stakeibc/keeper/update_redemption_rates_test.go b/x/stakeibc/keeper/update_redemption_rates_test.go index 8d8f2bc15..4badf0c33 100644 --- a/x/stakeibc/keeper/update_redemption_rates_test.go +++ b/x/stakeibc/keeper/update_redemption_rates_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/stretchr/testify/suite" - recordtypes "github.com/Stride-labs/stride/v4/x/records/types" + recordtypes "github.com/Stride-Labs/stride/v3/x/records/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) type UpdateRedemptionRatesTestCase struct { diff --git a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go index 6f9c13583..afc129a7f 100644 --- a/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go +++ b/x/stakeibc/keeper/update_validator_shares_exch_rate_test.go @@ -6,9 +6,9 @@ import ( ibctesting "github.com/cosmos/ibc-go/v3/testing" _ "github.com/stretchr/testify/suite" - epochtypes "github.com/Stride-labs/stride/v4/x/epochs/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" - stakeibctypes "github.com/Stride-labs/stride/v4/x/stakeibc/types" + epochtypes "github.com/Stride-Labs/stride/v3/x/epochs/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" + stakeibctypes "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // ================================ 1: QueryValidatorExchangeRate ============================================= diff --git a/x/stakeibc/keeper/validator.go b/x/stakeibc/keeper/validator.go index cc85ca40e..ed5597b1a 100644 --- a/x/stakeibc/keeper/validator.go +++ b/x/stakeibc/keeper/validator.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // SetValidator set validator in the store diff --git a/x/stakeibc/keeper/validator_selection.go b/x/stakeibc/keeper/validator_selection.go index 17426d7f2..54aa7fc1c 100644 --- a/x/stakeibc/keeper/validator_selection.go +++ b/x/stakeibc/keeper/validator_selection.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cast" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func (k Keeper) GetValidatorDelegationAmtDifferences(ctx sdk.Context, hostZone types.HostZone) (map[string]int64, error) { diff --git a/x/stakeibc/keeper/validator_test.go b/x/stakeibc/keeper/validator_test.go index 860d47a04..32c6c196a 100644 --- a/x/stakeibc/keeper/validator_test.go +++ b/x/stakeibc/keeper/validator_test.go @@ -6,10 +6,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - keepertest "github.com/Stride-labs/stride/v4/testutil/keeper" - "github.com/Stride-labs/stride/v4/testutil/nullify" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + keepertest "github.com/Stride-Labs/stride/v3/testutil/keeper" + "github.com/Stride-Labs/stride/v3/testutil/nullify" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func createTestValidator(keeper *keeper.Keeper, ctx sdk.Context) types.Validator { diff --git a/x/stakeibc/module.go b/x/stakeibc/module.go index e00beca85..76c0db081 100644 --- a/x/stakeibc/module.go +++ b/x/stakeibc/module.go @@ -19,9 +19,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/Stride-labs/stride/v4/x/stakeibc/client/cli" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/client/cli" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) var ( diff --git a/x/stakeibc/module_ibc.go b/x/stakeibc/module_ibc.go index 3a9b12155..c10bbc3cc 100644 --- a/x/stakeibc/module_ibc.go +++ b/x/stakeibc/module_ibc.go @@ -11,10 +11,10 @@ import ( host "github.com/cosmos/ibc-go/v3/modules/core/24-host" ibcexported "github.com/cosmos/ibc-go/v3/modules/core/exported" - icacallbacktypes "github.com/Stride-labs/stride/v4/x/icacallbacks/types" + icacallbacktypes "github.com/Stride-Labs/stride/v3/x/icacallbacks/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // IBCModule implements the ICS26 interface for interchain accounts controller chains diff --git a/x/stakeibc/module_simulation.go b/x/stakeibc/module_simulation.go index 4f242206a..a2878647b 100644 --- a/x/stakeibc/module_simulation.go +++ b/x/stakeibc/module_simulation.go @@ -10,9 +10,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/Stride-labs/stride/v4/testutil/sample" - stakeibcsimulation "github.com/Stride-labs/stride/v4/x/stakeibc/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/testutil/sample" + stakeibcsimulation "github.com/Stride-Labs/stride/v3/x/stakeibc/simulation" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) // avoid unused import issue diff --git a/x/stakeibc/proposal_handler.go b/x/stakeibc/proposal_handler.go index aa37ea18f..1a011f54b 100644 --- a/x/stakeibc/proposal_handler.go +++ b/x/stakeibc/proposal_handler.go @@ -5,9 +5,9 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func NewStakeibcProposalHandler(k keeper.Keeper) govtypes.Handler { diff --git a/x/stakeibc/simulation/add_validator.go b/x/stakeibc/simulation/add_validator.go index a112cbc88..79f7b0abf 100644 --- a/x/stakeibc/simulation/add_validator.go +++ b/x/stakeibc/simulation/add_validator.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgAddValidator( diff --git a/x/stakeibc/simulation/change_validator_weight.go b/x/stakeibc/simulation/change_validator_weight.go index 809065d7b..5fef1fcff 100644 --- a/x/stakeibc/simulation/change_validator_weight.go +++ b/x/stakeibc/simulation/change_validator_weight.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgChangeValidatorWeight( diff --git a/x/stakeibc/simulation/claim_undelegated_tokens.go b/x/stakeibc/simulation/claim_undelegated_tokens.go index 775e63ef7..83e202f5f 100644 --- a/x/stakeibc/simulation/claim_undelegated_tokens.go +++ b/x/stakeibc/simulation/claim_undelegated_tokens.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgClaimUndelegatedTokens( diff --git a/x/stakeibc/simulation/delete_validator.go b/x/stakeibc/simulation/delete_validator.go index b353e48ee..12c43edb6 100644 --- a/x/stakeibc/simulation/delete_validator.go +++ b/x/stakeibc/simulation/delete_validator.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgDeleteValidator( diff --git a/x/stakeibc/simulation/liquid_stake.go b/x/stakeibc/simulation/liquid_stake.go index 4c516305f..d66ef7e1c 100644 --- a/x/stakeibc/simulation/liquid_stake.go +++ b/x/stakeibc/simulation/liquid_stake.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgLiquidStake( diff --git a/x/stakeibc/simulation/rebalance_validators.go b/x/stakeibc/simulation/rebalance_validators.go index 05a41274f..ba2fdf4bb 100644 --- a/x/stakeibc/simulation/rebalance_validators.go +++ b/x/stakeibc/simulation/rebalance_validators.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgRebalanceValidators( diff --git a/x/stakeibc/simulation/restore_interchain_account.go b/x/stakeibc/simulation/restore_interchain_account.go index 70a1cb7f9..6db99c636 100644 --- a/x/stakeibc/simulation/restore_interchain_account.go +++ b/x/stakeibc/simulation/restore_interchain_account.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgRestoreInterchainAccount( diff --git a/x/stakeibc/simulation/update_delegation.go b/x/stakeibc/simulation/update_delegation.go index 7872018cb..f992e113c 100644 --- a/x/stakeibc/simulation/update_delegation.go +++ b/x/stakeibc/simulation/update_delegation.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/Stride-labs/stride/v4/x/stakeibc/keeper" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/keeper" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func SimulateMsgUpdateValidatorSharesExchRate( diff --git a/x/stakeibc/types/genesis_test.go b/x/stakeibc/types/genesis_test.go index 9b716b519..48b2de9f4 100644 --- a/x/stakeibc/types/genesis_test.go +++ b/x/stakeibc/types/genesis_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/x/stakeibc/types" + "github.com/Stride-Labs/stride/v3/x/stakeibc/types" ) func TestGenesisState_Validate(t *testing.T) { diff --git a/x/stakeibc/types/message_add_validator.go b/x/stakeibc/types/message_add_validator.go index b7e3117da..cd0d9b029 100644 --- a/x/stakeibc/types/message_add_validator.go +++ b/x/stakeibc/types/message_add_validator.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgAddValidator = "add_validator" diff --git a/x/stakeibc/types/message_add_validator_test.go b/x/stakeibc/types/message_add_validator_test.go index e3c618cb3..f6eaf74a9 100644 --- a/x/stakeibc/types/message_add_validator_test.go +++ b/x/stakeibc/types/message_add_validator_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgAddValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_change_validator_weight.go b/x/stakeibc/types/message_change_validator_weight.go index 37d309494..ad1b048fd 100644 --- a/x/stakeibc/types/message_change_validator_weight.go +++ b/x/stakeibc/types/message_change_validator_weight.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgChangeValidatorWeight = "change_validator_weight" diff --git a/x/stakeibc/types/message_change_validator_weight_test.go b/x/stakeibc/types/message_change_validator_weight_test.go index 01ac944bb..42d4f15c5 100644 --- a/x/stakeibc/types/message_change_validator_weight_test.go +++ b/x/stakeibc/types/message_change_validator_weight_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgChangeValidatorWeight_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_claim_undelegated_tokens.go b/x/stakeibc/types/message_claim_undelegated_tokens.go index ec2438d6a..040ae6149 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgClaimUndelegatedTokens = "claim_undelegated_tokens" diff --git a/x/stakeibc/types/message_claim_undelegated_tokens_test.go b/x/stakeibc/types/message_claim_undelegated_tokens_test.go index 8e41afca7..459ef2f6c 100644 --- a/x/stakeibc/types/message_claim_undelegated_tokens_test.go +++ b/x/stakeibc/types/message_claim_undelegated_tokens_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgClaimUndelegatedTokens_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_clear_balance.go b/x/stakeibc/types/message_clear_balance.go index 7326e93e8..046d66515 100644 --- a/x/stakeibc/types/message_clear_balance.go +++ b/x/stakeibc/types/message_clear_balance.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgClearBalance = "clear_balance" diff --git a/x/stakeibc/types/message_delete_validator.go b/x/stakeibc/types/message_delete_validator.go index c5946172d..362159708 100644 --- a/x/stakeibc/types/message_delete_validator.go +++ b/x/stakeibc/types/message_delete_validator.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgDeleteValidator = "delete_validator" diff --git a/x/stakeibc/types/message_delete_validator_test.go b/x/stakeibc/types/message_delete_validator_test.go index 215b8e2f1..ca3b7f171 100644 --- a/x/stakeibc/types/message_delete_validator_test.go +++ b/x/stakeibc/types/message_delete_validator_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgDeleteValidator_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_liquid_stake_test.go b/x/stakeibc/types/message_liquid_stake_test.go index 0a43a7988..4802a9849 100644 --- a/x/stakeibc/types/message_liquid_stake_test.go +++ b/x/stakeibc/types/message_liquid_stake_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgLiquidStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_rebalance_validators.go b/x/stakeibc/types/message_rebalance_validators.go index 7e31073eb..5fc6e1f4c 100644 --- a/x/stakeibc/types/message_rebalance_validators.go +++ b/x/stakeibc/types/message_rebalance_validators.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgRebalanceValidators = "rebalance_validators" diff --git a/x/stakeibc/types/message_rebalance_validators_test.go b/x/stakeibc/types/message_rebalance_validators_test.go index 0b4e1a9a9..09de37384 100644 --- a/x/stakeibc/types/message_rebalance_validators_test.go +++ b/x/stakeibc/types/message_rebalance_validators_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRebalanceValidators_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_redeem_stake_test.go b/x/stakeibc/types/message_redeem_stake_test.go index a8deec580..e7da352e7 100644 --- a/x/stakeibc/types/message_redeem_stake_test.go +++ b/x/stakeibc/types/message_redeem_stake_test.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRedeemStake_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_register_host_zone.go b/x/stakeibc/types/message_register_host_zone.go index 10fc5298b..531da3588 100644 --- a/x/stakeibc/types/message_register_host_zone.go +++ b/x/stakeibc/types/message_register_host_zone.go @@ -8,7 +8,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgRegisterHostZone = "register_host_zone" diff --git a/x/stakeibc/types/message_restore_interchain_account_test.go b/x/stakeibc/types/message_restore_interchain_account_test.go index 9c18355a2..f40edf82e 100644 --- a/x/stakeibc/types/message_restore_interchain_account_test.go +++ b/x/stakeibc/types/message_restore_interchain_account_test.go @@ -6,7 +6,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - "github.com/Stride-labs/stride/v4/testutil/sample" + "github.com/Stride-Labs/stride/v3/testutil/sample" ) func TestMsgRestoreInterchainAccount_ValidateBasic(t *testing.T) { diff --git a/x/stakeibc/types/message_update_delegation.go b/x/stakeibc/types/message_update_delegation.go index 93ca0586f..ca812afd6 100644 --- a/x/stakeibc/types/message_update_delegation.go +++ b/x/stakeibc/types/message_update_delegation.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/Stride-labs/stride/v4/utils" + "github.com/Stride-Labs/stride/v3/utils" ) const TypeMsgUpdateValidatorSharesExchRate = "update_validator_shares_exch_rate" From b0ddeb1497bc958da59f975cfa4fb3875e0e8409 Mon Sep 17 00:00:00 2001 From: sampocs Date: Tue, 29 Nov 2022 10:59:07 -0600 Subject: [PATCH 20/27] go mod tidy --- go.mod | 1 - go.sum | 2 -- 2 files changed, 3 deletions(-) diff --git a/go.mod b/go.mod index 33044e921..419ebf989 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/Stride-Labs/stride/v3 go 1.19 require ( - github.com/Stride-Labs/stride/v3 v3.0.1 github.com/cosmos/cosmos-proto v1.0.0-alpha8 github.com/cosmos/cosmos-sdk v0.45.11 github.com/cosmos/gogoproto v1.4.3 diff --git a/go.sum b/go.sum index 717c2bd55..78c46cf08 100644 --- a/go.sum +++ b/go.sum @@ -71,8 +71,6 @@ github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMx github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/Stride-Labs/cast v0.0.3 h1:eM3n/t3hSxb+iw9LDo3r/uGBp3w4U7wPv40GKMtJ1dI= github.com/Stride-Labs/cast v0.0.3/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/Stride-Labs/stride/v3 v3.0.1 h1:8rwiCVK52wOd1fbNRmRzXEF9Brn8AvoLEYJr6cKFqnE= -github.com/Stride-Labs/stride/v3 v3.0.1/go.mod h1:UtbfWt/rk78K57fzSYkDQJNVA9+pPfEUCzvmcbiNR+s= github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= From 5a990e118e2e82fd845a0a1aa2661fcf07f2ba84 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:21:21 -0600 Subject: [PATCH 21/27] removed authz store removal from upgrade --- app/upgrades.go | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/app/upgrades.go b/app/upgrades.go index cb58c2fa0..f98f4e3df 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -6,41 +6,12 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" - v2 "github.com/Stride-Labs/stride/v4/app/upgrades/v2" v3 "github.com/Stride-Labs/stride/v4/app/upgrades/v3" v4 "github.com/Stride-Labs/stride/v4/app/upgrades/v4" claimtypes "github.com/Stride-Labs/stride/v4/x/claim/types" - - "github.com/cosmos/cosmos-sdk/baseapp" - sdk "github.com/cosmos/cosmos-sdk/types" ) -// AuthzHeightAdjustmentUpgradeStoreLoader is used to delete the authz store with the -// wrong height and then re-add authz store with the right height -func AuthzHeightAdjustmentUpgradeStoreLoader(upgradeHeight int64) baseapp.StoreLoader { - return func(ms sdk.CommitMultiStore) error { - if upgradeHeight == ms.LastCommitID().Version+1 { - err := ms.LoadLatestVersionAndUpgrade(&storetypes.StoreUpgrades{ - Deleted: []string{authzkeeper.StoreKey}, - }) - if err != nil { - panic(err) - } - err = ms.LoadLatestVersionAndUpgrade(&storetypes.StoreUpgrades{ - Added: []string{authzkeeper.StoreKey}, - }) - if err != nil { - panic(err) - } - return nil - } - // Otherwise load default store loader - return baseapp.DefaultStoreLoader(ms) - } -} - func (app *StrideApp) setupUpgradeHandlers() { // v2 upgrade handler app.UpgradeKeeper.SetUpgradeHandler( @@ -78,7 +49,7 @@ func (app *StrideApp) setupUpgradeHandlers() { Added: []string{claimtypes.StoreKey}, } app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) - case "v4": - app.SetStoreLoader(AuthzHeightAdjustmentUpgradeStoreLoader(upgradeInfo.Height)) } + + app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) } From 1d2b8f3d306139b88d4f1dcca06647ce4313cbe7 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:22:07 -0600 Subject: [PATCH 22/27] Update CHANGELOG.md Co-authored-by: Aidan Salzmann --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e697d2b68..af23a5a03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,7 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 2. Add max claimable tokens query ([613e8571](https://github.com/Stride-Labs/stride/commit/613e85711485d3bebeeb5777ba35e701cc795a43)) 3. Interchain query proto cleanup ([9d5e1f6d](https://github.com/Stride-Labs/stride/commit/9d5e1f6d9e24113afa5b7f21e72a736bc8059b7f)) 4. Add undelegation logging ([e74c34d12](https://github.com/Stride-Labs/stride/commit/e74c34d12a462e2d23463d717abfe01db9490d8f)) -5. v4 upgrade changes (including fixing the authz store) ([]()) +5. v4 upgrade changes 6. Revert HostZoneUnbonding status upon channel restoration ([730cf3d38](https://github.com/Stride-Labs/stride/commit/730cf3d38589887b57dfe3dd5de071273d5a9b73)) ### Off-Chain changes From a2915852c669e440a6bf6ca7b31b9bc61cdcdd88 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:24:52 -0600 Subject: [PATCH 23/27] fixed upgrade unit tests --- app/apptesting/test_helpers.go | 4 ++-- app/upgrades/v3/upgrades_test.go | 14 ++++++++------ app/upgrades/v4/upgrades_test.go | 17 ++++------------- 3 files changed, 14 insertions(+), 21 deletions(-) diff --git a/app/apptesting/test_helpers.go b/app/apptesting/test_helpers.go index d18d1c81e..f34c6ac09 100644 --- a/app/apptesting/test_helpers.go +++ b/app/apptesting/test_helpers.go @@ -301,8 +301,8 @@ func (s *AppTestHelper) ICS20PacketAcknowledgement() channeltypes.Acknowledgemen } func (s *AppTestHelper) ConfirmUpgradeSucceededs(upgradeName string, upgradeHeight int64) { - contextBeforeUpgrade := s.Ctx().WithBlockHeight(upgradeHeight - 1) - contextAtUpgrade := s.Ctx().WithBlockHeight(upgradeHeight) + contextBeforeUpgrade := s.Ctx.WithBlockHeight(upgradeHeight - 1) + contextAtUpgrade := s.Ctx.WithBlockHeight(upgradeHeight) plan := upgradetypes.Plan{Name: upgradeName, Height: upgradeHeight} err := s.App.UpgradeKeeper.ScheduleUpgrade(contextBeforeUpgrade, plan) diff --git a/app/upgrades/v3/upgrades_test.go b/app/upgrades/v3/upgrades_test.go index 1bcac0ad4..b662896f2 100644 --- a/app/upgrades/v3/upgrades_test.go +++ b/app/upgrades/v3/upgrades_test.go @@ -6,11 +6,13 @@ import ( "github.com/stretchr/testify/suite" - "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v4/app/apptesting" ) + var ( airdropIdentifiers = []string{"stride", "gaia", "osmosis", "juno", "stars"} ) + const dummyUpgradeHeight = 5 type UpgradeTestSuite struct { @@ -27,11 +29,11 @@ func TestKeeperTestSuite(t *testing.T) { func (suite *UpgradeTestSuite) TestUpgrade() { testCases := []struct { - msg string + msg string preUpdate func() - update func() + update func() postUpdate func() - expPass bool + expPass bool }{ { "Test that upgrade does not panic", @@ -42,8 +44,8 @@ func (suite *UpgradeTestSuite) TestUpgrade() { suite.ConfirmUpgradeSucceededs("v3", dummyUpgradeHeight) // make sure claim record was set - afterCtx := suite.Ctx().WithBlockHeight(dummyUpgradeHeight) - for _, identifier := range(airdropIdentifiers) { + afterCtx := suite.Ctx.WithBlockHeight(dummyUpgradeHeight) + for _, identifier := range airdropIdentifiers { claimRecords := suite.App.ClaimKeeper.GetClaimRecords(afterCtx, identifier) suite.Require().NotEqual(0, len(claimRecords)) } diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go index e5f22a1a0..2daa8d535 100644 --- a/app/upgrades/v4/upgrades_test.go +++ b/app/upgrades/v4/upgrades_test.go @@ -6,9 +6,7 @@ import ( "github.com/stretchr/testify/suite" - authz "github.com/cosmos/cosmos-sdk/x/authz" - - "github.com/Stride-Labs/stride/v3/app/apptesting" + "github.com/Stride-Labs/stride/v4/app/apptesting" ) const dummyUpgradeHeight = 5 @@ -27,11 +25,11 @@ func TestKeeperTestSuite(t *testing.T) { func (suite *UpgradeTestSuite) TestUpgrade() { testCases := []struct { - msg string + msg string preUpdate func() - update func() + update func() postUpdate func() - expPass bool + expPass bool }{ { "Test that upgrade does not panic", @@ -40,13 +38,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() { }, func() { suite.ConfirmUpgradeSucceededs("v4", dummyUpgradeHeight) - - // make sure authz module was init - afterCtx := suite.Ctx().WithBlockHeight(dummyUpgradeHeight) - actGenState := suite.App.AuthzKeeper.ExportGenesis(afterCtx) - expGenState := authz.DefaultGenesisState() - suite.Require().NotNil(actGenState) - suite.Require().Equal(&expGenState, &actGenState) }, func() { }, From 76c5ebff6163105443ae31795207960e1e675745 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:26:38 -0600 Subject: [PATCH 24/27] removed authz from params init --- app/app.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/app.go b/app/app.go index 199678b18..2027efd15 100644 --- a/app/app.go +++ b/app/app.go @@ -1003,7 +1003,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino // this line is used by starport scaffolding # stargate/app/paramSubspace paramsKeeper.Subspace(claimtypes.ModuleName) - paramsKeeper.Subspace(authz.ModuleName) return paramsKeeper } From 30cf02d217464c59a75c89e9ee644497a747d514 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:27:27 -0600 Subject: [PATCH 25/27] updated v4 changelog in upgrades directory --- app/upgrades/v4/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/upgrades/v4/README.md b/app/upgrades/v4/README.md index 2e4ed796a..0f3fd4a1b 100644 --- a/app/upgrades/v4/README.md +++ b/app/upgrades/v4/README.md @@ -1,6 +1,8 @@ # Upgrade v4 Changelog -1. Add authz storeKey to StoreLoader -2. Add authz & claim modules to params subspaces - - +1. Dependency bumps ([384178b2c](https://github.com/Stride-Labs/stride/commit/384178b2cf98e9af0815ffaf3c29649f41784f3e)), ([0a2297ea](https://github.com/Stride-Labs/stride/commit/0a2297eabe287d38723ab8213d5256ce34d2bb2d)) +2. Add max claimable tokens query ([613e8571](https://github.com/Stride-Labs/stride/commit/613e85711485d3bebeeb5777ba35e701cc795a43)) +3. Interchain query proto cleanup ([9d5e1f6d](https://github.com/Stride-Labs/stride/commit/9d5e1f6d9e24113afa5b7f21e72a736bc8059b7f)) +4. Add undelegation logging ([e74c34d12](https://github.com/Stride-Labs/stride/commit/e74c34d12a462e2d23463d717abfe01db9490d8f)) +5. v4 upgrade changes +6. Revert HostZoneUnbonding status upon channel restoration ([730cf3d38](https://github.com/Stride-Labs/stride/commit/730cf3d38589887b57dfe3dd5de071273d5a9b73)) \ No newline at end of file From 32b585dd8de7ffa95d49411284267fa0893cc6c3 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:28:47 -0600 Subject: [PATCH 26/27] revert store loader in upgrades --- app/upgrades.go | 6 +++--- app/upgrades/README.md | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/upgrades.go b/app/upgrades.go index f98f4e3df..31281a6d4 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -43,13 +43,13 @@ func (app *StrideApp) setupUpgradeHandlers() { var storeUpgrades *storetypes.StoreUpgrades switch upgradeInfo.Name { - // no store upgrades case "v3": storeUpgrades = &storetypes.StoreUpgrades{ Added: []string{claimtypes.StoreKey}, } - app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) } - app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) + if storeUpgrades != nil { + app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades)) + } } diff --git a/app/upgrades/README.md b/app/upgrades/README.md index 9d755de8c..2fd181429 100644 --- a/app/upgrades/README.md +++ b/app/upgrades/README.md @@ -69,7 +69,6 @@ func (app *StrideApp) setupUpgradeHandlers() { // If adding a new module, add the new store keys switch upgradeInfo.Name { - // no store upgrades ... case {upgradeVersion}: storeUpgrades = &storetypes.StoreUpgrades{ From 6160c143ff329332da33cc38b007665383a56047 Mon Sep 17 00:00:00 2001 From: sampocs Date: Fri, 2 Dec 2022 19:31:05 -0600 Subject: [PATCH 27/27] trimmed upgrade handler --- app/upgrades/v4/upgrades.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/upgrades/v4/upgrades.go b/app/upgrades/v4/upgrades.go index 96a4d5ec6..7ef9bc46f 100644 --- a/app/upgrades/v4/upgrades.go +++ b/app/upgrades/v4/upgrades.go @@ -17,10 +17,6 @@ func CreateUpgradeHandler( configurator module.Configurator, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { - newVm, err := mm.RunMigrations(ctx, configurator, vm) - if err != nil { - return newVm, err - } - return newVm, nil + return mm.RunMigrations(ctx, configurator, vm) } }