Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases for cip-14.md #99

Merged
merged 6 commits into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion cips/cip-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,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