Skip to content

Commit

Permalink
Merge pull request #568 from axone-protocol/build/improve-chain-command
Browse files Browse the repository at this point in the history
🏭 build: replace `sleep` command by `wait-tx`
  • Loading branch information
bdeneux authored Jun 3, 2024
2 parents 2ed6cdc + 518a232 commit 8f25560
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 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 Expand Up @@ -651,7 +657,7 @@ CHAIN_MONIKER = "local-node"
DIR_DEPLOY = "${DIR_TARGET}/deploy"
DIR_TARGET = "./target"
DIR_WASM = "${DIR_TARGET}/wasm32-unknown-unknown/release"
DOCKER_IMAGE_AXONED = "axone/axoned:7.1.0"
DOCKER_IMAGE_AXONED = "axoneprotocol/axoned:8.0.0"
KEYRING_BACKEND = "test"
MNEMONIC_ALICE = "code ceiling reduce repeat unfold intact cloud marriage nut remove illegal eternal pool frame mask rate buzz vintage pulp suggest loan faint snake spoon"
MNEMONIC_BOB = "add pig champion lounge initial tunnel oak panic drama float foot elegant coast manage diesel essence glory bicycle sniff upon horse crash damage bounce"
Expand Down

0 comments on commit 8f25560

Please sign in to comment.