From d78d5d992f8c61324380b5f3f231964b5584c805 Mon Sep 17 00:00:00 2001 From: loothero <100039621+loothero@users.noreply.github.com> Date: Tue, 25 Jun 2024 07:38:17 -0400 Subject: [PATCH] change katana deployment params (#33) - remove --dev flag - increase blocktime from 3s to 30s --- scripts/katana_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/katana_deploy.sh b/scripts/katana_deploy.sh index b7913c32f..96434e27d 100644 --- a/scripts/katana_deploy.sh +++ b/scripts/katana_deploy.sh @@ -26,7 +26,7 @@ source $ENV_FILE cd /workspaces/loot-survivor/contracts/ scarb build -katana --disable-fee --dev --block-time 3000 --seed 0x6c6f6f747375727669766f72 --accounts 1 --json-log > ~/katana.log 2>&1 & echo $! > ~/katana_pid.txt +katana --disable-fee --block-time 30000 --seed 0x6c6f6f747375727669766f72 --accounts 1 --json-log > ~/katana.log 2>&1 & echo $! > ~/katana_pid.txt sleep 3 output=$(head -n 1 ~/katana.log | jq -r '.fields.message | fromjson | .accounts[0] | .[0], .[-1].private_key') account_address_decimal=$(echo "$output" | head -n 1)