Skip to content

Commit

Permalink
test: relay tests for TrySendTx/OnRecvPacket (#531)
Browse files Browse the repository at this point in the history
* adding various sdk.Msg type tests and cleaning up relay_test.go

* cleaning up tests to make consistent

* adding missing godoc for OnRecvPacket

* adding ica test for transfertypes.MsgTranfer

* updating hardcoded strings to use sdk.DefaultBondDenom

* Update modules/apps/27-interchain-accounts/keeper/relay_test.go

Co-authored-by: Sean King <[email protected]>

* removing staking test for insufficient funds

Co-authored-by: Sean King <[email protected]>
  • Loading branch information
damiannolan and seantking authored Nov 12, 2021
1 parent 3ff5bf8 commit b8bc1a8
Show file tree
Hide file tree
Showing 2 changed files with 398 additions and 103 deletions.
1 change: 1 addition & 0 deletions modules/apps/27-interchain-accounts/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (k Keeper) executeMsg(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) {
return handler(ctx, msg)
}

// OnRecvPacket handles a given interchain accounts packet on a destination host chain
func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet) error {
var data types.InterchainAccountPacketData

Expand Down
Loading

0 comments on commit b8bc1a8

Please sign in to comment.