fix: webapp-entrypoint.sh and e2e.yml hardcode Sepolia SwapRouter (#951)

This commit is contained in:
openhands 2026-03-18 11:07:17 +00:00
parent be453a8db4
commit 45770d274f
2 changed files with 4 additions and 2 deletions

View file

@ -167,7 +167,8 @@ services:
export VITE_DEFAULT_CHAIN_ID=31337
export VITE_LOCAL_RPC_PROXY_TARGET=http://anvil:8545
export VITE_LOCAL_GRAPHQL_PROXY_TARGET=http://ponder:42069
export VITE_SWAP_ROUTER=0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4
# Default is the Sepolia SwapRouter; override via VITE_SWAP_ROUTER env var for other networks.
export VITE_SWAP_ROUTER="${VITE_SWAP_ROUTER:-0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4}"
export VITE_ENABLE_LOCAL_SWAP=true
export VITE_BASE_PATH=/app/

View file

@ -45,7 +45,8 @@ fi
# ── Local dev path ─────────────────────────────────────────────────
ROOT_DIR=/workspace
SWAP_ROUTER=0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4
# Default is the Sepolia SwapRouter; override via SWAP_ROUTER env var for other networks.
SWAP_ROUTER=${SWAP_ROUTER:-0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4}
# shellcheck source=entrypoint-common.sh
source "$ROOT_DIR/containers/entrypoint-common.sh"