bin/deploy doesn't generate contracts or need a chain id

This commit is contained in:
tim
2025-11-21 18:34:11 -04:00
parent 107d2ae5c0
commit 2585873d8a

View File

@@ -7,15 +7,9 @@ else
DEV=0
fi
CHAIN_ID=${1:-11155111} # Defaults to Sepolia
PROJECT=liquidity-party
REMOTE=git.dxod.org/dexorder/dexorder
if [ "$BUILD" != "1" ] && [ "$CHAIN_ID" = "31337" ]; then
echo bin/deploy must specify a production chain ID
exit 1
fi
if [ "$BUILD" != "1" ]; then
if [ "$DEV" = "1" ]; then
TAG="dev$(date +%Y%m%d%H%M%S)"
@@ -32,7 +26,6 @@ else
echo Building
fi
bin/generate-contracts "$CHAIN_ID" || exit 1
npm run build || exit 1
if [ "$BUILD" != "1" ]; then