From 5ffaf657fab37232beda765911067e1de98303da Mon Sep 17 00:00:00 2001 From: 7400 <7400> Date: Thu, 26 Oct 2023 15:17:07 -0700 Subject: [PATCH] Update build_force.sh to match build.sh --- bin/build_force.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build_force.sh b/bin/build_force.sh index fc50ab2..1819a64 100755 --- a/bin/build_force.sh +++ b/bin/build_force.sh @@ -9,7 +9,7 @@ forge build --force "$@" || exit 1 VAULT_INIT_CODE_HASH=$(cast keccak $(jq -r .bytecode.object < out/Vault.sol/Vault.json)) # put the hash value into the VaultAddress.sol source file -sed -i "s/bytes32 internal constant VAULT_INIT_CODE_HASH = .*;/bytes32 internal constant VAULT_INIT_CODE_HASH = $VAULT_INIT_CODE_HASH;/" src/VaultAddress.sol +sed -i "s/VAULT_INIT_CODE_HASH = .*;/VAULT_INIT_CODE_HASH = $VAULT_INIT_CODE_HASH;/" src/VaultAddress.sol # generate a javascript file with the constant mkdir gen &> /dev/null