diff --git a/.github/compatibility-test-matrices/v0.1.x/ica-chain-a.json b/.github/compatibility-test-matrices/v0.1.x/ica-chain-a.json new file mode 100644 index 00000000..361760f3 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.1.x/ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.1.7"], + "chain-b": ["v0.1.7", "v0.4.1", "v0.3.5", "v0.2.5"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.1.x/ica-chain-b.json b/.github/compatibility-test-matrices/v0.1.x/ica-chain-b.json new file mode 100644 index 00000000..9e7c1b50 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.1.x/ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.1.7", "v0.4.1", "v0.3.5", "v0.2.5"], + "chain-b": ["v0.1.7"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.2.x/ica-chain-a.json b/.github/compatibility-test-matrices/v0.2.x/ica-chain-a.json new file mode 100644 index 00000000..812391ab --- /dev/null +++ b/.github/compatibility-test-matrices/v0.2.x/ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.2.5"], + "chain-b": ["v0.2.5", "v0.4.1", "v0.3.5", "v0.1.7"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.2.x/ica-chain-b.json b/.github/compatibility-test-matrices/v0.2.x/ica-chain-b.json new file mode 100644 index 00000000..889220d4 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.2.x/ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.2.5", "v0.4.1", "v0.3.5", "v0.1.7"], + "chain-b": ["v0.2.5"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-a.json new file mode 100644 index 00000000..91c110f4 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.2.5"], + "chain-b": ["v0.2.5", "v0.4.1", "v0.3.5"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-b.json new file mode 100644 index 00000000..7ed3a0a3 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.2.x/incentivized-ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.2.5", "v0.4.1", "v0.3.5"], + "chain-b": ["v0.2.5"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/compatibility-test-matrices/v0.3.x/ica-chain-a.json b/.github/compatibility-test-matrices/v0.3.x/ica-chain-a.json new file mode 100644 index 00000000..e87b3ce2 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.3.x/ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.3.5"], + "chain-b": ["v0.3.5", "v0.4.1", "v0.2.5", "v0.1.7"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.3.x/ica-chain-b.json b/.github/compatibility-test-matrices/v0.3.x/ica-chain-b.json new file mode 100644 index 00000000..622e9260 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.3.x/ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.3.5", "v0.4.1", "v0.2.5", "v0.1.7"], + "chain-b": ["v0.3.5"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-a.json new file mode 100644 index 00000000..9a08bf04 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.3.5"], + "chain-b": ["v0.3.5", "v0.4.1", "v0.2.5"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-b.json new file mode 100644 index 00000000..437ddfbf --- /dev/null +++ b/.github/compatibility-test-matrices/v0.3.x/incentivized-ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.3.5", "v0.4.1", "v0.2.5"], + "chain-b": ["v0.3.5"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/compatibility-test-matrices/v0.4.x/ica-chain-a.json b/.github/compatibility-test-matrices/v0.4.x/ica-chain-a.json new file mode 100644 index 00000000..b7435dfb --- /dev/null +++ b/.github/compatibility-test-matrices/v0.4.x/ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.4.1"], + "chain-b": ["v0.4.1", "v0.3.5", "v0.2.5", "v0.1.7"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.4.x/ica-chain-b.json b/.github/compatibility-test-matrices/v0.4.x/ica-chain-b.json new file mode 100644 index 00000000..bf509ac8 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.4.x/ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.4.1", "v0.3.5", "v0.2.5", "v0.1.7"], + "chain-b": ["v0.4.1"], + "entrypoint": ["TestInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulTransfer", + "TestMsgSubmitTx_FailedTransfer_InsufficientFunds" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} \ No newline at end of file diff --git a/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-a.json b/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-a.json new file mode 100644 index 00000000..7e289833 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-a.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.4.1"], + "chain-b": ["v0.4.1", "v0.3.5", "v0.2.5"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-b.json b/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-b.json new file mode 100644 index 00000000..194952e3 --- /dev/null +++ b/.github/compatibility-test-matrices/v0.4.x/incentivized-ica-chain-b.json @@ -0,0 +1,11 @@ +{ + "chain-a": ["v0.4.1", "v0.3.5", "v0.2.5"], + "chain-b": ["v0.4.1"], + "entrypoint": ["TestIncentivizedInterTxTestSuite"], + "test": [ + "TestMsgSubmitTx_SuccessfulBankSend_Incentivized", + "TestMsgSubmitTx_FailedBankSend_Incentivized" + ], + "chain-binary": ["icad"], + "chain-image": ["ghcr.io/cosmos/ibc-go-icad"] +} diff --git a/.github/workflows/e2e-compatibility.yaml b/.github/workflows/e2e-compatibility.yaml new file mode 100644 index 00000000..bbd74ea4 --- /dev/null +++ b/.github/workflows/e2e-compatibility.yaml @@ -0,0 +1,98 @@ +name: Compatibility E2E + +on: + workflow_dispatch: + +env: + REGISTRY: ghcr.io + ORG: cosmos + IMAGE_NAME: ibc-go-icad + +jobs: + # v0.1.x / ibc-go v3 + ica-chain-a-v0-1-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.1.x + test-suite: ica-chain-a + + ica-chain-b-v0-1-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.1.x + test-suite: ica-chain-b + + # v0.2.x / ibc-go v4 + ica-chain-a-v0-2-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.2.x + test-suite: ica-chain-a + + ica-chain-b-v0-2-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.2.x + test-suite: ica-chain-b + + incentivized-ica-chain-a-v0-2-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.2.x + test-suite: incentivized-ica-chain-a + + incentivized-ica-chain-b-v0-2-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.2.x + test-suite: incentivized-ica-chain-b + + # v0.3.x / ibc-go v5 + ica-chain-a-v0-3-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.3.x + test-suite: ica-chain-a + + ica-chain-b-v0-3-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.3.x + test-suite: ica-chain-b + + incentivized-ica-chain-a-v0-3-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.3.x + test-suite: incentivized-ica-chain-a + + incentivized-ica-chain-b-v0-3-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.3.x + test-suite: incentivized-ica-chain-b + + # v0.4.x / ibc-go v6 + ica-chain-a-v0-4-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.4.x + test-suite: ica-chain-a + + ica-chain-b-v0-4-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.4.x + test-suite: ica-chain-b + + incentivized-ica-chain-a-v0-4-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.4.x + test-suite: incentivized-ica-chain-a + + incentivized-ica-chain-b-v0-4-x: + uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main + with: + test-file-directory: v0.4.x + test-suite: incentivized-ica-chain-b