generated from okp4/template-rust
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #568 from axone-protocol/build/improve-chain-command
🏭 build: replace `sleep` command by `wait-tx`
- Loading branch information
Showing
1 changed file
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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] | ||
|
@@ -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" | ||
|