This commit is contained in:
tim
2025-09-15 14:44:40 -04:00
parent 5fb2b17b2e
commit 77784644ad
4 changed files with 20 additions and 43 deletions

View File

@@ -33,15 +33,7 @@ while ! check_string "Listening on" "log/anvil.txt"; do
fi
done
# Extract bytecode using jq
BYTECODE=$(jq -r '.bytecode.object' out/PartyPool.sol/PartyPool.json)
if [ $? -ne 0 ] || [ -z "$BYTECODE" ]; then
echo "Failed to extract bytecode from PartyPool.json"
exit 1
fi
export BYTECODE
forge script DeployMock --broadcast
forge script DeployMock --broadcast "$@"
echo "Press Ctrl+C to exit..."
while true; do