From e965469aada8ce5e9e8786d50c647997fcc6f6db Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Mon, 2 Oct 2023 16:51:14 +0200 Subject: [PATCH 1/2] build: bump okp4d version from 4.0.0 to 5.0.0 --- Makefile.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.toml b/Makefile.toml index 0a334d61..0058ea98 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -554,7 +554,7 @@ CHAIN_MONIKER = "local-node" DIR_DEPLOY = "${DIR_TARGET}/deploy" DIR_TARGET = "./target" DIR_WASM = "${DIR_TARGET}/wasm32-unknown-unknown/release" -DOCKER_IMAGE_OKP4D = "okp4/okp4d:4.0.0" +DOCKER_IMAGE_OKP4D = "okp4/okp4d:5.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" From ca8f9d4c05c0adb17da5eaecaa1a5a2698a2f0a0 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Tue, 3 Oct 2023 09:14:47 +0200 Subject: [PATCH 2/2] build: add temporary fix for broadcast-mode sync --- Makefile.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 0058ea98..100ac589 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -344,8 +344,9 @@ docker run --rm \ --gas auto \ --gas-adjustment 1.5 \ --chain-id ${CHAIN} \ - --broadcast-mode block \ + --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 okp4d@v5.0.0. Needs cosmos-sdk@v0.47.5 : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5. ''' [tasks.chain-deploy-contracts] @@ -431,10 +432,11 @@ docker run --rm \ --gas auto \ --gas-adjustment 1.5 \ --chain-id ${CHAIN} \ - --broadcast-mode block \ + --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 okp4d@v5.0.0. Needs cosmos-sdk@v0.47.5 : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5. ''' [tasks.chain-query-contract] @@ -498,10 +500,11 @@ docker run --rm \ --gas auto \ --gas-adjustment 1.5 \ --chain-id ${CHAIN} \ - --broadcast-mode block \ + --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 okp4d@v5.0.0. Needs cosmos-sdk@v0.47.5 : https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.5. ''' [tasks.install-llvm-tools-preview]