Skip to content

Commit

Permalink
Merge pull request #99 from womensrights/main
Browse files Browse the repository at this point in the history
Add test cases for cip-14.md
  • Loading branch information
jcstein authored Mar 19, 2024
2 parents d8fb5da + 24333ad commit 61924d1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion cips/cip-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,18 @@ This proposal is backwards-incompatible because it is state-machine breaking. Th

## Test Cases

TBA
The following test cases are available in the [ibc-go e2e repository.](https://github.com/cosmos/ibc-go/tree/main/e2e/tests/interchain_accounts)

- Registration of an interchain account - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/base_test.go#L46)
- [OPTIONAL] Transfer funds from interchain account to a different account on the same chain using an unordered channel - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/base_test.go#L56). Note: requires ibc-go >= v8.1.0.
- Transfer funds from interchain account to a different account on the same chain using an ordered channel - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/base_test.go#L52)
- A failed transfer of funds from interchain account to a different account on the same chain due to insufficient funds in the interchain account balance - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/base_test.go#L159)
- Transfer funds from interchain account to a different account on the same chain after an ordered channel closes and a new channel is reopened to connect to the existing interchain account - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/base_test.go#L249)
- A transfer of funds from an interchain account to a different account on the same chain using an x/gov sdk module based controller (on the controlling chain) - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/gov_test.go)
- A transfer of funds from an interchain account to a different account on the same chain using a x/group sdk module based controller (on the controlling chain) - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/groups_test.go)
- [OPTIONAL] A transfer of funds from an interchain account to a different account on the same chain using an incentivised IBC packet - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/incentivized_test.go#L38). Note: requires relayer incentivization middleware.
- Query if host functionality is enabled - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/params_test.go#L106)
- [OPTIONAL] Transfer funds from interchain account to a different account after upgrading the channel from ordered to unordered - [test link](https://github.com/cosmos/ibc-go/blob/main/e2e/tests/interchain_accounts/upgrades_test.go#L41). Note: requires ibc-go >= v8.1.0.

## Reference Implementation

Expand Down

0 comments on commit 61924d1

Please sign in to comment.