Skip to content

Commit

Permalink
build: use new wait-tx query to replace the sleep command
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed May 31, 2024
1 parent 479e3a7 commit 518a232
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,11 @@ docker run --rm \
--gas auto \
--gas-adjustment 1.5 \
--chain-id ${CHAIN} \
--broadcast-mode sync \
--yes
sleep 5 # 🤮 temporary fix since '--brodcast-mode block' is no longer available, new cli command is comming but not available now on [email protected]. Needs [email protected] : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5.
--yes | docker run --rm -i \
--network host \
-v `pwd`:/app:ro \
-w /app \
${DOCKER_IMAGE_AXONED} query wait-tx
'''

[tasks.chain-deploy-contracts]
Expand Down Expand Up @@ -519,11 +521,13 @@ docker run --rm \
--gas auto \
--gas-adjustment 1.5 \
--chain-id ${CHAIN} \
--broadcast-mode sync \
--yes \
--label $label \
--no-admin
sleep 5 # 🤮 temporary fix since '--brodcast-mode block' is no longer available, new cli command is comming but not available now on [email protected]. Needs [email protected] : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5.
--no-admin | docker run --rm -i \
--network host \
-v `pwd`:/app:ro \
-w /app \
${DOCKER_IMAGE_AXONED} query wait-tx
'''

[tasks.chain-query-contract]
Expand Down Expand Up @@ -587,11 +591,13 @@ docker run --rm \
--gas auto \
--gas-adjustment 1.5 \
--chain-id ${CHAIN} \
--broadcast-mode sync \
--yes \
--output json \
| jq -r '.'
sleep 5 # 🤮 temporary fix since '--brodcast-mode block' is no longer available, new cli command is comming but not available now on [email protected]. Needs [email protected] : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5.
--yes | docker run --rm -i \
--network host \
-v `pwd`:/app:ro \
-w /app \
${DOCKER_IMAGE_AXONED} query wait-tx \
--output json \
| jq -r '.'
'''

[tasks.install-llvm-tools-preview]
Expand Down

0 comments on commit 518a232

Please sign in to comment.