Skip to content

Commit

Permalink
Final review cleanup, code should be good now
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Aug 10, 2023
1 parent 28c1b6a commit 9645cb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
11 changes: 1 addition & 10 deletions x/drip/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,12 @@ import (
"github.com/CosmosContracts/juno/v17/x/drip/types"
)

// BankKeeper defines the expected interface needed to retrieve account balances.
type BankKeeper interface {
MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
}

type IntegrationTestSuite struct {
suite.Suite

ctx sdk.Context
app *app.App
bankKeeper BankKeeper
bankKeeper types.BankKeeper
queryClient types.QueryClient
dripMsgServer types.MsgServer
}
Expand Down
10 changes: 0 additions & 10 deletions x/drip/types/events.go

This file was deleted.

3 changes: 3 additions & 0 deletions x/drip/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ import (
// BankKeeper defines the expected interface needed to retrieve account balances.
type BankKeeper interface {
SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error

MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

0 comments on commit 9645cb2

Please sign in to comment.