Skip to content

Commit

Permalink
remove unecessary testing keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Feb 7, 2025
1 parent e63a4d1 commit 12854e0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 33 deletions.
6 changes: 0 additions & 6 deletions modules/apps/callbacks/testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ import (
solomachine "github.com/cosmos/ibc-go/v9/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v9/modules/light-clients/07-tendermint"
ibcmock "github.com/cosmos/ibc-go/v9/testing/mock"
ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types"
)

const appName = "SimApp"
Expand Down Expand Up @@ -891,11 +890,6 @@ func (app *SimApp) GetBaseApp() *baseapp.BaseApp {
return app.BaseApp
}

// GetStakingKeeper implements the TestingApp interface.
func (app *SimApp) GetStakingKeeper() ibctestingtypes.StakingKeeper {
return app.StakingKeeper
}

// GetIBCKeeper implements the TestingApp interface.
func (app *SimApp) GetIBCKeeper() *ibckeeper.Keeper {
return app.IBCKeeper
Expand Down
6 changes: 0 additions & 6 deletions modules/light-clients/08-wasm/testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ import (
solomachine "github.com/cosmos/ibc-go/v9/modules/light-clients/06-solomachine"
ibctm "github.com/cosmos/ibc-go/v9/modules/light-clients/07-tendermint"
ibcmock "github.com/cosmos/ibc-go/v9/testing/mock"
ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types"
)

const appName = "SimApp"
Expand Down Expand Up @@ -1057,11 +1056,6 @@ func (app *SimApp) GetBaseApp() *baseapp.BaseApp {
return app.BaseApp
}

// GetStakingKeeper implements the TestingApp interface.
func (app *SimApp) GetStakingKeeper() ibctestingtypes.StakingKeeper {
return app.StakingKeeper
}

// GetIBCKeeper implements the TestingApp interface.
func (app *SimApp) GetIBCKeeper() *ibckeeper.Keeper {
return app.IBCKeeper
Expand Down
6 changes: 0 additions & 6 deletions testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ import (
ibctm "github.com/cosmos/ibc-go/v9/modules/light-clients/07-tendermint"
ibcmock "github.com/cosmos/ibc-go/v9/testing/mock"
mockv2 "github.com/cosmos/ibc-go/v9/testing/mock/v2"
ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types"
)

const appName = "SimApp"
Expand Down Expand Up @@ -902,11 +901,6 @@ func (app *SimApp) GetBaseApp() *baseapp.BaseApp {
return app.BaseApp
}

// GetStakingKeeper implements the TestingApp interface.
func (app *SimApp) GetStakingKeeper() ibctestingtypes.StakingKeeper {
return app.StakingKeeper
}

// GetIBCKeeper implements the TestingApp interface.
func (app *SimApp) GetIBCKeeper() *ibckeeper.Keeper {
return app.IBCKeeper
Expand Down
2 changes: 0 additions & 2 deletions testing/testing_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (

"github.com/cosmos/ibc-go/v9/modules/core/keeper"
"github.com/cosmos/ibc-go/v9/testing/simapp"
ibctestingtypes "github.com/cosmos/ibc-go/v9/testing/types"
)

var DefaultTestingAppInit = SetupTestingApp
Expand All @@ -39,7 +38,6 @@ type TestingApp interface {

// ibc-go additions
GetBaseApp() *baseapp.BaseApp
GetStakingKeeper() ibctestingtypes.StakingKeeper
GetIBCKeeper() *keeper.Keeper
GetTxConfig() client.TxConfig

Expand Down
13 changes: 0 additions & 13 deletions testing/types/expected_keepers.go

This file was deleted.

0 comments on commit 12854e0

Please sign in to comment.