From 722408e488e2787f2d9b305fb1764204d268471d Mon Sep 17 00:00:00 2001 From: Ansab Gillani Date: Tue, 21 May 2024 16:48:52 +0200 Subject: [PATCH] fix: fix dangling variable by hardcoding into command --- contract/Makefile | 2 +- contract/scripts/wait-for-blocks.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/contract/Makefile b/contract/Makefile index 8c2b5da..8a82e99 100644 --- a/contract/Makefile +++ b/contract/Makefile @@ -112,4 +112,4 @@ clean: @rm -rf $(SCRIPT) $(PERMIT) bundles/ wait-for-blocks: - TARGET_HEIGHT=1111 ./scripts/wait-for-blocks.sh \ No newline at end of file + TARGET_HEIGHT=1234 ./scripts/wait-for-blocks.sh \ No newline at end of file diff --git a/contract/scripts/wait-for-blocks.sh b/contract/scripts/wait-for-blocks.sh index 9f892df..2f02039 100755 --- a/contract/scripts/wait-for-blocks.sh +++ b/contract/scripts/wait-for-blocks.sh @@ -3,11 +3,8 @@ # # Borrowed from https://github.com/DCFoundation/cosmos-proposal-builder/blob/main/.github/workflows/pr.yml#L43-L61 # # This script waits for the Agoric service to be fully ready before running the tests. # # It does so by polling the `/abci_info` endpoint of the Agoric service until the last block height is greater than or equal to the target height. -# # The target height is set to 1111 by default, but can be overridden by setting the `TARGET_HEIGHT` environment variable. -TARGET_HEIGHT=${TARGET_HEIGHT:1111} - timeout 300 bash -c ' TARGET_HEIGHT='$TARGET_HEIGHT' SLEEP=10