Skip to content

Commit

Permalink
Revert upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
Toktar committed Jul 10, 2023
1 parent c10dfcb commit 44ff72d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package app

import (
"fmt"
"io"
"net/http"
"os"
Expand Down
6 changes: 3 additions & 3 deletions integration_tests/upgrade/test-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ trustee_account_3="bob"
vendor_account="vendor_account"

plan_name="v0.13.0-pre"
upgrade_checksum="sha256:f3b50f414c04dda19c14cbe1c4b8e17a952708ded35ac74992ef972604cbb61b"
upgrade_checksum="sha256:2e1df8fcd97d0f35f214fcc0fc9bc9bb28827f8815bba4b6ab797b19d8d0d4ac"

vid=1
pid_1=1
Expand Down Expand Up @@ -597,8 +597,8 @@ plan_height=$(expr $current_height \+ 20)
test_divider

echo "Propose upgrade $plan_name at height $plan_height"
echo "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/v1.2.0-pre/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum"
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)
echo "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$plan_name/dcld.ubuntu.tar.gz?checksum=$upgrade_checksum"
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)
echo "$result"
check_response "$result" "\"code\": 0"

Expand Down

0 comments on commit 44ff72d

Please sign in to comment.