order state tweak
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
./bin/build.sh
|
||||
./bin/build.sh || exit 1
|
||||
PRIVATE_KEY=${PRIVATE_KEY:='0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80'}
|
||||
forge script script/Deploy.sol -vvvv --fork-url http://localhost:8545 --broadcast
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#db-migrate up
|
||||
#cd ../contract
|
||||
|
||||
#source ./bin/build.sh
|
||||
#./bin/build.sh
|
||||
anvil -f arbitrum_ankr --chain-id 1338 &
|
||||
# todo check anvil result
|
||||
ANVIL_PID=$!
|
||||
|
||||
Reference in New Issue
Block a user