Add `--simulate-proof-failures` env variable, update docker-compose to point to slimmed image
This commit is contained in:
parent
f9122424f7
commit
84f88d4316
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
codex-node1:
|
codex-node1:
|
||||||
image: status-im/codexsetup_multiarch:latest
|
image: status-im/codexsetup.slim:latest
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
# Available environment variables:
|
# Available environment variables:
|
||||||
|
@ -22,5 +22,6 @@ services:
|
||||||
# - ETH_PROVIDER=eth
|
# - ETH_PROVIDER=eth
|
||||||
# - ETH_ACCOUNT=account
|
# - ETH_ACCOUNT=account
|
||||||
# - ETH_DEPLOYMENT=deploy
|
# - ETH_DEPLOYMENT=deploy
|
||||||
|
# - SIMULATE_PROOF_FAILURES=0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -120,6 +120,10 @@ if [ -n "$ETH_PROVIDER" ] && [ -n "$ETH_ACCOUNT" ] && [ -n "$ETH_MARKETPLACE_ADD
|
||||||
# Remove this as soon as CLI option is available:
|
# Remove this as soon as CLI option is available:
|
||||||
echo "{\"contracts\": { \"Marketplace\": { \"address\": \""$ETH_MARKETPLACE_ADDRESS"\" } } }" > /root/marketplace_address.json
|
echo "{\"contracts\": { \"Marketplace\": { \"address\": \""$ETH_MARKETPLACE_ADDRESS"\" } } }" > /root/marketplace_address.json
|
||||||
args="$args --eth-deployment=/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
|
fi
|
||||||
|
|
||||||
echo "./codex $args"
|
echo "./codex $args"
|
||||||
|
|
Loading…
Reference in New Issue