Skip to content
Merged
Show file tree
Hide file tree
Changes from 80 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
dab4f61
header service
Dec 20, 2024
ccdbad4
update
Dec 20, 2024
ef438eb
basic env
Dec 20, 2024
9dfae05
transaction service
Dec 20, 2024
779bd84
refit
Dec 20, 2024
2e7ca6d
register
Dec 20, 2024
6161b6a
utd
Dec 20, 2024
7355259
Merge branch 'main' into feat/services-helpers
Dec 20, 2024
46a30d3
bank
Dec 20, 2024
89e5b26
no more sdk.context
Dec 20, 2024
05a8577
working
Dec 20, 2024
f827e73
lint fixes
Dec 20, 2024
6c7dc2a
format
Dec 20, 2024
ed63aca
Merge branch 'main' into feat/services-helpers
Jan 3, 2025
c8b7460
Merge branch 'main' into feat/services-helpers
Jan 3, 2025
4956083
lint
Jan 3, 2025
b5703d4
Merge branch 'main' into feat/services-helpers
Jan 3, 2025
c7bc69d
tidy all
Jan 3, 2025
1442dc2
Merge branch 'main' into feat/services-helpers
Jan 6, 2025
9d98953
Merge branch 'main' into feat/services-helpers
Jan 6, 2025
d29ed65
Merge branch 'main' into feat/services-helpers
Jan 6, 2025
d42ac1f
clean
Jan 6, 2025
a6ffa04
use mocked query client
Jan 6, 2025
fb55664
clean up
Jan 6, 2025
87fb4f9
lint
Jan 6, 2025
e18d809
server check
Jan 6, 2025
4f56126
Merge branch 'main' into feat/services-helpers
Jan 7, 2025
f67b33f
lint-fix
Jan 7, 2025
997bf85
Merge branch 'main' into feat/services-helpers
Jan 7, 2025
ed61ace
Merge branch 'main' into feat/services-helpers
Jan 7, 2025
47a681e
init test
Jan 8, 2025
9f54324
rm
Jan 8, 2025
0cea6dd
Merge branch 'main' into feat/services-helpers
Jan 8, 2025
1838bbf
Update testutil/queryclient/queryclient.go
Jan 9, 2025
31198b6
Merge branch 'main' into feat/services-helpers
Jan 9, 2025
e932ea5
q
Jan 9, 2025
d17569e
Merge branch 'main' into feat/services-helpers
Jan 9, 2025
71ad965
Merge branch 'main' into feat/services-helpers
Jan 9, 2025
4069c71
Merge branch 'main' into feat/services-helpers
Jan 13, 2025
d759e14
move out of intrgration
Jan 13, 2025
d8b3ac6
rearrange
Jan 13, 2025
150df47
lint fix
Jan 13, 2025
86269ec
clean
Jan 13, 2025
ffde8e3
clean
Jan 13, 2025
47698de
use ctx
Jan 13, 2025
5d9ff7a
fix
Jan 13, 2025
8c15cad
all tests
Jan 13, 2025
4526306
remove baseapp options
Jan 13, 2025
59a3199
cleanup
Jan 13, 2025
20e436b
branch and clean
Jan 13, 2025
6574b36
Merge branch 'main' into chore/remove-baseapp-accounts
Jan 14, 2025
b5cf3af
Merge branch 'main' into chore/remove-baseapp-accounts
Jan 14, 2025
1138fc9
Merge branch 'main' into chore/remove-baseapp-accounts
Jan 14, 2025
e04510e
Merge branch 'main' into chore/remove-baseapp-auth
Jan 14, 2025
6caaa63
refactgor into coretesting
Jan 14, 2025
d444dd7
Merge branch 'main' into chore/remove-baseapp-accounts
Jan 14, 2025
1b9b8f7
refactor
Jan 14, 2025
d5ee6dd
Merge branch 'chore/remove-baseapp-accounts' into chore/remove-baseap…
Jan 14, 2025
c8db41b
lint fixes
Jan 14, 2025
0f58868
cleanington
Jan 14, 2025
7d00d96
circuit
Jan 14, 2025
a7b4571
cleanup1
Jan 14, 2025
6b221c0
rm
Jan 14, 2025
a2d979c
no base-app import
Jan 14, 2025
eda6e7f
Merge branch 'main' into chore/remove-baseapp-accounts
Jan 15, 2025
47bdcde
clean
Jan 15, 2025
5d14883
fix
Jan 15, 2025
66b859f
Merge branch 'chore/remove-baseapp-accounts' into chore/remove-baseap…
Jan 15, 2025
e5d60db
no more baseapp
Jan 15, 2025
632a3c5
fmt
Jan 15, 2025
4745332
remove sdk.Context
Jan 15, 2025
59b0b22
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 16, 2025
87f6fb8
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 16, 2025
8232fb0
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 17, 2025
6d88f7d
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 17, 2025
06da05e
dep
Jan 17, 2025
31034f9
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 20, 2025
b537e0a
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 21, 2025
2811fa6
Merge branch 'main' into chore/remove-baseapp-upgrade
Jan 28, 2025
bc60d10
Merge branch 'main' into chore/remove-baseapp-upgrade
Feb 3, 2025
b2909dd
fixes
julienrbrt Feb 5, 2025
d54dbcb
Merge branch 'main' into chore/remove-baseapp-upgrade
julienrbrt Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions core/testing/branch.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package coretesting

import (
"context"

"cosmossdk.io/core/branch"
)

var _ branch.Service = &TestBranchService{}

type TestBranchService struct{}

func (bs TestBranchService) Execute(ctx context.Context, f func(ctx context.Context) error) error {
unwrap(ctx) // check that this is a testing context
return f(ctx)
}

func (bs TestBranchService) ExecuteWithGasLimit(
ctx context.Context,
gasLimit uint64,
f func(ctx context.Context) error,
) (gasUsed uint64, err error) {
unwrap(ctx) // check that this is a testing context
return gasLimit, f(ctx)
}
2 changes: 1 addition & 1 deletion core/testing/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewTestEnvironment(cfg TestEnvironmentConfig) (TestContext, TestEnvironment
env := TestEnvironment{
Environment: appmodulev2.Environment{
Logger: cfg.Logger,
BranchService: nil,
BranchService: TestBranchService{},
EventService: testEventService,
GasService: TestGasService{},
HeaderService: testHeaderService,
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ require (

// Here are the short-lived replace from the Cosmos SDK
// Replace here are pending PRs, or version to be tagged
// replace (
// <temporary replace>
// )
replace cosmossdk.io/core/testing => ./core/testing

// TODO remove after all modules have their own go.mods
replace (
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ cosmossdk.io/collections v1.1.0 h1:UgfDUtQbRcA6uTrwd4Z6lhxMWhHPUTneXCHkWztyvMM=
cosmossdk.io/collections v1.1.0/go.mod h1:D2iuLsFTDseILML+2rCnWIRFyFgl5cyveZ6kNTQALd4=
cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U=
cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc=
cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ=
cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ=
cosmossdk.io/depinject v1.1.0 h1:wLan7LG35VM7Yo6ov0jId3RHWCGRhe8E8bsuARorl5E=
cosmossdk.io/depinject v1.1.0/go.mod h1:kkI5H9jCGHeKeYWXTqYdruogYrEeWvBQCw1Pj4/eCFI=
cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
Expand Down
10 changes: 9 additions & 1 deletion tests/integration/bank/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func createTestSuite(t *testing.T, genesisAccounts []authtypes.GenesisAccount) s
startupCfg := simtestutil.DefaultStartUpConfig()
startupCfg.GenesisAccounts = genAccounts

// TODO use a v2 application
app, err := simtestutil.SetupWithConfiguration(
depinject.Configs(
configurator.NewAppConfig(
Expand All @@ -106,9 +107,16 @@ func createTestSuite(t *testing.T, genesisAccounts []authtypes.GenesisAccount) s
),
depinject.Supply(log.NewNopLogger()),
),
startupCfg, &res.BankKeeper, &res.AccountKeeper, &res.DistributionKeeper, &res.TxConfig)
startupCfg,
&res.BankKeeper,
&res.AccountKeeper,
&res.DistributionKeeper,
&res.TxConfig,
)

res.App = app
res.App.SetTxEncoder(res.TxConfig.TxEncoder())
res.App.SetTxDecoder(res.TxConfig.TxDecoder())

require.NoError(t, err)
return res
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/baseapp/block_gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ func TestBaseApp_BlockGas(t *testing.T) {
require.NoError(t, err)

bapp := appBuilder.Build(coretesting.NewMemDB(), nil)
bapp.SetTxEncoder(txConfig.TxEncoder())
bapp.SetTxDecoder(txConfig.TxDecoder())

err = bapp.Load(true)
require.NoError(t, err)

Expand Down
8 changes: 2 additions & 6 deletions x/auth/ante/testutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
storetypes "cosmossdk.io/store/types"
txsigning "cosmossdk.io/x/tx/signing"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/tx"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
Expand Down Expand Up @@ -99,14 +98,11 @@ func SetupTestSuite(t *testing.T, isCheckTx bool) *AnteTestSuite {
"random": {"random"},
}

msgRouter := baseapp.NewMsgServiceRouter()
grpcQueryRouter := baseapp.NewGRPCQueryRouter()
grpcQueryRouter.SetInterfaceRegistry(suite.encCfg.InterfaceRegistry)

suite.consensusKeeper = antetestutil.NewMockConsensusKeeper(ctrl)
suite.consensusKeeper.EXPECT().BlockParams(gomock.Any()).Return(uint64(simtestutil.DefaultConsensusParams.Block.MaxGas), uint64(simtestutil.DefaultConsensusParams.Block.MaxBytes), nil).AnyTimes()

suite.env = runtime.NewEnvironment(runtime.NewKVStoreService(key), coretesting.NewNopLogger(), runtime.EnvWithQueryRouterService(grpcQueryRouter), runtime.EnvWithMsgRouterService(msgRouter))
suite.env = runtime.NewEnvironment(runtime.NewKVStoreService(key), coretesting.NewNopLogger())

suite.accountKeeper = keeper.NewAccountKeeper(
runtime.NewEnvironment(runtime.NewKVStoreService(key), coretesting.NewNopLogger()), suite.encCfg.Codec, types.ProtoBaseAccount, suite.acctsModKeeper, maccPerms, authcodec.NewBech32Codec("cosmos"),
sdk.Bech32MainPrefix, types.NewModuleAddress("gov").String(),
Expand Down
11 changes: 5 additions & 6 deletions x/auth/keeper/deterministic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/core/header"
coretesting "cosmossdk.io/core/testing"
"cosmossdk.io/core/testing/queryclient"
storetypes "cosmossdk.io/store/types"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
"github.com/cosmos/cosmos-sdk/runtime"
Expand All @@ -36,7 +37,6 @@ type DeterministicTestSuite struct {

accountNumberLanes uint64

key *storetypes.KVStoreKey
environment appmodule.Environment
ctx sdk.Context
queryClient types.QueryClient
Expand Down Expand Up @@ -97,11 +97,10 @@ func (suite *DeterministicTestSuite) SetupTest() {
types.NewModuleAddress("gov").String(),
)

queryHelper := baseapp.NewQueryServerTestHelper(suite.ctx, suite.encCfg.InterfaceRegistry)
queryHelper := queryclient.NewQueryHelper(codec.NewProtoCodec(suite.encCfg.InterfaceRegistry).GRPCCodec())
types.RegisterQueryServer(queryHelper, keeper.NewQueryServer(suite.accountKeeper))
suite.queryClient = types.NewQueryClient(queryHelper)

suite.key = key
suite.environment = env
suite.maccPerms = maccPerms
suite.accountNumberLanes = 1
Expand Down Expand Up @@ -261,13 +260,13 @@ func (suite *DeterministicTestSuite) TestGRPCQueryAccountInfo() {
}

func (suite *DeterministicTestSuite) createAndReturnQueryClient(ak keeper.AccountKeeper) types.QueryClient {
queryHelper := baseapp.NewQueryServerTestHelper(suite.ctx, suite.encCfg.InterfaceRegistry)
queryHelper := queryclient.NewQueryHelper(codec.NewProtoCodec(suite.encCfg.InterfaceRegistry).GRPCCodec())
types.RegisterQueryServer(queryHelper, keeper.NewQueryServer(ak))
return types.NewQueryClient(queryHelper)
}

func (suite *DeterministicTestSuite) setModuleAccounts(
ctx sdk.Context, ak keeper.AccountKeeper, maccs []string,
ctx context.Context, ak keeper.AccountKeeper, maccs []string,
) []sdk.AccountI {
sort.Strings(maccs)
moduleAccounts := make([]sdk.AccountI, 0, len(maccs))
Expand Down
4 changes: 2 additions & 2 deletions x/auth/keeper/grpc_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func (suite *KeeperTestSuite) TestQueryAccountInfo() {
suite.Require().NoError(acc.SetSequence(10))
suite.accountKeeper.SetAccount(suite.ctx, acc)

res, err := suite.queryClient.AccountInfo(context.Background(), &types.QueryAccountInfoRequest{
res, err := suite.queryClient.AccountInfo(suite.ctx, &types.QueryAccountInfoRequest{
Address: addr.String(),
})

Expand All @@ -528,7 +528,7 @@ func (suite *KeeperTestSuite) TestQueryAccountInfoWithoutPubKey() {
acc := suite.accountKeeper.NewAccountWithAddress(suite.ctx, addr)
suite.accountKeeper.SetAccount(suite.ctx, acc)

res, err := suite.queryClient.AccountInfo(context.Background(), &types.QueryAccountInfoRequest{
res, err := suite.queryClient.AccountInfo(suite.ctx, &types.QueryAccountInfoRequest{
Address: addr.String(),
})

Expand Down
23 changes: 10 additions & 13 deletions x/auth/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ import (
"github.com/stretchr/testify/suite"
"go.uber.org/mock/gomock"

"cosmossdk.io/core/header"
coretesting "cosmossdk.io/core/testing"
storetypes "cosmossdk.io/store/types"
"cosmossdk.io/core/testing/queryclient"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
"github.com/cosmos/cosmos-sdk/x/auth"
Expand All @@ -42,7 +39,7 @@ var (
type KeeperTestSuite struct {
suite.Suite

ctx sdk.Context
ctx context.Context

queryClient types.QueryClient
accountKeeper keeper.AccountKeeper
Expand All @@ -54,11 +51,11 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
suite.encCfg = moduletestutil.MakeTestEncodingConfig(codectestutil.CodecOptions{}, auth.AppModule{})

key := storetypes.NewKVStoreKey(types.StoreKey)
storeService := runtime.NewKVStoreService(key)
env := runtime.NewEnvironment(storeService, coretesting.NewNopLogger())
testCtx := testutil.DefaultContextWithDB(suite.T(), key, storetypes.NewTransientStoreKey("transient_test"))
suite.ctx = testCtx.Ctx.WithHeaderInfo(header.Info{})
ctx, env := coretesting.NewTestEnvironment(coretesting.TestEnvironmentConfig{
ModuleName: types.ModuleName,
Logger: coretesting.NewNopLogger(),
})
suite.ctx = ctx

// gomock initializations
ctrl := gomock.NewController(suite.T())
Expand All @@ -81,7 +78,7 @@ func (suite *KeeperTestSuite) SetupTest() {
}

suite.accountKeeper = keeper.NewAccountKeeper(
env,
env.Environment,
suite.encCfg.Codec,
types.ProtoBaseAccount,
acctsModKeeper,
Expand All @@ -91,7 +88,7 @@ func (suite *KeeperTestSuite) SetupTest() {
types.NewModuleAddress("gov").String(),
)
suite.msgServer = keeper.NewMsgServerImpl(suite.accountKeeper)
queryHelper := baseapp.NewQueryServerTestHelper(suite.ctx, suite.encCfg.InterfaceRegistry)
queryHelper := queryclient.NewQueryHelper(codec.NewProtoCodec(suite.encCfg.InterfaceRegistry).GRPCCodec())
types.RegisterQueryServer(queryHelper, keeper.NewQueryServer(suite.accountKeeper))
suite.queryClient = types.NewQueryClient(queryHelper)
}
Expand Down
7 changes: 0 additions & 7 deletions x/auth/tx/config/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ import (
txsigning "cosmossdk.io/x/tx/signing"
"cosmossdk.io/x/tx/signing/textual"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/x/auth/tx"
)

Expand Down Expand Up @@ -49,7 +47,6 @@ type ModuleInputs struct {
type ModuleOutputs struct {
depinject.Out

BaseAppOption runtime.BaseAppOption // This is only useful for chains using baseapp.
TxConfig client.TxConfig
TxConfigOptions tx.ConfigOptions
TxSigningHandlerMap *txsigning.HandlerMap
Expand Down Expand Up @@ -86,10 +83,6 @@ func ProvideModule(in ModuleInputs) ModuleOutputs {
}

return ModuleOutputs{
BaseAppOption: func(app *baseapp.BaseApp) {
app.SetTxDecoder(txConfig.TxDecoder())
app.SetTxEncoder(txConfig.TxEncoder())
},
TxConfig: txConfig,
TxConfigOptions: txConfigOptions,
TxSigningHandlerMap: txConfig.SignModeHandler(),
Expand Down
5 changes: 4 additions & 1 deletion x/circuit/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ require (
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/cosmos/cosmos-sdk => ../../.
replace (
cosmossdk.io/core/testing => ../../core/testing
github.com/cosmos/cosmos-sdk => ../../.
)

// TODO remove post spinning out all modules
replace (
Expand Down
2 changes: 0 additions & 2 deletions x/circuit/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ cosmossdk.io/collections v1.1.0 h1:UgfDUtQbRcA6uTrwd4Z6lhxMWhHPUTneXCHkWztyvMM=
cosmossdk.io/collections v1.1.0/go.mod h1:D2iuLsFTDseILML+2rCnWIRFyFgl5cyveZ6kNTQALd4=
cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U=
cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc=
cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ=
cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ=
cosmossdk.io/depinject v1.1.0 h1:wLan7LG35VM7Yo6ov0jId3RHWCGRhe8E8bsuARorl5E=
cosmossdk.io/depinject v1.1.0/go.mod h1:kkI5H9jCGHeKeYWXTqYdruogYrEeWvBQCw1Pj4/eCFI=
cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
Expand Down
7 changes: 5 additions & 2 deletions x/upgrade/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ require (
cosmossdk.io/x/gov v0.0.0-20231113122742-912390d5fc4a
cosmossdk.io/x/tx v1.1.0
github.com/cometbft/cometbft v1.0.0
github.com/cometbft/cometbft/api v1.0.0
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/cosmos-sdk v0.53.0
github.com/cosmos/gogoproto v1.7.0
Expand Down Expand Up @@ -70,6 +69,7 @@ require (
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/cometbft/cometbft-db v1.0.1 // indirect
github.com/cometbft/cometbft/api v1.0.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/iavl v1.3.4 // indirect
Expand Down Expand Up @@ -196,7 +196,10 @@ require (
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/cosmos/cosmos-sdk => ../../.
replace (
cosmossdk.io/core/testing => ../../core/testing
github.com/cosmos/cosmos-sdk => ../../.
)

replace (
cosmossdk.io/client/v2 => ../../client/v2
Expand Down
2 changes: 0 additions & 2 deletions x/upgrade/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,6 @@ cosmossdk.io/collections v1.1.0 h1:UgfDUtQbRcA6uTrwd4Z6lhxMWhHPUTneXCHkWztyvMM=
cosmossdk.io/collections v1.1.0/go.mod h1:D2iuLsFTDseILML+2rCnWIRFyFgl5cyveZ6kNTQALd4=
cosmossdk.io/core v1.0.0 h1:e7XBbISOytLBOXMVwpRPixThXqEkeLGlg8no/qpgS8U=
cosmossdk.io/core v1.0.0/go.mod h1:mKIp3RkoEmtqdEdFHxHwWAULRe+79gfdOvmArrLDbDc=
cosmossdk.io/core/testing v0.0.1 h1:gYCTaftcRrz+HoNXmK7r9KgbG1jgBJ8pNzm/Pa/erFQ=
cosmossdk.io/core/testing v0.0.1/go.mod h1:2VDNz/25qtxgPa0+j8LW5e8Ev/xObqoJA7QuJS9/wIQ=
cosmossdk.io/depinject v1.1.0 h1:wLan7LG35VM7Yo6ov0jId3RHWCGRhe8E8bsuARorl5E=
cosmossdk.io/depinject v1.1.0/go.mod h1:kkI5H9jCGHeKeYWXTqYdruogYrEeWvBQCw1Pj4/eCFI=
cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
Expand Down
Loading
Loading