-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtest_support.go
More file actions
35 lines (27 loc) · 888 Bytes
/
test_support.go
File metadata and controls
35 lines (27 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package app
import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
ibckeeper "github.com/cosmos/ibc-go/v10/modules/core/keeper"
"github.com/cosmos/cosmos-sdk/baseapp"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
)
func (app *ConsumerApp) GetIBCKeeper() *ibckeeper.Keeper {
return app.IBCKeeper
}
func (app *ConsumerApp) GetBaseApp() *baseapp.BaseApp {
return app.BaseApp
}
func (app *ConsumerApp) GetBankKeeper() bankkeeper.Keeper {
return app.BankKeeper
}
func (app *ConsumerApp) GetStakingKeeper() *stakingkeeper.Keeper {
return app.StakingKeeper
}
func (app *ConsumerApp) GetAccountKeeper() authkeeper.AccountKeeper {
return app.AccountKeeper
}
func (app *ConsumerApp) GetWasmKeeper() wasmkeeper.Keeper {
return app.WasmKeeper
}