mirror of
https://github.com/logos-blockchain/logos-blockchain-pocs.git
synced 2026-05-02 23:53:12 +00:00
32 lines
705 B
Elixir
32 lines
705 B
Elixir
import Config
|
|
|
|
alias EthereumJSONRPC.Variant
|
|
|
|
######################
|
|
### BlockScout Web ###
|
|
######################
|
|
|
|
config :block_scout_web, BlockScoutWeb.API.V2, enabled: true
|
|
|
|
########################
|
|
### Ethereum JSONRPC ###
|
|
########################
|
|
|
|
################
|
|
### Explorer ###
|
|
################
|
|
|
|
config :explorer, Explorer.Chain.Cache.Counters.Transactions24hCount,
|
|
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")
|