Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏭 build: replace sleep command by wait-tx #568

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 axoned@v5.0.0. Needs cosmos-sdk@v0.47.5 : 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 axoned@v5.0.0. Needs cosmos-sdk@v0.47.5 : 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 axoned@v5.0.0. Needs cosmos-sdk@v0.47.5 : 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
Loading