-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix failing tests after protocompat changes (#22889)
Co-authored-by: Marko <[email protected]>
- Loading branch information
1 parent
c263939
commit cfe1940
Showing
8 changed files
with
173 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package testutil | ||
|
||
import ( | ||
"context" | ||
|
||
banktypes "cosmossdk.io/x/bank/types" | ||
|
||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
) | ||
|
||
// BankKeeper extends bank `MsgServer` to mock `Send` and to register handlers in MsgServiceRouter | ||
type BankKeeper interface { | ||
banktypes.MsgServer | ||
|
||
SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins | ||
MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error | ||
SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error | ||
GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.