Skip to content

Commit e7fd154

Browse files
committed
fix app
1 parent edde48d commit e7fd154

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

app/app.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,9 @@ func New(
645645
keys[lendingtypes.StoreKey],
646646
keys[lendingtypes.MemStoreKey],
647647
app.BankKeeper,
648+
nil,
649+
app.AuctionKeeper,
650+
app.DLCKeeper,
648651
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
649652
)
650653
lendingModule := lendingmodule.NewAppModule(appCodec, app.LendingKeeper)

testutil/keeper/lending.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ func LendingKeeper(t testing.TB) (keeper.Keeper, sdk.Context) {
4646
storeKey,
4747
memStoreKey,
4848
app.BankKeeper,
49+
nil,
50+
app.AuctionKeeper,
51+
app.DLCKeeper,
4952
authority,
5053
)
5154

x/lending/types/expected_keepers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ type OracleKeeper interface {
4444

4545
// AuctionKeeper defines the expected auction keeper interface
4646
type AuctionKeeper interface {
47-
CreateAuction(ctx context.Context, auction *auctiontypes.Auction)
47+
CreateAuction(ctx sdk.Context, auction *auctiontypes.Auction)
4848
}
4949

5050
// DLCKeeper defines the expected DLC keeper interface
5151
type DLCKeeper interface {
52-
GetEvent(ctx context.Context, id uint64) *dlctypes.DLCPriceEvent
52+
GetEvent(ctx sdk.Context, id uint64) *dlctypes.DLCPriceEvent
5353
}

0 commit comments

Comments
 (0)