Skip to content

Commit

Permalink
change katana deployment params (#33)
Browse files Browse the repository at this point in the history
- remove --dev flag
- increase blocktime from 3s to 30s
  • Loading branch information
loothero authored Jun 25, 2024
1 parent ee4b3e7 commit d78d5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/katana_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d78d5d9

Please sign in to comment.