diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 2d100f21..df1718a1 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -1,6 +1,6 @@ services: codex-node1: - image: status-im/codexsetup_multiarch:latest + image: status-im/codexsetup.slim:latest ports: - 8080:8080 # Available environment variables: @@ -22,5 +22,6 @@ services: # - ETH_PROVIDER=eth # - ETH_ACCOUNT=account # - ETH_DEPLOYMENT=deploy + # - SIMULATE_PROOF_FAILURES=0 diff --git a/docker/startCodex.sh b/docker/startCodex.sh index 50a182ae..c67f7140 100644 --- a/docker/startCodex.sh +++ b/docker/startCodex.sh @@ -120,6 +120,10 @@ if [ -n "$ETH_PROVIDER" ] && [ -n "$ETH_ACCOUNT" ] && [ -n "$ETH_MARKETPLACE_ADD # Remove this as soon as CLI option is available: echo "{\"contracts\": { \"Marketplace\": { \"address\": \""$ETH_MARKETPLACE_ADDRESS"\" } } }" > /root/marketplace_address.json args="$args --eth-deployment=/root/marketplace_address.json" + + if [ -n "$SIMULATE_PROOF_FAILURES" ]; then + args="$args --simulate-proof-failures=$SIMULATE_PROOF_FAILURES" + fi fi echo "./codex $args"