Add missing GAS_PRICE_ORACLE_ vars to MakeFile

pull/7147/head
Viktor Baranov 2 years ago
parent c6decf3371
commit 2312fe2681
  1. 1
      CHANGELOG.md
  2. 15
      docker/Makefile

@ -24,6 +24,7 @@
### Chore
- [#7147](https://github.com/blockscout/blockscout/pull/7147) - Add missing GAS_PRICE_ORACLE_ vars to Makefile
- [#7144](https://github.com/blockscout/blockscout/pull/7144) - Update Blockscout logo
- [#7136](https://github.com/blockscout/blockscout/pull/7136) - Add release link or commit hash to docker images
- [#7097](https://github.com/blockscout/blockscout/pull/7097) - Force display token instance page

@ -268,6 +268,21 @@ endif
ifdef GAS_PRICE
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE=$(GAS_PRICE)'
endif
ifdef GAS_PRICE_ORACLE_NUM_OF_BLOCKS
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE_ORACLE_NUM_OF_BLOCKS=$(GAS_PRICE_ORACLE_NUM_OF_BLOCKS)'
endif
ifdef GAS_PRICE_ORACLE_SAFELOW_PERCENTILE
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE_ORACLE_SAFELOW_PERCENTILE=$(GAS_PRICE_ORACLE_SAFELOW_PERCENTILE)'
endif
ifdef GAS_PRICE_ORACLE_AVERAGE_PERCENTILE
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE_ORACLE_AVERAGE_PERCENTILE=$(GAS_PRICE_ORACLE_AVERAGE_PERCENTILE)'
endif
ifdef GAS_PRICE_ORACLE_FAST_PERCENTILE
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE_ORACLE_FAST_PERCENTILE=$(GAS_PRICE_ORACLE_FAST_PERCENTILE)'
endif
ifdef GAS_PRICE_ORACLE_CACHE_PERIOD
BLOCKSCOUT_CONTAINER_PARAMS += -e 'GAS_PRICE_ORACLE_CACHE_PERIOD=$(GAS_PRICE_ORACLE_CACHE_PERIOD)'
endif
ifdef TOKEN_METADATA_UPDATE_INTERVAL
BLOCKSCOUT_CONTAINER_PARAMS += -e 'TOKEN_METADATA_UPDATE_INTERVAL=$(TOKEN_METADATA_UPDATE_INTERVAL)'
endif

Loading…
Cancel
Save