Skip to content

Commit 44ff72d

Browse files
committed
Revert upgrade test
1 parent c10dfcb commit 44ff72d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/app.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package app
22

33
import (
4-
"fmt"
54
"io"
65
"net/http"
76
"os"

integration_tests/upgrade/test-upgrade.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ trustee_account_3="bob"
211211
vendor_account="vendor_account"
212212

213213
plan_name="v0.13.0-pre"
214-
upgrade_checksum="sha256:f3b50f414c04dda19c14cbe1c4b8e17a952708ded35ac74992ef972604cbb61b"
214+
upgrade_checksum="sha256:2e1df8fcd97d0f35f214fcc0fc9bc9bb28827f8815bba4b6ab797b19d8d0d4ac"
215215

216216
vid=1
217217
pid_1=1
@@ -597,8 +597,8 @@ plan_height=$(expr $current_height \+ 20)
597597
test_divider
598598

599599
echo "Propose upgrade $plan_name at height $plan_height"
600-
echo "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/v1.2.0-pre/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum"
601-
result=$(echo $passphrase | dcld tx dclupgrade propose-upgrade --name=$plan_name --upgrade-height=$plan_height --upgrade-info="{\"binaries\":{\"linux/amd64\":\"https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/v1.2.0-pre/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum\"}}" --from $trustee_account_1 --yes)
600+
echo "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$plan_name/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum"
601+
result=$(echo $passphrase | dcld tx dclupgrade propose-upgrade --name=$plan_name --upgrade-height=$plan_height --upgrade-info="{\"binaries\":{\"linux/amd64\":\"https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$plan_name/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum\"}}" --from $trustee_account_1 --yes)
602602
echo "$result"
603603
check_response "$result" "\"code\": 0"
604604

0 commit comments

Comments
 (0)