Skip to content

Commit

Permalink
feat: Cns v4 (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms authored Oct 20, 2024
1 parent fd2dd41 commit 5d1f70a
Show file tree
Hide file tree
Showing 964 changed files with 3,984 additions and 3,972 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ ifeq (static,$(findstring static,$(LAVA_BUILD_OPTIONS)))
endif

ifeq (mask_consumer_logs,$(findstring mask_consumer_logs,$(LAVA_BUILD_OPTIONS)))
ldflags += -X github.com/lavanet/lava/v3/protocol/common.ReturnMaskedErrors=true
ldflags += -X github.com/lavanet/lava/v4/protocol/common.ReturnMaskedErrors=true
endif
ifeq (debug_mutex,$(findstring debug_mutex,$(LAVA_BUILD_OPTIONS)))
ldflags += -X github.com/lavanet/lava/v3/utils.TimeoutMutex=true
ldflags += -X github.com/lavanet/lava/v4/utils.TimeoutMutex=true
endif

ifeq (cleveldb,$(findstring cleveldb,$(LAVA_BUILD_OPTIONS)))
Expand All @@ -207,12 +207,12 @@ endif

ifeq (release,$(findstring release,$(LAVA_BUILD_OPTIONS)))
$(info Building With Production Flag)
ldflags += -X github.com/lavanet/lava/v3/utils.ExtendedLogLevel=production
ldflags += -X github.com/lavanet/lava/v4/utils.ExtendedLogLevel=production
endif

ifeq (debug_payment_e2e,$(findstring debug_payment_e2e,$(LAVA_BUILD_OPTIONS)))
$(info Building With Debug Payment E2E Flag. Making a month 2 minutes)
ldflags += -X github.com/lavanet/lava/v3/utils.DebugPaymentE2E=debug_payment_e2e
ldflags += -X github.com/lavanet/lava/v4/utils.DebugPaymentE2E=debug_payment_e2e
endif

ifeq (,$(findstring nostrip,$(LAVA_BUILD_OPTIONS)))
Expand Down
8 changes: 4 additions & 4 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/ante"
"github.com/cosmos/cosmos-sdk/x/auth/signing"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
dualstakingante "github.com/lavanet/lava/v3/x/dualstaking/ante"
dualstakingkeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper"
specante "github.com/lavanet/lava/v3/x/spec/ante"
"github.com/lavanet/lava/v3/x/spec/keeper"
dualstakingante "github.com/lavanet/lava/v4/x/dualstaking/ante"
dualstakingkeeper "github.com/lavanet/lava/v4/x/dualstaking/keeper"
specante "github.com/lavanet/lava/v4/x/spec/ante"
"github.com/lavanet/lava/v4/x/spec/keeper"
)

func NewAnteHandler(accountKeeper ante.AccountKeeper, bankKeeper authtypes.BankKeeper, dualstakingKeeper dualstakingkeeper.Keeper, signModeHandler signing.SignModeHandler, feegrantKeeper ante.FeegrantKeeper, specKeeper keeper.Keeper, sigGasConsumer ante.SignatureVerificationGasConsumer) sdk.AnteHandler {
Expand Down
100 changes: 50 additions & 50 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import (
v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
"github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
icatypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/types"
"github.com/lavanet/lava/v3/utils"
"github.com/lavanet/lava/v3/x/fixationstore"
fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper"
fixationtypes "github.com/lavanet/lava/v3/x/fixationstore/types"
"github.com/lavanet/lava/v3/x/timerstore"
timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper"
timerstoretypes "github.com/lavanet/lava/v3/x/timerstore/types"
"github.com/lavanet/lava/v4/utils"
"github.com/lavanet/lava/v4/x/fixationstore"
fixationkeeper "github.com/lavanet/lava/v4/x/fixationstore/keeper"
fixationtypes "github.com/lavanet/lava/v4/x/fixationstore/types"
"github.com/lavanet/lava/v4/x/timerstore"
timerstorekeeper "github.com/lavanet/lava/v4/x/timerstore/keeper"
timerstoretypes "github.com/lavanet/lava/v4/x/timerstore/types"

"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward"
packetforwardkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/keeper"
Expand Down Expand Up @@ -113,48 +113,48 @@ import (
ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
ibctm "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"
"github.com/lavanet/lava/v3/app/keepers"
appparams "github.com/lavanet/lava/v3/app/params"
"github.com/lavanet/lava/v3/app/upgrades"
"github.com/lavanet/lava/v3/docs"
conflictmodule "github.com/lavanet/lava/v3/x/conflict"
conflictmodulekeeper "github.com/lavanet/lava/v3/x/conflict/keeper"
conflictmoduletypes "github.com/lavanet/lava/v3/x/conflict/types"
downtimemodule "github.com/lavanet/lava/v3/x/downtime"
downtimemodulekeeper "github.com/lavanet/lava/v3/x/downtime/keeper"
downtimemoduletypes "github.com/lavanet/lava/v3/x/downtime/types"
dualstakingmodule "github.com/lavanet/lava/v3/x/dualstaking"
dualstakingmodulekeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper"
dualstakingmoduletypes "github.com/lavanet/lava/v3/x/dualstaking/types"
epochstoragemodule "github.com/lavanet/lava/v3/x/epochstorage"
epochstoragemodulekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper"
epochstoragemoduletypes "github.com/lavanet/lava/v3/x/epochstorage/types"
pairingmodule "github.com/lavanet/lava/v3/x/pairing"
pairingmoduleclient "github.com/lavanet/lava/v3/x/pairing/client"
pairingmodulekeeper "github.com/lavanet/lava/v3/x/pairing/keeper"
pairingmoduletypes "github.com/lavanet/lava/v3/x/pairing/types"
plansmodule "github.com/lavanet/lava/v3/x/plans"
plansmoduleclient "github.com/lavanet/lava/v3/x/plans/client"
plansmodulekeeper "github.com/lavanet/lava/v3/x/plans/keeper"
plansmoduletypes "github.com/lavanet/lava/v3/x/plans/types"
projectsmodule "github.com/lavanet/lava/v3/x/projects"
projectsmodulekeeper "github.com/lavanet/lava/v3/x/projects/keeper"
projectsmoduletypes "github.com/lavanet/lava/v3/x/projects/types"
protocolmodule "github.com/lavanet/lava/v3/x/protocol"
protocolmoduleclient "github.com/lavanet/lava/v3/x/protocol/client/cli"
protocolmodulekeeper "github.com/lavanet/lava/v3/x/protocol/keeper"
protocolmoduletypes "github.com/lavanet/lava/v3/x/protocol/types"
rewardsmodule "github.com/lavanet/lava/v3/x/rewards"
rewardsmoduleclient "github.com/lavanet/lava/v3/x/rewards/client/cli"
rewardsmodulekeeper "github.com/lavanet/lava/v3/x/rewards/keeper"
rewardsmoduletypes "github.com/lavanet/lava/v3/x/rewards/types"
specmodule "github.com/lavanet/lava/v3/x/spec"
specmoduleclient "github.com/lavanet/lava/v3/x/spec/client"
specmodulekeeper "github.com/lavanet/lava/v3/x/spec/keeper"
specmoduletypes "github.com/lavanet/lava/v3/x/spec/types"
subscriptionmodule "github.com/lavanet/lava/v3/x/subscription"
subscriptionmodulekeeper "github.com/lavanet/lava/v3/x/subscription/keeper"
subscriptionmoduletypes "github.com/lavanet/lava/v3/x/subscription/types"
"github.com/lavanet/lava/v4/app/keepers"
appparams "github.com/lavanet/lava/v4/app/params"
"github.com/lavanet/lava/v4/app/upgrades"
"github.com/lavanet/lava/v4/docs"
conflictmodule "github.com/lavanet/lava/v4/x/conflict"
conflictmodulekeeper "github.com/lavanet/lava/v4/x/conflict/keeper"
conflictmoduletypes "github.com/lavanet/lava/v4/x/conflict/types"
downtimemodule "github.com/lavanet/lava/v4/x/downtime"
downtimemodulekeeper "github.com/lavanet/lava/v4/x/downtime/keeper"
downtimemoduletypes "github.com/lavanet/lava/v4/x/downtime/types"
dualstakingmodule "github.com/lavanet/lava/v4/x/dualstaking"
dualstakingmodulekeeper "github.com/lavanet/lava/v4/x/dualstaking/keeper"
dualstakingmoduletypes "github.com/lavanet/lava/v4/x/dualstaking/types"
epochstoragemodule "github.com/lavanet/lava/v4/x/epochstorage"
epochstoragemodulekeeper "github.com/lavanet/lava/v4/x/epochstorage/keeper"
epochstoragemoduletypes "github.com/lavanet/lava/v4/x/epochstorage/types"
pairingmodule "github.com/lavanet/lava/v4/x/pairing"
pairingmoduleclient "github.com/lavanet/lava/v4/x/pairing/client"
pairingmodulekeeper "github.com/lavanet/lava/v4/x/pairing/keeper"
pairingmoduletypes "github.com/lavanet/lava/v4/x/pairing/types"
plansmodule "github.com/lavanet/lava/v4/x/plans"
plansmoduleclient "github.com/lavanet/lava/v4/x/plans/client"
plansmodulekeeper "github.com/lavanet/lava/v4/x/plans/keeper"
plansmoduletypes "github.com/lavanet/lava/v4/x/plans/types"
projectsmodule "github.com/lavanet/lava/v4/x/projects"
projectsmodulekeeper "github.com/lavanet/lava/v4/x/projects/keeper"
projectsmoduletypes "github.com/lavanet/lava/v4/x/projects/types"
protocolmodule "github.com/lavanet/lava/v4/x/protocol"
protocolmoduleclient "github.com/lavanet/lava/v4/x/protocol/client/cli"
protocolmodulekeeper "github.com/lavanet/lava/v4/x/protocol/keeper"
protocolmoduletypes "github.com/lavanet/lava/v4/x/protocol/types"
rewardsmodule "github.com/lavanet/lava/v4/x/rewards"
rewardsmoduleclient "github.com/lavanet/lava/v4/x/rewards/client/cli"
rewardsmodulekeeper "github.com/lavanet/lava/v4/x/rewards/keeper"
rewardsmoduletypes "github.com/lavanet/lava/v4/x/rewards/types"
specmodule "github.com/lavanet/lava/v4/x/spec"
specmoduleclient "github.com/lavanet/lava/v4/x/spec/client"
specmodulekeeper "github.com/lavanet/lava/v4/x/spec/keeper"
specmoduletypes "github.com/lavanet/lava/v4/x/spec/types"
subscriptionmodule "github.com/lavanet/lava/v4/x/subscription"
subscriptionmodulekeeper "github.com/lavanet/lava/v4/x/subscription/keeper"
subscriptionmoduletypes "github.com/lavanet/lava/v4/x/subscription/types"
"github.com/spf13/cast"
// this line is used by starport scaffolding # stargate/app/moduleImport
)
Expand All @@ -167,7 +167,7 @@ const (
// Upgrades add here future upgrades (upgrades.Upgrade)
var Upgrades = []upgrades.Upgrade{
upgrades.Upgrade_3_1_0,
upgrades.Upgrade_3_2_0,
upgrades.Upgrade_4_0_0,
}

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/std"
"github.com/cosmos/cosmos-sdk/x/auth/tx"

"github.com/lavanet/lava/v3/app/params"
"github.com/lavanet/lava/v4/app/params"
)

// makeEncodingConfig creates an EncodingConfig for an amino based test configuration.
Expand Down
26 changes: 13 additions & 13 deletions app/keepers/lavaKeepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ import (
icahostkeeper "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/keeper"
ibctransferkeeper "github.com/cosmos/ibc-go/v7/modules/apps/transfer/keeper"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
conflictmodulekeeper "github.com/lavanet/lava/v3/x/conflict/keeper"
downtimemodulekeeper "github.com/lavanet/lava/v3/x/downtime/keeper"
dualstakingmodulekeeper "github.com/lavanet/lava/v3/x/dualstaking/keeper"
epochstoragemodulekeeper "github.com/lavanet/lava/v3/x/epochstorage/keeper"
fixationkeeper "github.com/lavanet/lava/v3/x/fixationstore/keeper"
pairingmodulekeeper "github.com/lavanet/lava/v3/x/pairing/keeper"
plansmodulekeeper "github.com/lavanet/lava/v3/x/plans/keeper"
projectsmodulekeeper "github.com/lavanet/lava/v3/x/projects/keeper"
protocolmodulekeeper "github.com/lavanet/lava/v3/x/protocol/keeper"
rewardsmodulekeeper "github.com/lavanet/lava/v3/x/rewards/keeper"
specmodulekeeper "github.com/lavanet/lava/v3/x/spec/keeper"
subscriptionmodulekeeper "github.com/lavanet/lava/v3/x/subscription/keeper"
timerstorekeeper "github.com/lavanet/lava/v3/x/timerstore/keeper"
conflictmodulekeeper "github.com/lavanet/lava/v4/x/conflict/keeper"
downtimemodulekeeper "github.com/lavanet/lava/v4/x/downtime/keeper"
dualstakingmodulekeeper "github.com/lavanet/lava/v4/x/dualstaking/keeper"
epochstoragemodulekeeper "github.com/lavanet/lava/v4/x/epochstorage/keeper"
fixationkeeper "github.com/lavanet/lava/v4/x/fixationstore/keeper"
pairingmodulekeeper "github.com/lavanet/lava/v4/x/pairing/keeper"
plansmodulekeeper "github.com/lavanet/lava/v4/x/plans/keeper"
projectsmodulekeeper "github.com/lavanet/lava/v4/x/projects/keeper"
protocolmodulekeeper "github.com/lavanet/lava/v4/x/protocol/keeper"
rewardsmodulekeeper "github.com/lavanet/lava/v4/x/rewards/keeper"
specmodulekeeper "github.com/lavanet/lava/v4/x/spec/keeper"
subscriptionmodulekeeper "github.com/lavanet/lava/v4/x/subscription/keeper"
timerstorekeeper "github.com/lavanet/lava/v4/x/timerstore/keeper"
// this line is used by starport scaffolding # stargate/app/moduleImport
)

Expand Down
2 changes: 1 addition & 1 deletion app/simulation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/simulation"
"github.com/cosmos/cosmos-sdk/x/simulation/client/cli"
"github.com/cosmos/ibc-go/v7/testing/simapp"
"github.com/lavanet/lava/v3/app"
"github.com/lavanet/lava/v4/app"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 7 additions & 1 deletion app/upgrades/empty_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
"github.com/lavanet/lava/v3/app/keepers"
"github.com/lavanet/lava/v4/app/keepers"
)

func defaultUpgradeHandler(
Expand Down Expand Up @@ -45,3 +45,9 @@ var Upgrade_3_2_0 = Upgrade{
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}

var Upgrade_4_0_0 = Upgrade{
UpgradeName: "v4.0.0",
CreateUpgradeHandler: defaultUpgradeHandler,
StoreUpgrades: store.StoreUpgrades{},
}
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
"github.com/lavanet/lava/v3/app/keepers"
"github.com/lavanet/lava/v4/app/keepers"
)

type BaseAppParamManager interface {
Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/upgrade_0_35_0.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
"github.com/cosmos/gogoproto/proto"
ibctypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
"github.com/lavanet/lava/v3/app/keepers"
protocoltypes "github.com/lavanet/lava/v3/x/protocol/types"
spectypes "github.com/lavanet/lava/v3/x/spec/types"
"github.com/lavanet/lava/v4/app/keepers"
protocoltypes "github.com/lavanet/lava/v4/x/protocol/types"
spectypes "github.com/lavanet/lava/v4/x/spec/types"
)

func v_35_0(
Expand Down
2 changes: 1 addition & 1 deletion cmd/common/warning_log_command_wrapper.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package common

import (
"github.com/lavanet/lava/v3/utils"
"github.com/lavanet/lava/v4/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/lavad/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/lavanet/lava/v3/app"
"github.com/lavanet/lava/v4/app"
)

func InitSDKConfig() {
Expand Down
10 changes: 5 additions & 5 deletions cmd/lavad/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/crisis"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
cmdcommon "github.com/lavanet/lava/v3/cmd/common"
"github.com/lavanet/lava/v3/utils"
protocoltypes "github.com/lavanet/lava/v3/x/protocol/types"
cmdcommon "github.com/lavanet/lava/v4/cmd/common"
"github.com/lavanet/lava/v4/utils"
protocoltypes "github.com/lavanet/lava/v4/x/protocol/types"
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/spf13/pflag"

// this line is used by starport scaffolding # root/moduleImport

"github.com/lavanet/lava/v3/app"
appparams "github.com/lavanet/lava/v3/app/params"
"github.com/lavanet/lava/v4/app"
appparams "github.com/lavanet/lava/v4/app/params"
)

// NewRootCmd creates a new root command for a Cosmos SDK application
Expand Down
16 changes: 8 additions & 8 deletions cmd/lavad/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/lavanet/lava/v3/app"
cmdcommon "github.com/lavanet/lava/v3/cmd/common"
"github.com/lavanet/lava/v3/cmd/lavad/cmd"
"github.com/lavanet/lava/v3/protocol/badgegenerator"
"github.com/lavanet/lava/v3/protocol/rpcconsumer"
"github.com/lavanet/lava/v3/protocol/rpcprovider"
"github.com/lavanet/lava/v3/protocol/statetracker"
utilscli "github.com/lavanet/lava/v3/utils/cli"
"github.com/lavanet/lava/v4/app"
cmdcommon "github.com/lavanet/lava/v4/cmd/common"
"github.com/lavanet/lava/v4/cmd/lavad/cmd"
"github.com/lavanet/lava/v4/protocol/badgegenerator"
"github.com/lavanet/lava/v4/protocol/rpcconsumer"
"github.com/lavanet/lava/v4/protocol/rpcprovider"
"github.com/lavanet/lava/v4/protocol/statetracker"
utilscli "github.com/lavanet/lava/v4/utils/cli"
"github.com/spf13/cobra"
)

Expand Down
26 changes: 13 additions & 13 deletions cmd/lavap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/lavanet/lava/v3/app"
"github.com/lavanet/lava/v3/cmd/lavad/cmd"
"github.com/lavanet/lava/v3/ecosystem/cache"
"github.com/lavanet/lava/v3/protocol/badgegenerator"
"github.com/lavanet/lava/v3/protocol/badgeserver"
"github.com/lavanet/lava/v3/protocol/loadtest"
"github.com/lavanet/lava/v3/protocol/monitoring"
"github.com/lavanet/lava/v3/protocol/performance/connection"
validators "github.com/lavanet/lava/v3/protocol/performance/validators"
"github.com/lavanet/lava/v3/protocol/rpcconsumer"
"github.com/lavanet/lava/v3/protocol/rpcprovider"
"github.com/lavanet/lava/v3/protocol/statetracker"
"github.com/lavanet/lava/v3/protocol/upgrade"
"github.com/lavanet/lava/v4/app"
"github.com/lavanet/lava/v4/cmd/lavad/cmd"
"github.com/lavanet/lava/v4/ecosystem/cache"
"github.com/lavanet/lava/v4/protocol/badgegenerator"
"github.com/lavanet/lava/v4/protocol/badgeserver"
"github.com/lavanet/lava/v4/protocol/loadtest"
"github.com/lavanet/lava/v4/protocol/monitoring"
"github.com/lavanet/lava/v4/protocol/performance/connection"
validators "github.com/lavanet/lava/v4/protocol/performance/validators"
"github.com/lavanet/lava/v4/protocol/rpcconsumer"
"github.com/lavanet/lava/v4/protocol/rpcprovider"
"github.com/lavanet/lava/v4/protocol/statetracker"
"github.com/lavanet/lava/v4/protocol/upgrade"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/lavavisor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/lavanet/lava/v3/app"
"github.com/lavanet/lava/v3/cmd/lavad/cmd"
lvcmd "github.com/lavanet/lava/v3/ecosystem/lavavisor/cmd"
"github.com/lavanet/lava/v3/protocol/upgrade"
"github.com/lavanet/lava/v4/app"
"github.com/lavanet/lava/v4/cmd/lavad/cmd"
lvcmd "github.com/lavanet/lava/v4/ecosystem/lavavisor/cmd"
"github.com/lavanet/lava/v4/protocol/upgrade"
"github.com/spf13/cobra"
)

Expand Down
12 changes: 6 additions & 6 deletions ecosystem/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"testing"
"time"

"github.com/lavanet/lava/v3/ecosystem/cache"
"github.com/lavanet/lava/v3/ecosystem/cache/format"
"github.com/lavanet/lava/v3/protocol/chainlib"
"github.com/lavanet/lava/v3/utils"
pairingtypes "github.com/lavanet/lava/v3/x/pairing/types"
spectypes "github.com/lavanet/lava/v3/x/spec/types"
"github.com/lavanet/lava/v4/ecosystem/cache"
"github.com/lavanet/lava/v4/ecosystem/cache/format"
"github.com/lavanet/lava/v4/protocol/chainlib"
"github.com/lavanet/lava/v4/utils"
pairingtypes "github.com/lavanet/lava/v4/x/pairing/types"
spectypes "github.com/lavanet/lava/v4/x/spec/types"
"github.com/stretchr/testify/require"
"github.com/tidwall/gjson"
)
Expand Down
2 changes: 1 addition & 1 deletion ecosystem/cache/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cache
import (
"context"

"github.com/lavanet/lava/v3/utils"
"github.com/lavanet/lava/v4/utils"
"github.com/rs/zerolog"
"github.com/spf13/cobra"
)
Expand Down
Loading

0 comments on commit 5d1f70a

Please sign in to comment.