Add gas price env var in docker compose

This commit is contained in:
nolash 2021-04-13 18:55:12 +02:00
parent 59da04ed6e
commit 885bb75377
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ faucet_amount=${DEV_FAUCET_AMOUNT:-0}
keystore_file=$(realpath ./keystore/UTC--2021-01-08T17-18-44.521011372Z--eb3907ecad74a0013c259d5874ae7f22dcbcc95c)
if [ ! -z $DEV_ETH_ACCOUNT_GAS_PRICE ]; then
gas_price_arg="--gas-price $DEV_ETH_ACCOUNT_GAS_PRICE"
gas_price_arg="--gas-price $DEV_ETH_GAS_PRICE"
fi
if [[ $DEV_TOKEN_TYPE != 'giftable' && $DEV_TOKEN_TYPE != 'sarafu' ]]; then

View File

@ -105,6 +105,7 @@ services:
DEV_FAUCET_AMOUNT: ${DEV_FAUCET_AMOUNT:-0}
DEV_TOKEN_TYPE: ${DEV_TOKEN_TYPE:-giftable}
DEV_SARAFU_DEMURRAGE_LEVEL: ${DEV_SARAFU_DEMURRAGE_LEVEL:-196454828847045000000000000000000}
DEV_ETH_GAS_PRICE: ${DEV_ETH_GAS_PRICE:-1}
command: ["./run_job.sh"]
#command: ["./reset.sh"]
depends_on: