diff --git a/.github/workflows/contracts-e2e-tests-and-deploy.yaml b/.github/workflows/contracts-e2e-tests-and-deploy.yaml index 671bdb7b73..71c35fcbb3 100644 --- a/.github/workflows/contracts-e2e-tests-and-deploy.yaml +++ b/.github/workflows/contracts-e2e-tests-and-deploy.yaml @@ -222,7 +222,7 @@ jobs: shell: bash run: | aws s3 cp s3://${{ secrets.CI_S3BUCKET_NAME }}/${{ env.S3BUCKET_PATH }}/addresses.json contracts/addresses.json - for i in ticket_token marketplace button game_token access_control; do \ + for i in ticket_token marketplace button game_token simple_dex access_control; do \ mkdir -p contracts/"$i"/target/ink aws s3 cp s3://${{ secrets.CI_S3BUCKET_NAME }}/${{ env.S3BUCKET_PATH }}/"$i"/metadata.json contracts/"$i"/target/ink/metadata.json; \ done @@ -244,7 +244,7 @@ jobs: shell: bash run: | aws s3 cp contracts/addresses.json s3://${{ secrets.CI_S3BUCKET_NAME }}/${{ env.S3BUCKET_PATH }}/addresses.json - for i in ticket_token marketplace button game_token access_control; do \ + for i in ticket_token marketplace button game_token simple_dex access_control; do \ aws s3 cp contracts/"$i"/target/ink/metadata.json s3://${{ secrets.CI_S3BUCKET_NAME }}/${{ env.S3BUCKET_PATH }}/"$i"/metadata.json; \ done echo -n "${{ steps.get_branch.outputs.sha_short }}" > commit_sha.txt @@ -283,6 +283,7 @@ jobs: contracts/marketplace/target \ contracts/button/target \ contracts/game_token/target \ + contracts/simple_dex/target \ contracts/access_control/target aws s3 cp targets.tgz s3://${{ secrets.CI_S3BUCKET_NAME }}/${{ env.S3BUCKET_PATH }}/targets.tgz diff --git a/contracts/scripts/clean.sh b/contracts/scripts/clean.sh index 56f9f1e69d..51193a5677 100755 --- a/contracts/scripts/clean.sh +++ b/contracts/scripts/clean.sh @@ -69,34 +69,33 @@ terminate_contract early_bird_special button terminate_contract early_bird_special_marketplace marketplace terminate_contract early_bird_special_ticket ticket_token terminate_contract early_bird_special_token game_token - echo "succesfully terminated early_bird_special" terminate_contract back_to_the_future button terminate_contract back_to_the_future_ticket ticket_token terminate_contract back_to_the_future_token game_token terminate_contract back_to_the_future_marketplace marketplace - echo "succesfully terminated back_to_the_future" terminate_contract the_pressiah_cometh button terminate_contract the_pressiah_cometh_ticket ticket_token terminate_contract the_pressiah_cometh_token game_token terminate_contract the_pressiah_cometh_marketplace marketplace - echo "succesfully terminated the_pressiah_cometh" remove_contract_code button_code_hash remove_contract_code ticket_token_code_hash remove_contract_code game_token_code_hash remove_contract_code marketplace_code_hash - echo "succesfully removed code hashes" +terminate_contract simple_dex simple_dex +remove_contract_code simple_dex_code_hash +echo "succesfully terminated and removed simple_dex" + # remove access control as last terminate_contract access_control access_control remove_contract_code access_control_code_hash - echo "succesfully terminated and removed AccessControl" exit $?