Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/config/runtime/test.exs

32 lines
693 B

2 years ago
import Config
alias EthereumJSONRPC.Variant
######################
### BlockScout Web ###
######################
config :block_scout_web, BlockScoutWeb.API.V2, enabled: true
########################
### Ethereum JSONRPC ###
########################
################
### Explorer ###
################
config :explorer, Explorer.Counters.Transactions24hStats,
cache_period: ConfigHelper.parse_time_env_var("CACHE_TRANSACTIONS_24H_STATS_PERIOD", "1h"),
enable_consolidation: false
variant = Variant.get()
Code.require_file("#{variant}.exs", "apps/explorer/config/test")
###############
### Indexer ###
###############
Code.require_file("#{variant}.exs", "apps/indexer/config/test")