From 24e88897f1db88990561044cb925b6b74ae2b70d Mon Sep 17 00:00:00 2001 From: Arshavir Ter-Gabrielyan Date: Wed, 4 Dec 2024 21:45:59 +0000 Subject: [PATCH] Avoid upgrading Dapp via proposal in all cases (issues/83) --- run_basic_scenario.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/run_basic_scenario.sh b/run_basic_scenario.sh index 0eded61..90af5db 100755 --- a/run_basic_scenario.sh +++ b/run_basic_scenario.sh @@ -36,13 +36,15 @@ done # Assert that the test canister is indeed registered. [ "$(./get_sns_canisters.sh | ./bin/idl2json | jq -r '.dapps[0]')" == "$(./bin/dfx canister id test)" ] && echo "OK" || exit 1 +# TODO[dfinity/sns-testing/issues/83]: Re-enable upgrading dapp canisters via SNS proposals. +# # Upgrade test canister (I) -./upgrade_test_canister.sh Hello -./wait_for_last_sns_proposal.sh -./wait_for_canister_running.sh "$(./bin/dfx canister id test)" - -# assert the new greeting text -[ "$(./bin/dfx canister call test greet "M")" == '("Hello, M!")' ] && echo "OK" || exit 1 +# ./upgrade_test_canister.sh Hello +# ./wait_for_last_sns_proposal.sh +# ./wait_for_canister_running.sh "$(./bin/dfx canister id test)" +# +# # assert the new greeting text +# [ "$(./bin/dfx canister call test greet "M")" == '("Hello, M!")' ] && echo "OK" || exit 1 # Participate in SNS swap ./participate_sns_swap.sh