From d43922c387bd86c42cebc5d318058d09c8394818 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 10:56:57 -0500 Subject: [PATCH 01/27] test downtime in icsv3.1.0 --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 3a53fb16c..08b93b0ed 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -880,7 +880,7 @@ jobs: CON1_PPROF_PORT: 29601 CON2_PPROF_PORT: 29602 CON3_PPROF_PORT: 29603 - DOWNTIME_BLOCKS: 1000 + DOWNTIME_BLOCKS: 20 run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V310_BINARY tests/major_fresh_upgrade/init_consumer_assign_keys.sh @@ -949,6 +949,19 @@ jobs: channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + - name: Stop validator services + env: + CONSUMER_SERVICE_2: six_2.service + CONSUMER_SERVICE_3: six_3.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sudo systemctl disable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed + run: tests/test_validator_jailed.sh $VALOPER_2 true + - name: _Soft opt-out test> Validator must not be jailed + run: tests/test_validator_jailed.sh $VALOPER_3 false + Baseline-3b-icsv310-some-keys-assigned: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer From 06d06cc41b523db161b2e0e00bcdc5c5c484b103 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 10:59:19 -0500 Subject: [PATCH 02/27] print relayer log --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 08b93b0ed..43c08366b 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1839,6 +1839,8 @@ jobs: connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + - name: Print relayer log + run: journalctl -u $RELAYER Baseline-4-icsv330: runs-on: ubuntu-22.04 From 57c6234b15ac7ce176e5f1facbf08828c29714bc Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 11:40:07 -0500 Subject: [PATCH 03/27] run on push --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 43c08366b..81c228660 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -7,7 +7,7 @@ on: schedule: - cron: '0 6,14 * * 1-6' workflow_dispatch: - # push: + push: concurrency: group: ${{ github.workflow }}-${{ github.ref }} From 20793e177ba1ed87c208d1db9affc307b9dac45c Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 19:57:18 -0500 Subject: [PATCH 04/27] test unjail --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 15 +++++++++++++++ .../init_consumer_assign_keys.sh | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 81c228660..39a26adec 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -961,6 +961,21 @@ jobs: run: tests/test_validator_jailed.sh $VALOPER_2 true - name: _Soft opt-out test> Validator must not be jailed run: tests/test_validator_jailed.sh $VALOPER_3 false + - name: Start validator services + env: + CONSUMER_SERVICE_2: six_2.service + CONSUMER_SERVICE_3: six_3.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_2 --now + sudo systemctl enable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + $CHAIN_BINARY tx slashing unjail --from $WALLET_3 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + sleep $(($COMMIT_TIMOEUT*2)) + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_2 false + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_3 false Baseline-3b-icsv310-some-keys-assigned: runs-on: ubuntu-22.04 diff --git a/tests/major_fresh_upgrade/init_consumer_assign_keys.sh b/tests/major_fresh_upgrade/init_consumer_assign_keys.sh index a2abd0e84..db37bcc8c 100755 --- a/tests/major_fresh_upgrade/init_consumer_assign_keys.sh +++ b/tests/major_fresh_upgrade/init_consumer_assign_keys.sh @@ -38,7 +38,8 @@ mv genesis-1.json $CONSUMER_HOME_1/config/genesis.json # Set slashing to $DOWNTIME_BLOCKS jq -r --arg SLASH "$DOWNTIME_BLOCKS" '.app_state.slashing.params.signed_blocks_window |= $SLASH' $CONSUMER_HOME_1/config/genesis.json > consumer-slashing.json -mv consumer-slashing.json $CONSUMER_HOME_1/config/genesis.json +jq -r '.app_state.slashing.params.downtime_jail_duration |= 10s' consumer-slashing.json > consumer-slashing-2.json +mv consumer-slashing-2.json $CONSUMER_HOME_1/config/genesis.json # Create self-delegation accounts echo $MNEMONIC_1 | $CONSUMER_CHAIN_BINARY keys add $MONIKER_1 --keyring-backend test --home $CONSUMER_HOME_1 --recover From fc6f7b77f85daab5d1639ca2984392a660055a87 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 20:35:23 -0500 Subject: [PATCH 05/27] genesis value --- tests/major_fresh_upgrade/init_consumer_assign_keys.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/major_fresh_upgrade/init_consumer_assign_keys.sh b/tests/major_fresh_upgrade/init_consumer_assign_keys.sh index db37bcc8c..4e76fb9d1 100755 --- a/tests/major_fresh_upgrade/init_consumer_assign_keys.sh +++ b/tests/major_fresh_upgrade/init_consumer_assign_keys.sh @@ -38,7 +38,7 @@ mv genesis-1.json $CONSUMER_HOME_1/config/genesis.json # Set slashing to $DOWNTIME_BLOCKS jq -r --arg SLASH "$DOWNTIME_BLOCKS" '.app_state.slashing.params.signed_blocks_window |= $SLASH' $CONSUMER_HOME_1/config/genesis.json > consumer-slashing.json -jq -r '.app_state.slashing.params.downtime_jail_duration |= 10s' consumer-slashing.json > consumer-slashing-2.json +jq -r '.app_state.slashing.params.downtime_jail_duration |= "10s"' consumer-slashing.json > consumer-slashing-2.json mv consumer-slashing-2.json $CONSUMER_HOME_1/config/genesis.json # Create self-delegation accounts From 4aef92c30135d8e11106ce8a2438bd4c34b00258 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 20:55:00 -0500 Subject: [PATCH 06/27] unjail one validator --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 39a26adec..a6aa3d46e 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -957,26 +957,29 @@ jobs: sudo systemctl disable $CONSUMER_SERVICE_2 --now sudo systemctl disable $CONSUMER_SERVICE_3 --now sleep $(($COMMIT_TIMEOUT*30)) - - name: _Soft opt-out test> Validator must be jailed + - name: _Soft opt-out test> Validator must be jailed - 1 run: tests/test_validator_jailed.sh $VALOPER_2 true - name: _Soft opt-out test> Validator must not be jailed run: tests/test_validator_jailed.sh $VALOPER_3 false - - name: Start validator services + - name: Unjail validator env: CONSUMER_SERVICE_2: six_2.service - CONSUMER_SERVICE_3: six_3.service run: | sudo systemctl enable $CONSUMER_SERVICE_2 --now - sudo systemctl enable $CONSUMER_SERVICE_3 --now - sleep $(($COMMIT_TIMEOUT*30)) + sleep $(($COMMIT_TIMEOUT*10)) $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 - $CHAIN_BINARY tx slashing unjail --from $WALLET_3 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 - sleep $(($COMMIT_TIMOEUT*2)) + sleep $(($COMMIT_TIMEOUT*2)) - name: _Soft opt-out test> Validator must be unjailed run: tests/test_validator_jailed.sh $VALOPER_2 false - - name: _Soft opt-out test> Validator must be unjailed - run: tests/test_validator_jailed.sh $VALOPER_3 false - + - name: Stop validator services + env: + CONSUMER_SERVICE_2: six_2.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed - 2 + run: tests/test_validator_jailed.sh $VALOPER_2 true + Baseline-3b-icsv310-some-keys-assigned: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer From dbf6fc15b86c20e2ef9259e9de00f6f444ce6e10 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Tue, 6 Feb 2024 22:33:56 -0500 Subject: [PATCH 07/27] unjail operation --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index a6aa3d46e..81e669f47 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -971,14 +971,14 @@ jobs: sleep $(($COMMIT_TIMEOUT*2)) - name: _Soft opt-out test> Validator must be unjailed run: tests/test_validator_jailed.sh $VALOPER_2 false - - name: Stop validator services - env: - CONSUMER_SERVICE_2: six_2.service - run: | - sudo systemctl disable $CONSUMER_SERVICE_2 --now - sleep $(($COMMIT_TIMEOUT*30)) - - name: _Soft opt-out test> Validator must be jailed - 2 - run: tests/test_validator_jailed.sh $VALOPER_2 true + # - name: Stop validator services + # env: + # CONSUMER_SERVICE_2: six_2.service + # run: | + # sudo systemctl disable $CONSUMER_SERVICE_2 --now + # sleep $(($COMMIT_TIMEOUT*30)) + # - name: _Soft opt-out test> Validator must be jailed - 2 + # run: tests/test_validator_jailed.sh $VALOPER_2 true Baseline-3b-icsv310-some-keys-assigned: runs-on: ubuntu-22.04 From 495ef8cb6041be963aa89e9b19c9d1bb125fdda8 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 11:22:17 -0500 Subject: [PATCH 08/27] jail-unjail in all post-upgrade consumer chains --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 73 ++++++++++++++++++- 1 file changed, 71 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 81e669f47..96d9bd895 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1350,7 +1350,7 @@ jobs: CON1_PPROF_PORT: 29601 CON2_PPROF_PORT: 29602 CON3_PPROF_PORT: 29603 - DOWNTIME_BLOCKS: 1000 + DOWNTIME_BLOCKS: 20 run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V310_BINARY tests/major_fresh_upgrade/init_consumer_assign_some_keys.sh @@ -1419,6 +1419,29 @@ jobs: channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + - name: Stop validator services + env: + CONSUMER_SERVICE_2: six_2.service + CONSUMER_SERVICE_3: six_3.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sudo systemctl disable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed - 1 + run: tests/test_validator_jailed.sh $VALOPER_2 true + - name: _Soft opt-out test> Validator must not be jailed + run: tests/test_validator_jailed.sh $VALOPER_3 false + - name: Unjail validator + env: + CONSUMER_SERVICE_2: six_2.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_2 --now + sleep $(($COMMIT_TIMEOUT*10)) + $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + sleep $(($COMMIT_TIMEOUT*2)) + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_2 false + Baseline-3c-icsv310-no-keys-assigned: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer @@ -1789,7 +1812,7 @@ jobs: CON1_PPROF_PORT: 29601 CON2_PPROF_PORT: 29602 CON3_PPROF_PORT: 29603 - DOWNTIME_BLOCKS: 1000 + DOWNTIME_BLOCKS: 20 run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V310_BINARY tests/major_fresh_upgrade/init_consumer_assign_no_keys.sh @@ -1860,6 +1883,29 @@ jobs: - name: Print relayer log run: journalctl -u $RELAYER + - name: Stop validator services + env: + CONSUMER_SERVICE_2: six_2.service + CONSUMER_SERVICE_3: six_3.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sudo systemctl disable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed - 1 + run: tests/test_validator_jailed.sh $VALOPER_2 true + - name: _Soft opt-out test> Validator must not be jailed + run: tests/test_validator_jailed.sh $VALOPER_3 false + - name: Unjail validator + env: + CONSUMER_SERVICE_2: six_2.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_2 --now + sleep $(($COMMIT_TIMEOUT*10)) + $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + sleep $(($COMMIT_TIMEOUT*2)) + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_2 false + Baseline-4-icsv330: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer @@ -2300,6 +2346,29 @@ jobs: channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + - name: Stop validator services + env: + CONSUMER_SERVICE_2: eight_2.service + CONSUMER_SERVICE_3: eight_3.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sudo systemctl disable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed - 1 + run: tests/test_validator_jailed.sh $VALOPER_2 true + - name: _Soft opt-out test> Validator must not be jailed + run: tests/test_validator_jailed.sh $VALOPER_3 false + - name: Unjail validator + env: + CONSUMER_SERVICE_2: eight_2.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_2 --now + sleep $(($COMMIT_TIMEOUT*10)) + $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + sleep $(($COMMIT_TIMEOUT*2)) + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_2 false + Baseline-5-pfm: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer From 07fa63206a7ffc4a7a2c13ba00e74871da492d5c Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 11:46:18 -0500 Subject: [PATCH 09/27] lower downtime threshold in v3.3.0 chain --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 96d9bd895..614e2b739 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -979,7 +979,7 @@ jobs: # sleep $(($COMMIT_TIMEOUT*30)) # - name: _Soft opt-out test> Validator must be jailed - 2 # run: tests/test_validator_jailed.sh $VALOPER_2 true - + Baseline-3b-icsv310-some-keys-assigned: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer @@ -2280,7 +2280,7 @@ jobs: CON1_PPROF_PORT: 29801 CON2_PPROF_PORT: 29802 CON3_PPROF_PORT: 29803 - DOWNTIME_BLOCKS: 100000 + DOWNTIME_BLOCKS: 20 run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY tests/major_fresh_upgrade/init_consumer_assign_keys.sh From a00dcdf6a9a3d5a9c4951895573ac1479b716e8b Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 13:53:35 -0500 Subject: [PATCH 10/27] move env vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 330 ++++++++++++------ 1 file changed, 220 insertions(+), 110 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 614e2b739..9a15a0469 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -14,7 +14,117 @@ concurrency: cancel-in-progress: true env: + # All chain variables COMMIT_TIMEOUT: 3 + DOWNTIME_BLOCKS: 10000 + # Provider chain variables + CHAIN_BINARY: gaiad + CHAIN_ID: testnet + DENOM: uatom + BASE_FEES: 2000 + HIGH_FEES: 10000 + GAS: auto + GAS_ADJUSTMENT: 2 + GAS_PRICE: 0.005 + VOTING_PERIOD: 10s + COSMOS_SDK: v45 + COSMOVISOR: false + # Provider nodes variables + HOME_1: /home/runner/.val1 + HOME_2: /home/runner/.val2 + HOME_3: /home/runner/.val3 + PROVIDER_SERVICE_1: gaia1.service + PROVIDER_SERVICE_2: gaia2.service + PROVIDER_SERVICE_3: gaia3.service + MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art + MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage + MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth + MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success + MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success + MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim + MONIKER_1: val1 + MONIKER_2: val2 + MONIKER_3: val3 + MONIKER_RELAYER: relayer + MONIKER_4: relayer + MONIKER_5: wallet5 + VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv + VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn + VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc + WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl + WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq + WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t + WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 + WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 + VAL1_STAKE: 800000000 + VAL2_STAKE: 200000000 + VAL3_STAKE: 10000000 + VAL_FUNDS: 11000000000 + VAL_STAKE: 1000000000 + VAL_STAKE_STEP: 1000000 + VAL1_API_PORT: 25001 + VAL2_API_PORT: 25002 + VAL3_API_PORT: 25003 + VAL1_GRPC_PORT: 26001 + VAL2_GRPC_PORT: 26002 + VAL3_GRPC_PORT: 26003 + VAL1_RPC_PORT: 27001 + VAL2_RPC_PORT: 27002 + VAL3_RPC_PORT: 27003 + VAL1_P2P_PORT: 28001 + VAL2_P2P_PORT: 28002 + VAL3_P2P_PORT: 28003 + VAL1_PPROF_PORT: 29001 + VAL2_PPROF_PORT: 29002 + VAL3_PPROF_PORT: 29003 + # Consumer chain variables + ICS_120: false + ICS_200: false + ICS_310: false + ICS_330: false + # Reference ICS chain variables + CONSUMER_DENOM: ucon + CONSUMER_FEES: 500 + CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux + CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 + CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux + CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 + CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux + CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 + CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux + CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 + CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux + CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 + STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux + ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd + ICS_TRANSFORM_BINARY: cd-transform + # Stride chain variables + STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 + STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 + STRIDE_CHAIN_BINARY: strided + STRIDE_CHAIN_ID: five + STRIDE_DENOM: ustrd + STRIDE_HOME_1: /home/runner/.stride1 + STRIDE_HOME_2: /home/runner/.stride2 + STRIDE_SERVICE_1: stride1.service + STRIDE_SERVICE_2: stride2.service + STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn + STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 + STRIDE_API_1: 35001 + STRIDE_API_2: 35002 + STRIDE_GRPC_1: 36001 + STRIDE_GRPC_2: 36002 + STRIDE_RPC_1: 37001 + STRIDE_RPC_2: 37002 + STRIDE_P2P_1: 38001 + STRIDE_P2P_2: 38002 + STRIDE_PPROF_1: 39001 + STRIDE_PPROF_2: 39002 + CHANGEOVER_HEIGHT_OFFSET: false + # Relayer variables + RELAYER: hermes + HERMES_VERSION: v1.7.4 + RLY_VERSION: "2.4.2" jobs: set-version-matrix: runs-on: ubuntu-22.04 @@ -98,121 +208,121 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false + # COMMIT_TIMEOUT: 3 + # COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 + # CHAIN_BINARY: gaiad + # CHAIN_ID: testnet + # DENOM: uatom + # BASE_FEES: 2000 + # HIGH_FEES: 10000 + # GAS: auto + # GAS_ADJUSTMENT: 2 + # GAS_PRICE: 0.005 + # VOTING_PERIOD: 10s + # COSMOS_SDK: v45 # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 + # HOME_1: /home/runner/.val1 + # HOME_2: /home/runner/.val2 + # HOME_3: /home/runner/.val3 + # PROVIDER_SERVICE_1: gaia1.service + # PROVIDER_SERVICE_2: gaia2.service + # PROVIDER_SERVICE_3: gaia3.service + # MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art + # MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage + # MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth + # MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success + # MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success + # MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim + # MONIKER_1: val1 + # MONIKER_2: val2 + # MONIKER_3: val3 + # MONIKER_RELAYER: relayer + # MONIKER_4: relayer + # MONIKER_5: wallet5 + # VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv + # VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn + # VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc + # WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl + # WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq + # WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t + # WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 + # WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 + # VAL1_STAKE: 800000000 + # VAL2_STAKE: 200000000 + # VAL3_STAKE: 10000000 + # VAL_FUNDS: 11000000000 + # VAL_STAKE: 1000000000 + # VAL_STAKE_STEP: 1000000 + # VAL1_API_PORT: 25001 + # VAL2_API_PORT: 25002 + # VAL3_API_PORT: 25003 + # VAL1_GRPC_PORT: 26001 + # VAL2_GRPC_PORT: 26002 + # VAL3_GRPC_PORT: 26003 + # VAL1_RPC_PORT: 27001 + # VAL2_RPC_PORT: 27002 + # VAL3_RPC_PORT: 27003 + # VAL1_P2P_PORT: 28001 + # VAL2_P2P_PORT: 28002 + # VAL3_P2P_PORT: 28003 + # VAL1_PPROF_PORT: 29001 + # VAL2_PPROF_PORT: 29002 + # VAL3_PPROF_PORT: 29003 # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" + # DOWNTIME_BLOCKS: 10000 + # RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl + # ICS_120: false + # ICS_200: false + # ICS_310: false + # ICS_330: false + # CONSUMER_ICS: v3.1.0 + # PROVIDER_ICS: v2.4.0 + # # Reference ICS chain variables + # CONSUMER_DENOM: ucon + # CONSUMER_FEES: 500 + # CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux + # CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 + # CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux + # CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 + # CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux + # CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 + # CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux + # CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 + # CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux + # CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 + # STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux + # ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd + # ICS_TRANSFORM_BINARY: cd-transform + # # Sovereign-ICS chain variables + # STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 + # STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 + # STRIDE_CHAIN_BINARY: strided + # STRIDE_CHAIN_ID: five + # STRIDE_DENOM: ustrd + # STRIDE_HOME_1: /home/runner/.stride1 + # STRIDE_HOME_2: /home/runner/.stride2 + # STRIDE_SERVICE_1: stride1.service + # STRIDE_SERVICE_2: stride2.service + # STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn + # STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 + # STRIDE_API_1: 35001 + # STRIDE_API_2: 35002 + # STRIDE_GRPC_1: 36001 + # STRIDE_GRPC_2: 36002 + # STRIDE_RPC_1: 37001 + # STRIDE_RPC_2: 37002 + # STRIDE_P2P_1: 38001 + # STRIDE_P2P_2: 38002 + # STRIDE_PPROF_1: 39001 + # STRIDE_PPROF_2: 39002 + # CHANGEOVER_HEIGHT_OFFSET: false + # # Relayer variables + # RELAYER: hermes + # HERMES_VERSION: v1.7.4 + # RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} From cc7deb452bc87b2f42066b925ea74703cd452f2b Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 13:59:27 -0500 Subject: [PATCH 11/27] trim env vars for globalfee test --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 226 ------------------ 1 file changed, 226 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 9a15a0469..43acf3e46 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -208,121 +208,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - # COMMIT_TIMEOUT: 3 - # COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - # CHAIN_BINARY: gaiad - # CHAIN_ID: testnet - # DENOM: uatom - # BASE_FEES: 2000 - # HIGH_FEES: 10000 - # GAS: auto - # GAS_ADJUSTMENT: 2 - # GAS_PRICE: 0.005 - # VOTING_PERIOD: 10s - # COSMOS_SDK: v45 - # Provider node variables - # HOME_1: /home/runner/.val1 - # HOME_2: /home/runner/.val2 - # HOME_3: /home/runner/.val3 - # PROVIDER_SERVICE_1: gaia1.service - # PROVIDER_SERVICE_2: gaia2.service - # PROVIDER_SERVICE_3: gaia3.service - # MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - # MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - # MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - # MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - # MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - # MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - # MONIKER_1: val1 - # MONIKER_2: val2 - # MONIKER_3: val3 - # MONIKER_RELAYER: relayer - # MONIKER_4: relayer - # MONIKER_5: wallet5 - # VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - # VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - # VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - # WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - # WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - # WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - # WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - # WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - # VAL1_STAKE: 800000000 - # VAL2_STAKE: 200000000 - # VAL3_STAKE: 10000000 - # VAL_FUNDS: 11000000000 - # VAL_STAKE: 1000000000 - # VAL_STAKE_STEP: 1000000 - # VAL1_API_PORT: 25001 - # VAL2_API_PORT: 25002 - # VAL3_API_PORT: 25003 - # VAL1_GRPC_PORT: 26001 - # VAL2_GRPC_PORT: 26002 - # VAL3_GRPC_PORT: 26003 - # VAL1_RPC_PORT: 27001 - # VAL2_RPC_PORT: 27002 - # VAL3_RPC_PORT: 27003 - # VAL1_P2P_PORT: 28001 - # VAL2_P2P_PORT: 28002 - # VAL3_P2P_PORT: 28003 - # VAL1_PPROF_PORT: 29001 - # VAL2_PPROF_PORT: 29002 - # VAL3_PPROF_PORT: 29003 - # Consumer chain variables - # DOWNTIME_BLOCKS: 10000 - # RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - # ICS_120: false - # ICS_200: false - # ICS_310: false - # ICS_330: false - # CONSUMER_ICS: v3.1.0 - # PROVIDER_ICS: v2.4.0 - # # Reference ICS chain variables - # CONSUMER_DENOM: ucon - # CONSUMER_FEES: 500 - # CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - # CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - # CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - # CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - # CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - # CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - # CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - # CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - # CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - # CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - # STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - # ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - # ICS_TRANSFORM_BINARY: cd-transform - # # Sovereign-ICS chain variables - # STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - # STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - # STRIDE_CHAIN_BINARY: strided - # STRIDE_CHAIN_ID: five - # STRIDE_DENOM: ustrd - # STRIDE_HOME_1: /home/runner/.stride1 - # STRIDE_HOME_2: /home/runner/.stride2 - # STRIDE_SERVICE_1: stride1.service - # STRIDE_SERVICE_2: stride2.service - # STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - # STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - # STRIDE_API_1: 35001 - # STRIDE_API_2: 35002 - # STRIDE_GRPC_1: 36001 - # STRIDE_GRPC_2: 36002 - # STRIDE_RPC_1: 37001 - # STRIDE_RPC_2: 37002 - # STRIDE_P2P_1: 38001 - # STRIDE_P2P_2: 38002 - # STRIDE_PPROF_1: 39001 - # STRIDE_PPROF_2: 39002 - # CHANGEOVER_HEIGHT_OFFSET: false - # # Relayer variables - # RELAYER: hermes - # HERMES_VERSION: v1.7.4 - # RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -414,121 +301,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} From 1d0cd9f7fdb32b3f50427b88c49860ed50f0e57e Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 14:12:33 -0500 Subject: [PATCH 12/27] baseline 3a vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 120 +----------------- tests/major_fresh_upgrade/prepare_consumer.sh | 26 ---- 2 files changed, 4 insertions(+), 142 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 43acf3e46..9f563515f 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -82,6 +82,7 @@ env: ICS_200: false ICS_310: false ICS_330: false + RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl # Reference ICS chain variables CONSUMER_DENOM: ucon CONSUMER_FEES: 500 @@ -123,8 +124,8 @@ env: CHANGEOVER_HEIGHT_OFFSET: false # Relayer variables RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" + HERMES_VERSION: v1.8.0 + RLY_VERSION: "2.5.0" jobs: set-version-matrix: runs-on: ubuntu-22.04 @@ -404,121 +405,21 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 # Consumer chain variables DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false + ICS_310: true ICS_330: false CONSUMER_ICS: v3.1.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables CONSUMER_DENOM: ucon CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - # RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -570,26 +471,13 @@ jobs: run: tests/v15_upgrade/setup_relayer.sh - name: Download consumer chain binaries run: | - wget $CONSUMER_CHAIN_V2_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY wget $CONSUMER_CHAIN_V310_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY -q chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY - wget $CONSUMER_CHAIN_V320_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY - wget $CONSUMER_CHAIN_V330_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY - wget $STRIDE_CON_CHAIN_BINARY_URL -O $HOME/go/bin/$STRIDE_CHAIN_BINARY -q - chmod +x $HOME/go/bin/$STRIDE_CHAIN_BINARY wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY - name: Consumer chain binary URLs run: | - echo "$CONSUMER_CHAIN_V12_BINARY runs off $CONSUMER_CHAIN_V12_BINARY_URL" - echo "$CONSUMER_CHAIN_V2_BINARY runs off $CONSUMER_CHAIN_V2_BINARY_URL" echo "$CONSUMER_CHAIN_V310_BINARY runs off $CONSUMER_CHAIN_V310_BINARY_URL" - echo "$CONSUMER_CHAIN_V320_BINARY runs off $CONSUMER_CHAIN_V320_BINARY_URL" - echo "$CONSUMER_CHAIN_V330_BINARY runs off $CONSUMER_CHAIN_V330_BINARY_URL" - echo "$STRIDE_BINARY runs off $STRIDE_CON_CHAIN_BINARY_URL" - name: Start chain env: START_VERSION: ${{matrix.gaia_version}} diff --git a/tests/major_fresh_upgrade/prepare_consumer.sh b/tests/major_fresh_upgrade/prepare_consumer.sh index a2a177867..d7468c9a8 100755 --- a/tests/major_fresh_upgrade/prepare_consumer.sh +++ b/tests/major_fresh_upgrade/prepare_consumer.sh @@ -9,32 +9,6 @@ # echo "Submitting proposal..." -# if [ $COSMOS_SDK == "v45" ]; then -# echo "Preparing proposal with v45 command..." -# proposal="$CHAIN_BINARY tx gov submit-proposal consumer-addition proposal-add-$CONSUMER_CHAIN_ID.json --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM --from $WALLET_2 --keyring-backend test --home $HOME_1 --chain-id $CHAIN_ID -y -o json" -# elif [ $COSMOS_SDK == "v47" ]; then -# echo "Preparing proposal with v47 command..." -# proposal="$CHAIN_BINARY tx gov submit-legacy-proposal consumer-addition proposal-add-$CONSUMER_CHAIN_ID.json --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM --from $WALLET_2 --keyring-backend test --home $HOME_1 --chain-id $CHAIN_ID -y -o json" -# fi -# txhash=$($proposal | jq -r .txhash) -# # Wait for the proposal to go on chain -# sleep $(($COMMIT_TIMEOUT+2)) - -# # Get proposal ID from txhash -# echo "Getting proposal ID from txhash..." -# $CHAIN_BINARY q tx $txhash --home $HOME_1 -# proposal_id=$($CHAIN_BINARY q tx $txhash --home $HOME_1 --output json | jq -r '.logs[].events[] | select(.type=="submit_proposal") | .attributes[] | select(.key=="proposal_id") | .value') - -# echo "Voting on proposal $proposal_id..." -# $CHAIN_BINARY tx gov vote $proposal_id yes --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --fees $BASE_FEES$DENOM --from $WALLET_1 --keyring-backend test --home $HOME_1 --chain-id $CHAIN_ID -y -# sleep $(($COMMIT_TIMEOUT+2)) -# $CHAIN_BINARY q gov tally $proposal_id --home $HOME_1 - -# echo "Waiting for proposal to pass..." -# sleep $VOTING_PERIOD -# sleep $VOTING_PERIOD -#$CHAIN_BINARY q gov proposals --home $HOME_1 - $CHAIN_BINARY q provider list-consumer-chains --home $HOME_1 echo "Collecting the CCV state..." From 52fddf7d4270eb01b9fab7793daba37c4aaf1e7a Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 14:31:28 -0500 Subject: [PATCH 13/27] baseline 3b env vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 105 +----------------- 1 file changed, 1 insertion(+), 104 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 9f563515f..d7c77fc33 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -408,9 +408,7 @@ jobs: COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} # Consumer chain variables - DOWNTIME_BLOCKS: 10000 ICS_310: true - ICS_330: false CONSUMER_ICS: v3.1.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables @@ -760,121 +758,20 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 # Consumer chain variables - DOWNTIME_BLOCKS: 10000 RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false + ICS_310: true CONSUMER_ICS: v3.1.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables CONSUMER_DENOM: ucon CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - # RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} From fe9bad05dd30622925850528484bda59ad4b31da Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 14:51:01 -0500 Subject: [PATCH 14/27] baseline 3c vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 127 ------------------ 1 file changed, 127 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index d7c77fc33..54de90d8d 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -823,26 +823,13 @@ jobs: run: tests/v15_upgrade/setup_relayer.sh - name: Download consumer chain binaries run: | - wget $CONSUMER_CHAIN_V2_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY wget $CONSUMER_CHAIN_V310_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY -q chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY - wget $CONSUMER_CHAIN_V320_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY - wget $CONSUMER_CHAIN_V330_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY - wget $STRIDE_CON_CHAIN_BINARY_URL -O $HOME/go/bin/$STRIDE_CHAIN_BINARY -q - chmod +x $HOME/go/bin/$STRIDE_CHAIN_BINARY wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY - name: Consumer chain binary URLs run: | - echo "$CONSUMER_CHAIN_V12_BINARY runs off $CONSUMER_CHAIN_V12_BINARY_URL" - echo "$CONSUMER_CHAIN_V2_BINARY runs off $CONSUMER_CHAIN_V2_BINARY_URL" echo "$CONSUMER_CHAIN_V310_BINARY runs off $CONSUMER_CHAIN_V310_BINARY_URL" - echo "$CONSUMER_CHAIN_V320_BINARY runs off $CONSUMER_CHAIN_V320_BINARY_URL" - echo "$CONSUMER_CHAIN_V330_BINARY runs off $CONSUMER_CHAIN_V330_BINARY_URL" - echo "$STRIDE_BINARY runs off $STRIDE_CON_CHAIN_BINARY_URL" - name: Start chain env: START_VERSION: ${{matrix.gaia_version}} @@ -1119,121 +1106,20 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 # Consumer chain variables - DOWNTIME_BLOCKS: 10000 RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false ICS_310: false - ICS_330: false CONSUMER_ICS: v3.1.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables CONSUMER_DENOM: ucon CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - # RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -1285,26 +1171,13 @@ jobs: run: tests/v15_upgrade/setup_relayer.sh - name: Download consumer chain binaries run: | - wget $CONSUMER_CHAIN_V2_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY wget $CONSUMER_CHAIN_V310_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY -q chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY - wget $CONSUMER_CHAIN_V320_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY - wget $CONSUMER_CHAIN_V330_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY - wget $STRIDE_CON_CHAIN_BINARY_URL -O $HOME/go/bin/$STRIDE_CHAIN_BINARY -q - chmod +x $HOME/go/bin/$STRIDE_CHAIN_BINARY wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY - name: Consumer chain binary URLs run: | - echo "$CONSUMER_CHAIN_V12_BINARY runs off $CONSUMER_CHAIN_V12_BINARY_URL" - echo "$CONSUMER_CHAIN_V2_BINARY runs off $CONSUMER_CHAIN_V2_BINARY_URL" echo "$CONSUMER_CHAIN_V310_BINARY runs off $CONSUMER_CHAIN_V310_BINARY_URL" - echo "$CONSUMER_CHAIN_V320_BINARY runs off $CONSUMER_CHAIN_V320_BINARY_URL" - echo "$CONSUMER_CHAIN_V330_BINARY runs off $CONSUMER_CHAIN_V330_BINARY_URL" - echo "$STRIDE_BINARY runs off $STRIDE_CON_CHAIN_BINARY_URL" - name: Start chain env: START_VERSION: ${{matrix.gaia_version}} From 0fd75becb5dc4b505e967ba58fab313307e2764c Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 15:19:56 -0500 Subject: [PATCH 15/27] baseline 4 vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 117 +----------------- 1 file changed, 2 insertions(+), 115 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 54de90d8d..e715de8fc 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1456,121 +1456,20 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 # Consumer chain variables - DOWNTIME_BLOCKS: 10000 RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false ICS_330: false - CONSUMER_ICS: v3.1.0 + CONSUMER_ICS: v3.3.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables CONSUMER_DENOM: ucon CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - # RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" + ICS_TRANSFORM_BINARY: cd-transform steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -1622,24 +1521,12 @@ jobs: run: tests/v15_upgrade/setup_relayer.sh - name: Download consumer chain binaries run: | - wget $CONSUMER_CHAIN_V2_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY - wget $CONSUMER_CHAIN_V310_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY - wget $CONSUMER_CHAIN_V320_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY wget $CONSUMER_CHAIN_V330_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY -q chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY - wget $STRIDE_CON_CHAIN_BINARY_URL -O $HOME/go/bin/$STRIDE_CHAIN_BINARY -q - chmod +x $HOME/go/bin/$STRIDE_CHAIN_BINARY wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY - name: Consumer chain binary URLs run: | - echo "$CONSUMER_CHAIN_V12_BINARY runs off $CONSUMER_CHAIN_V12_BINARY_URL" - echo "$CONSUMER_CHAIN_V2_BINARY runs off $CONSUMER_CHAIN_V2_BINARY_URL" - echo "$CONSUMER_CHAIN_V310_BINARY runs off $CONSUMER_CHAIN_V310_BINARY_URL" - echo "$CONSUMER_CHAIN_V320_BINARY runs off $CONSUMER_CHAIN_V320_BINARY_URL" echo "$CONSUMER_CHAIN_V330_BINARY runs off $CONSUMER_CHAIN_V330_BINARY_URL" echo "$STRIDE_BINARY runs off $STRIDE_CON_CHAIN_BINARY_URL" - name: Start chain From 908dcaaa97dca8ec47a1884775115e8bd222d7b4 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 15:37:20 -0500 Subject: [PATCH 16/27] baseline 5 vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 112 ------------------ 1 file changed, 112 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index e715de8fc..e8b0b4474 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1806,120 +1806,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} From 0801ffb9b3f7282bef5571af401415aaf4ade7c8 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 15:45:12 -0500 Subject: [PATCH 17/27] baseline 6 vars --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 117 +----------------- 1 file changed, 1 insertion(+), 116 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index e8b0b4474..a5cbb4c32 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -2013,121 +2013,19 @@ jobs: ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 # Consumer chain variables - DOWNTIME_BLOCKS: 10000 RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 + CONSUMER_ICS: v3.2.0 PROVIDER_ICS: v2.4.0 # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - # RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -2179,25 +2077,12 @@ jobs: run: tests/v15_upgrade/setup_relayer.sh - name: Download consumer chain binaries run: | - wget $CONSUMER_CHAIN_V2_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V2_BINARY - wget $CONSUMER_CHAIN_V310_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V310_BINARY - wget $CONSUMER_CHAIN_V320_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V320_BINARY - wget $CONSUMER_CHAIN_V330_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY -q - chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V330_BINARY wget $STRIDE_V18_BINARY_URL -O $HOME/go/bin/$STRIDE_CHAIN_BINARY -q chmod +x $HOME/go/bin/$STRIDE_CHAIN_BINARY wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY - name: Consumer chain binary URLs run: | - echo "$CONSUMER_CHAIN_V12_BINARY runs off $CONSUMER_CHAIN_V12_BINARY_URL" - echo "$CONSUMER_CHAIN_V2_BINARY runs off $CONSUMER_CHAIN_V2_BINARY_URL" - echo "$CONSUMER_CHAIN_V310_BINARY runs off $CONSUMER_CHAIN_V310_BINARY_URL" - echo "$CONSUMER_CHAIN_V320_BINARY runs off $CONSUMER_CHAIN_V320_BINARY_URL" - echo "$CONSUMER_CHAIN_V330_BINARY runs off $CONSUMER_CHAIN_V330_BINARY_URL" echo "$STRIDE_BINARY runs off $STRIDE_V18_BINARY_URL" - name: Start chain env: From a5cf6c50535b816a852152f73e14603fe3200622 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 15:57:12 -0500 Subject: [PATCH 18/27] v15 tests --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 452 ------------------ tests/v15_upgrade/test_clawback.sh | 14 +- 2 files changed, 3 insertions(+), 463 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index a5cbb4c32..cf545a87b 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -2300,121 +2300,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -2511,121 +2398,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -2722,121 +2496,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -2933,121 +2594,8 @@ jobs: ${{ fromJSON(needs.set-version-matrix.outputs.upgrade_versions) }} fail-fast: false env: - COMMIT_TIMEOUT: 3 - COSMOVISOR: false COSMOVISOR_VERSION: ${{ matrix.cv_version }} UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} - # Provider chain variables - CHAIN_BINARY: gaiad - CHAIN_ID: testnet - DENOM: uatom - BASE_FEES: 2000 - HIGH_FEES: 10000 - GAS: auto - GAS_ADJUSTMENT: 2 - GAS_PRICE: 0.005 - VOTING_PERIOD: 10s - COSMOS_SDK: v45 - # Provider node variables - HOME_1: /home/runner/.val1 - HOME_2: /home/runner/.val2 - HOME_3: /home/runner/.val3 - PROVIDER_SERVICE_1: gaia1.service - PROVIDER_SERVICE_2: gaia2.service - PROVIDER_SERVICE_3: gaia3.service - MNEMONIC_1: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art - MNEMONIC_2: abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon cabbage abandon garage - MNEMONIC_3: abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon cash abandon earth - MNEMONIC_RELAYER: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_4: abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon property abandon success - MNEMONIC_5: abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon fame abandon claim - MONIKER_1: val1 - MONIKER_2: val2 - MONIKER_3: val3 - MONIKER_RELAYER: relayer - MONIKER_4: relayer - MONIKER_5: wallet5 - VALOPER_1: cosmosvaloper1r5v5srda7xfth3hn2s26txvrcrntldju7lnwmv - VALOPER_2: cosmosvaloper1ay4dpm0kjmvtpug28vgw5w32yyjxa5spq248vn - VALOPER_3: cosmosvaloper1v8zgdpzqfazvk6fgwhqqhzx0hfannrajukgdkc - WALLET_1: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - WALLET_2: cosmos1ay4dpm0kjmvtpug28vgw5w32yyjxa5sp97pjqq - WALLET_3: cosmos1v8zgdpzqfazvk6fgwhqqhzx0hfannrajezuc6t - WALLET_4: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - WALLET_RELAYER: cosmos1ty2qlurqsxj6sgs378hxmzyxh0ds8ukc70w844 - VAL1_STAKE: 800000000 - VAL2_STAKE: 200000000 - VAL3_STAKE: 10000000 - VAL_FUNDS: 11000000000 - VAL_STAKE: 1000000000 - VAL_STAKE_STEP: 1000000 - VAL1_API_PORT: 25001 - VAL2_API_PORT: 25002 - VAL3_API_PORT: 25003 - VAL1_GRPC_PORT: 26001 - VAL2_GRPC_PORT: 26002 - VAL3_GRPC_PORT: 26003 - VAL1_RPC_PORT: 27001 - VAL2_RPC_PORT: 27002 - VAL3_RPC_PORT: 27003 - VAL1_P2P_PORT: 28001 - VAL2_P2P_PORT: 28002 - VAL3_P2P_PORT: 28003 - VAL1_PPROF_PORT: 29001 - VAL2_PPROF_PORT: 29002 - VAL3_PPROF_PORT: 29003 - # Consumer chain variables - DOWNTIME_BLOCKS: 10000 - RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl - ICS_120: false - ICS_200: false - ICS_310: false - ICS_330: false - CONSUMER_ICS: v3.1.0 - PROVIDER_ICS: v2.4.0 - # Reference ICS chain variables - CONSUMER_DENOM: ucon - CONSUMER_FEES: 500 - CONSUMER_CHAIN_V12_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v1.2.0-multiden/interchain-security-cd-linux - CONSUMER_CHAIN_V12_BINARY: consumerd_v1.2.0 - CONSUMER_CHAIN_V2_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v2.0.0/interchain-security-cd-linux - CONSUMER_CHAIN_V2_BINARY: consumerd_v2.0.0 - CONSUMER_CHAIN_V310_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.1.0/interchain-security-cd-linux - CONSUMER_CHAIN_V310_BINARY: consumerd_v3.1.0 - CONSUMER_CHAIN_V320_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.2.0/interchain-security-cd-linux - CONSUMER_CHAIN_V320_BINARY: consumerd_v3.2.0 - CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux - CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 - STRIDE_V18_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-consumer-v18.0.0/strided-consumer-linux - ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform - # Sovereign-ICS chain variables - STRIDE_SOV_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v11.0.0/stride-v11.0.0-linux-amd64 - STRIDE_CON_CHAIN_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/stride-v12.1.0/stride-v12.1.0-linux-amd64 - STRIDE_CHAIN_BINARY: strided - STRIDE_CHAIN_ID: five - STRIDE_DENOM: ustrd - STRIDE_HOME_1: /home/runner/.stride1 - STRIDE_HOME_2: /home/runner/.stride2 - STRIDE_SERVICE_1: stride1.service - STRIDE_SERVICE_2: stride2.service - STRIDE_WALLET_1: stride1r5v5srda7xfth3hn2s26txvrcrntldjucq88rn - STRIDE_WALLET_LIQUID: stride17n3vkvg6lwf98p3kanlhlyjk6zkrfla9zrhma6 - STRIDE_API_1: 35001 - STRIDE_API_2: 35002 - STRIDE_GRPC_1: 36001 - STRIDE_GRPC_2: 36002 - STRIDE_RPC_1: 37001 - STRIDE_RPC_2: 37002 - STRIDE_P2P_1: 38001 - STRIDE_P2P_2: 38002 - STRIDE_PPROF_1: 39001 - STRIDE_PPROF_2: 39002 - CHANGEOVER_HEIGHT_OFFSET: false - # Relayer variables - RELAYER: hermes - HERMES_VERSION: v1.7.4 - RLY_VERSION: "2.4.2" CB_ACCT: cosmos145hytrc49m0hn6fphp8d5h4xspwkawcuzmx498 V_ACCT: cosmos1n7qdtcnagfvs8p4t537c5yn2dylw2e7l7a2htm VESTING_TARGET: "1720000000" diff --git a/tests/v15_upgrade/test_clawback.sh b/tests/v15_upgrade/test_clawback.sh index 444f157b9..a6e975383 100755 --- a/tests/v15_upgrade/test_clawback.sh +++ b/tests/v15_upgrade/test_clawback.sh @@ -23,20 +23,20 @@ if [ "$pre_upgrade_acc_type" != "/cosmos.vesting.v1beta1.ContinuousVestingAccoun exit 1 fi -echo "Post upgrade account type is: $post_upgrade_acc_type" +echo "Post upgrade account type is: $post_upgrade_acc2_type" if [ "$post_upgrade_acc_type" != "/cosmos.auth.v1beta1.BaseAccount" ]; then echo "Post upgrade account is not a base account" exit 2 fi # Check if account type matches -echo "Pre upgrade account2 type is: $pre_upgrade_acc_type" +echo "Pre upgrade account2 type is: $pre_upgrade_acc2_type" if [ "$pre_upgrade_acc2_type" != "/cosmos.vesting.v1beta1.ContinuousVestingAccount" ]; then echo "Pre upgrade account is not a vesting account" exit 3 fi -echo "Post upgrade account type is: $post_upgrade_acc_type" +echo "Post upgrade account2 type is: $post_upgrade_acc2_type" if [ "$post_upgrade_acc2_type" != "/cosmos.vesting.v1beta1.ContinuousVestingAccount" ]; then echo "Post upgrade account is not a vesting account, this account's type shouldn't change" exit 4 @@ -147,11 +147,3 @@ else echo "FAIL: Community pool did not increase by at least the unvested amount." exit 1 fi - -# if [ $(bc -l <<< "$post_upgrade_cp < 100000000") -eq 1 ] -# then -# echo "Community pool balance is less than 100000000uatom, funds did not returned from wallet" -# exit 7 -# else -# echo "Community pool balance is more than 100000000uatom, funds have been returned" -# fi \ No newline at end of file From 21bd4d2f4137c78f1d14d6124fc23bf2a23f3dac Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 19:58:11 -0500 Subject: [PATCH 19/27] launch ics v4 consumer chain --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 355 +++++++++++++++++- tests/major_fresh_upgrade/prepare_consumer.sh | 8 + tests/v15_upgrade/hermes-config.toml | 18 + tests/v15_upgrade/setup_relayer.sh | 10 + 4 files changed, 389 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index cf545a87b..577b60ade 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -82,6 +82,7 @@ env: ICS_200: false ICS_310: false ICS_330: false + ICS_400: false RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl # Reference ICS chain variables CONSUMER_DENOM: ucon @@ -1798,7 +1799,357 @@ jobs: - name: _Soft opt-out test> Validator must be unjailed run: tests/test_validator_jailed.sh $VALOPER_2 false - Baseline-5-pfm: + Baseline-5-icsv400: + runs-on: ubuntu-22.04 + needs: set-version-matrix-relayer + strategy: + matrix: + ${{ fromJSON(needs.set-version-matrix-relayer.outputs.upgrade_versions) }} + fail-fast: false + env: + COSMOVISOR_VERSION: ${{ matrix.cv_version }} + UPGRADE_MECHANISM: ${{ matrix.upgrade_mechanism }} + # Consumer chain variables + RECIPIENT: cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl + ICS_400: true + CONSUMER_ICS: v4.0.0 + PROVIDER_ICS: v2.4.0 + # Reference ICS chain variables + CONSUMER_DENOM: ucon + CONSUMER_FEES: 500 + CONSUMER_CHAIN_V400_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v4.0.0/interchain-security-cd-linux + CONSUMER_CHAIN_V400_BINARY: consumerd_v4.0.0 + ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd + ICS_TRANSFORM_BINARY: cd-transform + steps: + - name: start-version + run: echo ${{matrix.gaia_version}} + - name: target-version + run: echo ${{matrix.upgrade_version}} + - name: target-commit + if: ${{ matrix.upgrade_version == 'main' }} + run: | + BUILD_TAG=gaiad-linux-${{matrix.upgrade_version}} + TARGET_COMMIT=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/hyphacoop/cosmos-builds/releases/tags/$BUILD_TAG | jq -r '.name') + echo TARGET_COMMIT: $TARGET_COMMIT + - name: Update PATH + run: | + mkdir -p $HOME/go/bin + echo "$HOME/go/bin" >> $GITHUB_PATH + echo "$HOME/.hermes" >> $GITHUB_PATH + echo "$HOME/.relayer" >> $GITHUB_PATH + - name: Bypass the grub-efi-amd64-signed package + run: sudo apt-mark hold grub-efi-amd64-signed + - name: Check out repository code + uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.10' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install toml-cli + - name: Install Cosmovisor > v1.3.0 + if: ${{ (matrix.upgrade_mechanism == 'cv_manual' || matrix.upgrade_mechanism == 'cv_auto') && matrix.cv_version != 'v1.3.0' }} + run: | + go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@$COSMOVISOR_VERSION + echo "COSMOVISOR=true" >> $GITHUB_ENV + echo "$HOME_1/cosmovisor/current/bin" >> $GITHUB_PATH + - name: Install Cosmovisor v1.3.0 + if: ${{ (matrix.upgrade_mechanism == 'cv_manual' || matrix.upgrade_mechanism == 'cv_auto') && matrix.cv_version == 'v1.3.0' }} + run: | + go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@$COSMOVISOR_VERSION + echo "COSMOVISOR=true" >> $GITHUB_ENV + echo "$HOME_1/cosmovisor/current/bin" >> $GITHUB_PATH + - name: Select Hermes + if: ${{ matrix.relayer == 'hermes' }} + run: echo "RELAYER=hermes" >> $GITHUB_ENV + - name: Select Go Relayer + if: ${{ matrix.relayer == 'rly' }} + run: echo "RELAYER=rly" >> $GITHUB_ENV + - name: Set up relayer + run: tests/v15_upgrade/setup_relayer.sh + - name: Download consumer chain binaries + run: | + wget $CONSUMER_CHAIN_V400_BINARY_URL -O $HOME/go/bin/$CONSUMER_CHAIN_V400_BINARY -q + chmod +x $HOME/go/bin/$CONSUMER_CHAIN_V400_BINARY + wget $ICS_TRANSFORM_BINARY_URL -O $HOME/go/bin/$ICS_TRANSFORM_BINARY -q + chmod +x $HOME/go/bin/$ICS_TRANSFORM_BINARY + - name: Consumer chain binary URLs + run: | + echo "$CONSUMER_CHAIN_V400_BINARY runs off $CONSUMER_CHAIN_V400_BINARY_URL" + - name: Start chain + env: + START_VERSION: ${{matrix.gaia_version}} + run: | + export CHAIN_BINARY_URL=https://github.com/cosmos/gaia/releases/download/$START_VERSION/gaiad-$START_VERSION-linux-amd64 + tests/major_fresh_upgrade/start_chain.sh + - name: Check Gaia log + run: sudo journalctl -u $PROVIDER_SERVICE_1 + - name: Print Gaia version + run: $CHAIN_BINARY version --long + - name: Block production check + run: tests/test_block_production.sh 127.0.0.1 $VAL1_RPC_PORT 5 # 5 blocks + + - name: Add consumer chain with ICS v4.0.0 + env: + COSMOS_SDK: v45 + CONSUMER_CHAIN_ID: nine-v400 + run: | + tests/major_fresh_upgrade/add_consumer.sh + - name: Initialize consumer chain with ICS v4.0.0 + env: + CONSUMER_CHAIN_ID: nine-v400 + CONSUMER_HOME_1: /home/runner/.nine_1 + CONSUMER_HOME_2: /home/runner/.nine_2 + CONSUMER_HOME_3: /home/runner/.nine_3 + CONSUMER_SERVICE_1: nine_1.service + CONSUMER_SERVICE_2: nine_2.service + CONSUMER_SERVICE_3: nine_3.service + CON1_API_PORT: 25901 + CON2_API_PORT: 25902 + CON3_API_PORT: 25903 + CON1_GRPC_PORT: 26901 + CON2_GRPC_PORT: 26902 + CON3_GRPC_PORT: 26903 + CON1_RPC_PORT: 27901 + CON2_RPC_PORT: 27902 + CON3_RPC_PORT: 27903 + CON1_P2P_PORT: 28901 + CON2_P2P_PORT: 28902 + CON3_P2P_PORT: 28903 + CON1_PPROF_PORT: 29901 + CON2_PPROF_PORT: 29902 + CON3_PPROF_PORT: 29903 + DOWNTIME_BLOCKS: 100000 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + tests/major_fresh_upgrade/init_consumer_assign_keys.sh + sleep 20 + - name: Prepare consumer chain nine-v400 + env: + CONSUMER_CHAIN_ID: nine-v400 + CONSUMER_HOME_1: /home/runner/.nine_1 + CONSUMER_HOME_2: /home/runner/.nine_2 + CONSUMER_HOME_3: /home/runner/.nine_3 + ICS_400: true + CONSUMER_ICS: v4.0.0 + PROVIDER_ICS: v2.4.0 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + tests/major_fresh_upgrade/prepare_consumer.sh + - name: Start consumer chain nine-v400 + env: + CONSUMER_CHAIN_ID: nine-v400 + CONSUMER_SERVICE_1: nine_1.service + CONSUMER_SERVICE_2: nine_2.service + CONSUMER_SERVICE_3: nine_3.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_1 --now + sleep 5 + journalctl -u $CONSUMER_SERVICE_1 + - name: _Pre-upgrade consumer chain produces blocks> ICS v4.0.0 chain 1 + env: + CON1_RPC_PORT: 27901 + run: tests/test_block_production.sh 127.0.0.1 $CON1_RPC_PORT 5 + - name: Establish CCV channel for nine-v400 + env: + CONSUMER_CHAIN_ID: nine-v400 + run: | + client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + if [ $RELAYER == "hermes" ]; then + echo "Creating channel with Hermes..." + hermes create connection --a-chain $CONSUMER_CHAIN_ID --a-client 07-tendermint-0 --b-client $client_id + hermes create channel --a-chain $CONSUMER_CHAIN_ID --a-port consumer --b-port provider --order ordered --a-connection connection-0 --channel-version 1 + elif [ $RELAYER == "rly" ]; then + echo "Creating channel with Go relayer..." + jq --arg CHAIN "$CONSUMER_CHAIN_ID" '.src."chain-id" = $CHAIN' tests/v15_upgrade/rly-path-template.json > nine-1.json + jq --arg CLIENT "$client_id" '.dst."client-id" = $CLIENT' nine-1.json > nine-2.json + rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID four --file nine-2.json + rly transact connection nine + rly transact channel nine --src-port consumer --dst-port provider --order ordered --version 1 + fi + sudo systemctl restart $RELAYER + sleep 10 + - name: _Pre-upgrade CCV channel verified> ICS v4.0.0 chain 1 + env: + CONSUMER_HOME_1: /home/runner/.nine_1 + CON1_RPC_PORT: 27901 + run: tests/major_fresh_upgrade/test_ccv_key_assignment.sh + - name: _Pre-upgrade IBC transfer successful> ICS v4.0.0 chain 1 + env: + CONSUMER_CHAIN_ID: nine-v400 + CONSUMER_HOME_1: /home/runner/.nine_1 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') + channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') + tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + + - name: Test software upgrade for published releases + if: ${{ matrix.upgrade_version != 'main' }} + env: + DOWNLOAD_URL: https://github.com/cosmos/gaia/releases/download/${{ matrix.upgrade_version }}/gaiad-${{ matrix.upgrade_version }}-linux-amd64 + run: | + echo $DOWNLOAD_URL + tests/major_fresh_upgrade/software_upgrade.sh 127.0.0.1 $VAL1_RPC_PORT v15 + - name: Test software upgrade for main branch + if: ${{ matrix.upgrade_version == 'main' }} + env: + DOWNLOAD_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/gaiad-linux-main/gaiad-linux + run: | + tests/major_fresh_upgrade/software_upgrade.sh 127.0.0.1 $VAL1_RPC_PORT v15 + + - name: _Blocks produced after upgrade + run: | + tests/test_block_production.sh 127.0.0.1 $VAL1_RPC_PORT 10 + + - name: Restart relayer + run: sudo systemctl restart $RELAYER + + - name: Flush "migration successful" lines + run: | + $CHAIN_BINARY keys list --home $HOME_1 + + - name: _CCV channel verified> ICS v4.0.0 chain 1 + env: + CONSUMER_HOME_1: /home/runner/.nine_1 + CON1_RPC_PORT: 27901 + run: tests/major_fresh_upgrade/test_ccv_key_assignment.sh + - name: _IBC transfer successful> ICS v4.0.0 chain 1 + env: + CONSUMER_CHAIN_ID: nine-v400 + CONSUMER_HOME_1: /home/runner/.nine_1 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') + channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') + tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + + # - name: Add consumer chain with ICS v3.3.0 + # env: + # COSMOS_SDK: v47 + # CONSUMER_CHAIN_ID: eight-v330 + # run: | + # tests/major_fresh_upgrade/add_consumer.sh + # - name: Initialize consumer chain with ICS v3.3.0 + # env: + # CONSUMER_CHAIN_ID: eight-v330 + # CONSUMER_HOME_1: /home/runner/.eight_1 + # CONSUMER_HOME_2: /home/runner/.eight_2 + # CONSUMER_HOME_3: /home/runner/.eight_3 + # CONSUMER_SERVICE_1: eight_1.service + # CONSUMER_SERVICE_2: eight_2.service + # CONSUMER_SERVICE_3: eight_3.service + # CON1_API_PORT: 25801 + # CON2_API_PORT: 25802 + # CON3_API_PORT: 25803 + # CON1_GRPC_PORT: 26801 + # CON2_GRPC_PORT: 26802 + # CON3_GRPC_PORT: 26803 + # CON1_RPC_PORT: 27801 + # CON2_RPC_PORT: 27802 + # CON3_RPC_PORT: 27803 + # CON1_P2P_PORT: 28801 + # CON2_P2P_PORT: 28802 + # CON3_P2P_PORT: 28803 + # CON1_PPROF_PORT: 29801 + # CON2_PPROF_PORT: 29802 + # CON3_PPROF_PORT: 29803 + # DOWNTIME_BLOCKS: 20 + # run: | + # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY + # tests/major_fresh_upgrade/init_consumer_assign_keys.sh + # sleep 20 + # - name: Prepare consumer chain eight-v330 + # env: + # CONSUMER_CHAIN_ID: eight-v330 + # CONSUMER_HOME_1: /home/runner/.eight_1 + # CONSUMER_HOME_2: /home/runner/.eight_2 + # CONSUMER_HOME_3: /home/runner/.eight_3 + # ICS_330: true + # CONSUMER_ICS: v3.3.0 + # PROVIDER_ICS: v3.3.0 + # run: | + # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY + # tests/major_fresh_upgrade/prepare_consumer.sh + # - name: Start consumer chain eight-v330 + # env: + # CONSUMER_CHAIN_ID: eight-v330 + # CONSUMER_SERVICE_1: eight_1.service + # CONSUMER_SERVICE_2: eight_2.service + # CONSUMER_SERVICE_3: eight_3.service + # run: | + # sudo systemctl enable $CONSUMER_SERVICE_1 --now + # sleep 5 + # journalctl -u $CONSUMER_SERVICE_1 + # - name: _Consumer chain produces blocks> ICS v3.3.0 chain 2 + # env: + # CON1_RPC_PORT: 27801 + # run: tests/test_block_production.sh 127.0.0.1 $CON1_RPC_PORT 5 + # - name: Establish CCV channel for eight-v330 + # env: + # CONSUMER_CHAIN_ID: eight-v330 + # run: | + # client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + # if [ $RELAYER == "hermes" ]; then + # echo "Creating channel with Hermes..." + # hermes create connection --a-chain $CONSUMER_CHAIN_ID --a-client 07-tendermint-0 --b-client $client_id + # hermes create channel --a-chain $CONSUMER_CHAIN_ID --a-port consumer --b-port provider --order ordered --a-connection connection-0 --channel-version 1 + # elif [ $RELAYER == "rly" ]; then + # echo "Creating channel with Go relayer..." + # jq --arg CHAIN "$CONSUMER_CHAIN_ID" '.src."chain-id" = $CHAIN' tests/v15_upgrade/rly-path-template.json > eight-1.json + # jq --arg CLIENT "$client_id" '.dst."client-id" = $CLIENT' eight-1.json > eight-2.json + # rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID eight --file eight-2.json + # rly transact connection eight + # rly transact channel eight --src-port consumer --dst-port provider --order ordered --version 1 + # fi + # sudo systemctl restart $RELAYER + # sleep 10 + # - name: _CCV channel verified> ICS v3.3.0 chain 2 + # env: + # CONSUMER_HOME_1: /home/runner/.eight_1 + # CON1_RPC_PORT: 27801 + # run: tests/major_fresh_upgrade/test_ccv_key_assignment.sh + # - name: _IBC transfer successful> ICS v3.3.0 chain 2 + # env: + # CONSUMER_CHAIN_ID: eight-v330 + # CONSUMER_HOME_1: /home/runner/.eight_1 + # run: | + # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY + # client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + # connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') + # channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') + # tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + + # - name: Stop validator services + # env: + # CONSUMER_SERVICE_2: eight_2.service + # CONSUMER_SERVICE_3: eight_3.service + # run: | + # sudo systemctl disable $CONSUMER_SERVICE_2 --now + # sudo systemctl disable $CONSUMER_SERVICE_3 --now + # sleep $(($COMMIT_TIMEOUT*30)) + # - name: _Soft opt-out test> Validator must be jailed - 1 + # run: tests/test_validator_jailed.sh $VALOPER_2 true + # - name: _Soft opt-out test> Validator must not be jailed + # run: tests/test_validator_jailed.sh $VALOPER_3 false + # - name: Unjail validator + # env: + # CONSUMER_SERVICE_2: eight_2.service + # run: | + # sudo systemctl enable $CONSUMER_SERVICE_2 --now + # sleep $(($COMMIT_TIMEOUT*10)) + # $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + # sleep $(($COMMIT_TIMEOUT*2)) + # - name: _Soft opt-out test> Validator must be unjailed + # run: tests/test_validator_jailed.sh $VALOPER_2 false + + + Baseline-6-pfm: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer strategy: @@ -2005,7 +2356,7 @@ jobs: run: | tests/major_fresh_upgrade/test_pfm_transfers.sh - Baseline-6-lsm: + Baseline-7-lsm: runs-on: ubuntu-22.04 needs: set-version-matrix-relayer strategy: diff --git a/tests/major_fresh_upgrade/prepare_consumer.sh b/tests/major_fresh_upgrade/prepare_consumer.sh index d7468c9a8..8a6e70f50 100755 --- a/tests/major_fresh_upgrade/prepare_consumer.sh +++ b/tests/major_fresh_upgrade/prepare_consumer.sh @@ -48,6 +48,14 @@ if [ "$CONSUMER_ICS" == "v3.3.0" ]; then fi fi +if [ "$CONSUMER_ICS" == "v4.0.0" ]; then + if [ "$PROVIDER_ICS" != "v4.0.0" ]; then + echo "Patching for ICS v4.0.0 consumer" + $CONSUMER_CHAIN_BINARY genesis transform ccv.json > ccv-400-1.json + cp ccv-400-1.json ccv.json + fi +fi + echo "Patching the consumer genesis file..." jq -s '.[0].app_state.ccvconsumer = .[1] | .[0]' $CONSUMER_HOME_1/config/genesis.json ccv.json > consumer-genesis.json cp consumer-genesis.json $CONSUMER_HOME_1/config/genesis.json diff --git a/tests/v15_upgrade/hermes-config.toml b/tests/v15_upgrade/hermes-config.toml index 8a7b823c4..14c7b9682 100644 --- a/tests/v15_upgrade/hermes-config.toml +++ b/tests/v15_upgrade/hermes-config.toml @@ -169,6 +169,24 @@ trust_threshold = { numerator = '1', denominator = '3' } ccv_consumer_chain = true type = "CosmosSdk" +[[chains]] +id = 'nine-v400' +rpc_addr = 'http://localhost:27901' +grpc_addr = 'http://localhost:26901' +event_source = { mode = 'push', url = 'ws://localhost:27901/websocket', batch_delay = '500ms' } +rpc_timeout = '15s' +account_prefix = 'consumer' +key_name = 'wallet' +store_prefix = 'ibc' +gas_price = { price = 0.0025, denom = 'ucon' } +gas_multiplier = 1.2 +max_gas = 10000000 +clock_drift = '10s' +trusting_period = '5days' +trust_threshold = { numerator = '1', denominator = '3' } +ccv_consumer_chain = true +type = "CosmosSdk" + [[chains]] id = 'testnet' rpc_addr = 'http://localhost:27001' diff --git a/tests/v15_upgrade/setup_relayer.sh b/tests/v15_upgrade/setup_relayer.sh index 71be6b717..806dae7e2 100755 --- a/tests/v15_upgrade/setup_relayer.sh +++ b/tests/v15_upgrade/setup_relayer.sh @@ -24,6 +24,7 @@ if [ $RELAYER == "hermes" ]; then hermes keys add --chain six-v310 --mnemonic-file mnemonic.txt hermes keys add --chain seven-v320 --mnemonic-file mnemonic.txt hermes keys add --chain eight-v330 --mnemonic-file mnemonic.txt + hermes keys add --chain nine-v400 --mnemonic-file mnemonic.txt hermes keys add --chain pfm1 --mnemonic-file mnemonic.txt hermes keys add --chain pfm2 --mnemonic-file mnemonic.txt hermes keys add --chain pfm3 --mnemonic-file mnemonic.txt @@ -87,6 +88,14 @@ elif [ $RELAYER == "rly" ]; then cat eight-v330.json rly chains add --file eight-v330.json + # nine + jq '.value."chain-id" = "nine-v400"' tests/v15_upgrade/testnet.json > nine-1.json + jq '.value."rpc-addr" = "http://localhost:27901"' nine-1.json > nine-2.json + jq '.value."account-prefix" = "consumer"' nine-2.json > nine-3.json + jq '.value."gas-prices" = "0.005ucon"' nine-3.json > nine-v400.json + cat nine-v400.json + rly chains add --file nine-v400.json + # pfm-1 jq '.value."chain-id" = "pfm1"' tests/v15_upgrade/testnet.json > p.json jq '.value."rpc-addr" = "http://localhost:27011"' p.json > pf.json @@ -115,6 +124,7 @@ elif [ $RELAYER == "rly" ]; then rly keys restore five default "$MNEMONIC_RELAYER" rly keys restore six-v310 default "$MNEMONIC_RELAYER" rly keys restore eight-v330 default "$MNEMONIC_RELAYER" + rly keys restore nine-v400 default "$MNEMONIC_RELAYER" rly keys restore pfm1 default "$MNEMONIC_RELAYER" rly keys restore pfm2 default "$MNEMONIC_RELAYER" rly keys restore pfm3 default "$MNEMONIC_RELAYER" From 9d3aa5b889264eed9d6e736adb77df49350dc4e1 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 20:03:52 -0500 Subject: [PATCH 20/27] v4.0.0 consumer chain --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 577b60ade..33def04f8 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1966,7 +1966,7 @@ jobs: echo "Creating channel with Go relayer..." jq --arg CHAIN "$CONSUMER_CHAIN_ID" '.src."chain-id" = $CHAIN' tests/v15_upgrade/rly-path-template.json > nine-1.json jq --arg CLIENT "$client_id" '.dst."client-id" = $CLIENT' nine-1.json > nine-2.json - rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID four --file nine-2.json + rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID nine --file nine-2.json rly transact connection nine rly transact channel nine --src-port consumer --dst-port provider --order ordered --version 1 fi From 9d32c5f6886f25a134d26e98955362579db33a2d Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 20:09:07 -0500 Subject: [PATCH 21/27] ics v4 bech32 prefix --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 33def04f8..0bb75496f 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1981,6 +1981,7 @@ jobs: env: CONSUMER_CHAIN_ID: nine-v400 CONSUMER_HOME_1: /home/runner/.nine_1 + RECIPIENT: consumer1r5v5srda7xfth3hn2s26txvrcrntldju7725yc run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') From d38a0552ffcb9c7d017b46b43a995105dbf73378 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 20:26:04 -0500 Subject: [PATCH 22/27] print recipient address --- tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh b/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh index 947728db3..db8eeee8d 100755 --- a/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh +++ b/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh @@ -11,6 +11,8 @@ echo "expected denom in consumer: $consumer_expected_denom" $CHAIN_BINARY q ibc channel channels --home $HOME_1 -o json | jq '.' +echo "RECIPIENT: $RECIPIENT" +echo "Consumer version: $($CONSUMER_CHAIN_BINARY version)" $CONSUMER_CHAIN_BINARY --home $CONSUMER_HOME_1 q bank balances $RECIPIENT consumer_start_balance=$($CONSUMER_CHAIN_BINARY --home $CONSUMER_HOME_1 q bank balances $RECIPIENT -o json | jq -r --arg DENOM "$consumer_expected_denom" '.balances[] | select(.denom==$DENOM).amount') if [ -z "$consumer_start_balance" ]; then From 0e8aad46c507cdfb1e7aa912270d0a6a252a229f Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 20:39:21 -0500 Subject: [PATCH 23/27] v4.0.0 consumer post-upgrade --- .../workflows/test-gaia-v15-fresh-upgrade.yml | 236 +++++++++--------- .../test_consumer_ibc_transfer.sh | 4 - tests/v15_upgrade/hermes-config.toml | 18 ++ tests/v15_upgrade/setup_relayer.sh | 10 + 4 files changed, 147 insertions(+), 121 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index 0bb75496f..c1a886945 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -2023,6 +2023,7 @@ jobs: env: CONSUMER_CHAIN_ID: nine-v400 CONSUMER_HOME_1: /home/runner/.nine_1 + RECIPIENT: consumer1r5v5srda7xfth3hn2s26txvrcrntldju7725yc run: | export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') @@ -2030,124 +2031,125 @@ jobs: channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id - # - name: Add consumer chain with ICS v3.3.0 - # env: - # COSMOS_SDK: v47 - # CONSUMER_CHAIN_ID: eight-v330 - # run: | - # tests/major_fresh_upgrade/add_consumer.sh - # - name: Initialize consumer chain with ICS v3.3.0 - # env: - # CONSUMER_CHAIN_ID: eight-v330 - # CONSUMER_HOME_1: /home/runner/.eight_1 - # CONSUMER_HOME_2: /home/runner/.eight_2 - # CONSUMER_HOME_3: /home/runner/.eight_3 - # CONSUMER_SERVICE_1: eight_1.service - # CONSUMER_SERVICE_2: eight_2.service - # CONSUMER_SERVICE_3: eight_3.service - # CON1_API_PORT: 25801 - # CON2_API_PORT: 25802 - # CON3_API_PORT: 25803 - # CON1_GRPC_PORT: 26801 - # CON2_GRPC_PORT: 26802 - # CON3_GRPC_PORT: 26803 - # CON1_RPC_PORT: 27801 - # CON2_RPC_PORT: 27802 - # CON3_RPC_PORT: 27803 - # CON1_P2P_PORT: 28801 - # CON2_P2P_PORT: 28802 - # CON3_P2P_PORT: 28803 - # CON1_PPROF_PORT: 29801 - # CON2_PPROF_PORT: 29802 - # CON3_PPROF_PORT: 29803 - # DOWNTIME_BLOCKS: 20 - # run: | - # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY - # tests/major_fresh_upgrade/init_consumer_assign_keys.sh - # sleep 20 - # - name: Prepare consumer chain eight-v330 - # env: - # CONSUMER_CHAIN_ID: eight-v330 - # CONSUMER_HOME_1: /home/runner/.eight_1 - # CONSUMER_HOME_2: /home/runner/.eight_2 - # CONSUMER_HOME_3: /home/runner/.eight_3 - # ICS_330: true - # CONSUMER_ICS: v3.3.0 - # PROVIDER_ICS: v3.3.0 - # run: | - # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY - # tests/major_fresh_upgrade/prepare_consumer.sh - # - name: Start consumer chain eight-v330 - # env: - # CONSUMER_CHAIN_ID: eight-v330 - # CONSUMER_SERVICE_1: eight_1.service - # CONSUMER_SERVICE_2: eight_2.service - # CONSUMER_SERVICE_3: eight_3.service - # run: | - # sudo systemctl enable $CONSUMER_SERVICE_1 --now - # sleep 5 - # journalctl -u $CONSUMER_SERVICE_1 - # - name: _Consumer chain produces blocks> ICS v3.3.0 chain 2 - # env: - # CON1_RPC_PORT: 27801 - # run: tests/test_block_production.sh 127.0.0.1 $CON1_RPC_PORT 5 - # - name: Establish CCV channel for eight-v330 - # env: - # CONSUMER_CHAIN_ID: eight-v330 - # run: | - # client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') - # if [ $RELAYER == "hermes" ]; then - # echo "Creating channel with Hermes..." - # hermes create connection --a-chain $CONSUMER_CHAIN_ID --a-client 07-tendermint-0 --b-client $client_id - # hermes create channel --a-chain $CONSUMER_CHAIN_ID --a-port consumer --b-port provider --order ordered --a-connection connection-0 --channel-version 1 - # elif [ $RELAYER == "rly" ]; then - # echo "Creating channel with Go relayer..." - # jq --arg CHAIN "$CONSUMER_CHAIN_ID" '.src."chain-id" = $CHAIN' tests/v15_upgrade/rly-path-template.json > eight-1.json - # jq --arg CLIENT "$client_id" '.dst."client-id" = $CLIENT' eight-1.json > eight-2.json - # rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID eight --file eight-2.json - # rly transact connection eight - # rly transact channel eight --src-port consumer --dst-port provider --order ordered --version 1 - # fi - # sudo systemctl restart $RELAYER - # sleep 10 - # - name: _CCV channel verified> ICS v3.3.0 chain 2 - # env: - # CONSUMER_HOME_1: /home/runner/.eight_1 - # CON1_RPC_PORT: 27801 - # run: tests/major_fresh_upgrade/test_ccv_key_assignment.sh - # - name: _IBC transfer successful> ICS v3.3.0 chain 2 - # env: - # CONSUMER_CHAIN_ID: eight-v330 - # CONSUMER_HOME_1: /home/runner/.eight_1 - # run: | - # export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V330_BINARY - # client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') - # connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') - # channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') - # tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id + - name: Add consumer chain with ICS v4.0.0 + env: + COSMOS_SDK: v47 + CONSUMER_CHAIN_ID: ten-v400 + run: | + tests/major_fresh_upgrade/add_consumer.sh + - name: Initialize consumer chain with ICS v4.0.0 + env: + CONSUMER_CHAIN_ID: ten-v400 + CONSUMER_HOME_1: /home/runner/.ten_1 + CONSUMER_HOME_2: /home/runner/.ten_2 + CONSUMER_HOME_3: /home/runner/.ten_3 + CONSUMER_SERVICE_1: ten_1.service + CONSUMER_SERVICE_2: ten_2.service + CONSUMER_SERVICE_3: ten_3.service + CON1_API_PORT: 45901 + CON2_API_PORT: 45902 + CON3_API_PORT: 45903 + CON1_GRPC_PORT: 46901 + CON2_GRPC_PORT: 46902 + CON3_GRPC_PORT: 46903 + CON1_RPC_PORT: 47901 + CON2_RPC_PORT: 47902 + CON3_RPC_PORT: 47903 + CON1_P2P_PORT: 48901 + CON2_P2P_PORT: 48902 + CON3_P2P_PORT: 48903 + CON1_PPROF_PORT: 49901 + CON2_PPROF_PORT: 49902 + CON3_PPROF_PORT: 49903 + DOWNTIME_BLOCKS: 20 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + tests/major_fresh_upgrade/init_consumer_assign_keys.sh + sleep 20 + - name: Prepare consumer chain ten-v400 + env: + CONSUMER_CHAIN_ID: ten-v400 + CONSUMER_HOME_1: /home/runner/.ten_1 + CONSUMER_HOME_2: /home/runner/.ten_2 + CONSUMER_HOME_3: /home/runner/.ten_3 + ICS_400: true + CONSUMER_ICS: v4.0.0 + PROVIDER_ICS: v3.3.0 + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + tests/major_fresh_upgrade/prepare_consumer.sh + - name: Start consumer chain ten-v400 + env: + CONSUMER_CHAIN_ID: eight-v330 + CONSUMER_SERVICE_1: ten_1.service + CONSUMER_SERVICE_2: ten_2.service + CONSUMER_SERVICE_3: ten_3.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_1 --now + sleep 5 + journalctl -u $CONSUMER_SERVICE_1 + - name: _Consumer chain produces blocks> ICS v4.0.0 chain 2 + env: + CON1_RPC_PORT: 47901 + run: tests/test_block_production.sh 127.0.0.1 $CON1_RPC_PORT 5 + - name: Establish CCV channel for ten-v400 + env: + CONSUMER_CHAIN_ID: ten-v400 + run: | + client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + if [ $RELAYER == "hermes" ]; then + echo "Creating channel with Hermes..." + hermes create connection --a-chain $CONSUMER_CHAIN_ID --a-client 07-tendermint-0 --b-client $client_id + hermes create channel --a-chain $CONSUMER_CHAIN_ID --a-port consumer --b-port provider --order ordered --a-connection connection-0 --channel-version 1 + elif [ $RELAYER == "rly" ]; then + echo "Creating channel with Go relayer..." + jq --arg CHAIN "$CONSUMER_CHAIN_ID" '.src."chain-id" = $CHAIN' tests/v15_upgrade/rly-path-template.json > ten-1.json + jq --arg CLIENT "$client_id" '.dst."client-id" = $CLIENT' ten-1.json > ten-2.json + rly paths add $CHAIN_ID $CONSUMER_CHAIN_ID ten --file ten-2.json + rly transact connection ten + rly transact channel ten --src-port consumer --dst-port provider --order ordered --version 1 + fi + sudo systemctl restart $RELAYER + sleep 10 + - name: _CCV channel verified> ICS v4.0.0 chain 2 + env: + CONSUMER_HOME_1: /home/runner/.ten_1 + CON1_RPC_PORT: 47901 + run: tests/major_fresh_upgrade/test_ccv_key_assignment.sh + - name: _IBC transfer successful> ICS v4.0.0 chain 2 + env: + CONSUMER_CHAIN_ID: ten-v400 + CONSUMER_HOME_1: /home/runner/.ten_1 + RECIPIENT: consumer1r5v5srda7xfth3hn2s26txvrcrntldju7725yc + run: | + export CONSUMER_CHAIN_BINARY=$CONSUMER_CHAIN_V400_BINARY + client_id=$($CHAIN_BINARY q provider list-consumer-chains -o json --home $HOME_1 | jq -r --arg chain "$CONSUMER_CHAIN_ID" '.chains[] | select(.chain_id==$chain).client_id') + connection_id=$($CHAIN_BINARY q ibc connection connections -o json --home $HOME_1 | jq -r --arg client "$client_id" '.connections[] | select(.client_id==$client).id') + channel_id=$($CHAIN_BINARY q ibc channel connections $connection_id -o json --home $HOME_1 | jq -r '.channels[] | select(.port_id=="transfer").channel_id') + tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh $channel_id - # - name: Stop validator services - # env: - # CONSUMER_SERVICE_2: eight_2.service - # CONSUMER_SERVICE_3: eight_3.service - # run: | - # sudo systemctl disable $CONSUMER_SERVICE_2 --now - # sudo systemctl disable $CONSUMER_SERVICE_3 --now - # sleep $(($COMMIT_TIMEOUT*30)) - # - name: _Soft opt-out test> Validator must be jailed - 1 - # run: tests/test_validator_jailed.sh $VALOPER_2 true - # - name: _Soft opt-out test> Validator must not be jailed - # run: tests/test_validator_jailed.sh $VALOPER_3 false - # - name: Unjail validator - # env: - # CONSUMER_SERVICE_2: eight_2.service - # run: | - # sudo systemctl enable $CONSUMER_SERVICE_2 --now - # sleep $(($COMMIT_TIMEOUT*10)) - # $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 - # sleep $(($COMMIT_TIMEOUT*2)) - # - name: _Soft opt-out test> Validator must be unjailed - # run: tests/test_validator_jailed.sh $VALOPER_2 false + - name: Stop validator services + env: + CONSUMER_SERVICE_2: ten_2.service + CONSUMER_SERVICE_3: ten_3.service + run: | + sudo systemctl disable $CONSUMER_SERVICE_2 --now + sudo systemctl disable $CONSUMER_SERVICE_3 --now + sleep $(($COMMIT_TIMEOUT*30)) + - name: _Soft opt-out test> Validator must be jailed - 1 + run: tests/test_validator_jailed.sh $VALOPER_2 true + - name: _Soft opt-out test> Validator must not be jailed + run: tests/test_validator_jailed.sh $VALOPER_3 false + - name: Unjail validator + env: + CONSUMER_SERVICE_2: ten_2.service + run: | + sudo systemctl enable $CONSUMER_SERVICE_2 --now + sleep $(($COMMIT_TIMEOUT*10)) + $CHAIN_BINARY tx slashing unjail --from $WALLET_2 --gas $GAS --gas-adjustment $GAS_ADJUSTMENT --gas-prices $GAS_PRICE$DENOM -y --home $HOME_1 + sleep $(($COMMIT_TIMEOUT*2)) + - name: _Soft opt-out test> Validator must be unjailed + run: tests/test_validator_jailed.sh $VALOPER_2 false Baseline-6-pfm: diff --git a/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh b/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh index db8eeee8d..b3461df39 100755 --- a/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh +++ b/tests/major_fresh_upgrade/test_consumer_ibc_transfer.sh @@ -11,8 +11,6 @@ echo "expected denom in consumer: $consumer_expected_denom" $CHAIN_BINARY q ibc channel channels --home $HOME_1 -o json | jq '.' -echo "RECIPIENT: $RECIPIENT" -echo "Consumer version: $($CONSUMER_CHAIN_BINARY version)" $CONSUMER_CHAIN_BINARY --home $CONSUMER_HOME_1 q bank balances $RECIPIENT consumer_start_balance=$($CONSUMER_CHAIN_BINARY --home $CONSUMER_HOME_1 q bank balances $RECIPIENT -o json | jq -r --arg DENOM "$consumer_expected_denom" '.balances[] | select(.denom==$DENOM).amount') if [ -z "$consumer_start_balance" ]; then @@ -66,8 +64,6 @@ if [ -z "$provider_end_balance" ]; then provider_end_balance=0 fi echo "Provider ending balance in expected denom: $provider_end_balance" -journalctl -u $RELAYER | tail -n 100 - if [ $provider_end_balance -gt $provider_start_balance ]; then echo "Provider balance has increased!" diff --git a/tests/v15_upgrade/hermes-config.toml b/tests/v15_upgrade/hermes-config.toml index 14c7b9682..c58c28c32 100644 --- a/tests/v15_upgrade/hermes-config.toml +++ b/tests/v15_upgrade/hermes-config.toml @@ -187,6 +187,24 @@ trust_threshold = { numerator = '1', denominator = '3' } ccv_consumer_chain = true type = "CosmosSdk" +[[chains]] +id = 'ten-v400' +rpc_addr = 'http://localhost:47901' +grpc_addr = 'http://localhost:46901' +event_source = { mode = 'push', url = 'ws://localhost:47901/websocket', batch_delay = '500ms' } +rpc_timeout = '15s' +account_prefix = 'consumer' +key_name = 'wallet' +store_prefix = 'ibc' +gas_price = { price = 0.0025, denom = 'ucon' } +gas_multiplier = 1.2 +max_gas = 10000000 +clock_drift = '10s' +trusting_period = '5days' +trust_threshold = { numerator = '1', denominator = '3' } +ccv_consumer_chain = true +type = "CosmosSdk" + [[chains]] id = 'testnet' rpc_addr = 'http://localhost:27001' diff --git a/tests/v15_upgrade/setup_relayer.sh b/tests/v15_upgrade/setup_relayer.sh index 806dae7e2..34b5dc190 100755 --- a/tests/v15_upgrade/setup_relayer.sh +++ b/tests/v15_upgrade/setup_relayer.sh @@ -25,6 +25,7 @@ if [ $RELAYER == "hermes" ]; then hermes keys add --chain seven-v320 --mnemonic-file mnemonic.txt hermes keys add --chain eight-v330 --mnemonic-file mnemonic.txt hermes keys add --chain nine-v400 --mnemonic-file mnemonic.txt + hermes keys add --chain ten-v400 --mnemonic-file mnemonic.txt hermes keys add --chain pfm1 --mnemonic-file mnemonic.txt hermes keys add --chain pfm2 --mnemonic-file mnemonic.txt hermes keys add --chain pfm3 --mnemonic-file mnemonic.txt @@ -96,6 +97,14 @@ elif [ $RELAYER == "rly" ]; then cat nine-v400.json rly chains add --file nine-v400.json + # ten + jq '.value."chain-id" = "ten-v400"' tests/v15_upgrade/testnet.json > ten-1.json + jq '.value."rpc-addr" = "http://localhost:47901"' nine-1.json > ten-2.json + jq '.value."account-prefix" = "consumer"' ten-2.json > ten-3.json + jq '.value."gas-prices" = "0.005ucon"' ten-3.json > ten-v400.json + cat ten-v400.json + rly chains add --file ten-v400.json + # pfm-1 jq '.value."chain-id" = "pfm1"' tests/v15_upgrade/testnet.json > p.json jq '.value."rpc-addr" = "http://localhost:27011"' p.json > pf.json @@ -125,6 +134,7 @@ elif [ $RELAYER == "rly" ]; then rly keys restore six-v310 default "$MNEMONIC_RELAYER" rly keys restore eight-v330 default "$MNEMONIC_RELAYER" rly keys restore nine-v400 default "$MNEMONIC_RELAYER" + rly keys restore ten-v400 default "$MNEMONIC_RELAYER" rly keys restore pfm1 default "$MNEMONIC_RELAYER" rly keys restore pfm2 default "$MNEMONIC_RELAYER" rly keys restore pfm3 default "$MNEMONIC_RELAYER" From c22d41870258ab3ecdf2cbee53238d897eb43ba9 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 20:54:45 -0500 Subject: [PATCH 24/27] v4.0.0 chain path --- tests/v15_upgrade/setup_relayer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/v15_upgrade/setup_relayer.sh b/tests/v15_upgrade/setup_relayer.sh index 34b5dc190..4099e284b 100755 --- a/tests/v15_upgrade/setup_relayer.sh +++ b/tests/v15_upgrade/setup_relayer.sh @@ -99,7 +99,7 @@ elif [ $RELAYER == "rly" ]; then # ten jq '.value."chain-id" = "ten-v400"' tests/v15_upgrade/testnet.json > ten-1.json - jq '.value."rpc-addr" = "http://localhost:47901"' nine-1.json > ten-2.json + jq '.value."rpc-addr" = "http://localhost:47901"' ten-1.json > ten-2.json jq '.value."account-prefix" = "consumer"' ten-2.json > ten-3.json jq '.value."gas-prices" = "0.005ucon"' ten-3.json > ten-v400.json cat ten-v400.json From ca871262009c0ffd8c840d8da670f9ba0f32a6d1 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 21:01:23 -0500 Subject: [PATCH 25/27] remove rly from matrix --- tests/generate_upgrade_matrix_fresh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generate_upgrade_matrix_fresh.py b/tests/generate_upgrade_matrix_fresh.py index 6e7a61365..fe15366b4 100755 --- a/tests/generate_upgrade_matrix_fresh.py +++ b/tests/generate_upgrade_matrix_fresh.py @@ -71,7 +71,7 @@ if upgrade not in SKIP_TARGET_VERSIONS: if RELAYER: includes.append({'gaia_version': version, 'upgrade_version': upgrade, 'upgrade_mechanism': 'binary', 'relayer': 'hermes'}) - includes.append({'gaia_version': version, 'upgrade_version': upgrade, 'upgrade_mechanism': 'binary', 'relayer': 'rly'}) + # includes.append({'gaia_version': version, 'upgrade_version': upgrade, 'upgrade_mechanism': 'binary', 'relayer': 'rly'}) else: includes.append({'gaia_version': version, 'upgrade_version': upgrade, 'upgrade_mechanism': 'binary'}) # includes.append({'gaia_version': version, 'upgrade_version': upgrade, 'upgrade_mechanism': 'cv_manual', 'cv_version': 'v1.5.0'}) @@ -84,7 +84,7 @@ else: # Add main branch build if RELAYER: includes.append({'gaia_version': version, 'upgrade_version': 'main', 'upgrade_mechanism': 'binary', 'relayer': 'hermes'}) - includes.append({'gaia_version': version, 'upgrade_version': 'main', 'upgrade_mechanism': 'binary', 'relayer': 'rly'}) + # includes.append({'gaia_version': version, 'upgrade_version': 'main', 'upgrade_mechanism': 'binary', 'relayer': 'rly'}) else: includes.append({'gaia_version': version, 'upgrade_version': 'main', 'upgrade_mechanism': 'binary'}) # includes.append({'gaia_version': version, 'upgrade_version': 'main', 'upgrade_mechanism': 'cv_manual', 'cv_version': 'v1.5.0'}) From 162035ba29b0cc6be1fd8e586bcd1be3abb9d27d Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 21:55:09 -0500 Subject: [PATCH 26/27] do not run on push --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index c1a886945..f93df85de 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -7,7 +7,7 @@ on: schedule: - cron: '0 6,14 * * 1-6' workflow_dispatch: - push: + # push: concurrency: group: ${{ github.workflow }}-${{ github.ref }} From be8e129bd812b54625032daa071e0d69a44ce795 Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Wed, 7 Feb 2024 21:56:54 -0500 Subject: [PATCH 27/27] remove trailing spaces --- .github/workflows/test-gaia-v15-fresh-upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-gaia-v15-fresh-upgrade.yml b/.github/workflows/test-gaia-v15-fresh-upgrade.yml index f93df85de..98ab922d1 100644 --- a/.github/workflows/test-gaia-v15-fresh-upgrade.yml +++ b/.github/workflows/test-gaia-v15-fresh-upgrade.yml @@ -1470,7 +1470,7 @@ jobs: CONSUMER_CHAIN_V330_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v3.3.0/interchain-security-cd-linux CONSUMER_CHAIN_V330_BINARY: consumerd_v3.3.0 ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform + ICS_TRANSFORM_BINARY: cd-transform steps: - name: start-version run: echo ${{matrix.gaia_version}} @@ -1820,7 +1820,7 @@ jobs: CONSUMER_CHAIN_V400_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-consumer-v4.0.0/interchain-security-cd-linux CONSUMER_CHAIN_V400_BINARY: consumerd_v4.0.0 ICS_TRANSFORM_BINARY_URL: https://github.com/hyphacoop/cosmos-builds/releases/download/ics-v3.3.0-transform/interchain-security-cd - ICS_TRANSFORM_BINARY: cd-transform + ICS_TRANSFORM_BINARY: cd-transform steps: - name: start-version run: echo ${{matrix.gaia_version}}