order state tweak

This commit is contained in:
Tim Olson
2023-10-13 01:48:42 -04:00
parent 1fabd95940
commit f61c318a0b
6 changed files with 8 additions and 19 deletions

View File

@@ -2,7 +2,7 @@
# this script requires the jq command $(sudo apt install jq)
# first-pass build
forge build "$@"
forge build "$@" || exit 1
# calculate the Vault init code hash using the bytecode generated for Vault
# shellcheck disable=SC2046
@@ -16,4 +16,4 @@ mkdir gen &> /dev/null
echo "export const VAULT_INIT_CODE_HASH='$VAULT_INIT_CODE_HASH';" > gen/vaultHash.js
# final build after hash values are set
forge build "$@"
forge build "$@" || exit 1