Skip to content

Commit

Permalink
fix app
Browse files Browse the repository at this point in the history
  • Loading branch information
keithsue committed Jan 12, 2025
1 parent edde48d commit e7fd154
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ func New(
keys[lendingtypes.StoreKey],
keys[lendingtypes.MemStoreKey],
app.BankKeeper,
nil,
app.AuctionKeeper,
app.DLCKeeper,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)
lendingModule := lendingmodule.NewAppModule(appCodec, app.LendingKeeper)
Expand Down
3 changes: 3 additions & 0 deletions testutil/keeper/lending.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ func LendingKeeper(t testing.TB) (keeper.Keeper, sdk.Context) {
storeKey,
memStoreKey,
app.BankKeeper,
nil,
app.AuctionKeeper,
app.DLCKeeper,
authority,
)

Expand Down
4 changes: 2 additions & 2 deletions x/lending/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ type OracleKeeper interface {

// AuctionKeeper defines the expected auction keeper interface
type AuctionKeeper interface {
CreateAuction(ctx context.Context, auction *auctiontypes.Auction)
CreateAuction(ctx sdk.Context, auction *auctiontypes.Auction)
}

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

0 comments on commit e7fd154

Please sign in to comment.