chore: update default values

pull/9168/head
Kirill Fedoseev 10 months ago
parent 3d03945a71
commit 4377c42b90
  1. 10
      apps/explorer/lib/explorer/chain/import/stage/block_referencing.ex
  2. 6
      config/runtime.exs

@ -35,6 +35,10 @@ defmodule Explorer.Chain.Import.Stage.BlockReferencing do
Runner.Shibarium.BridgeOperations Runner.Shibarium.BridgeOperations
] ]
@ethereum_runners [
Runner.Beacon.BlobTransactions
]
@impl Stage @impl Stage
def runners do def runners do
case System.get_env("CHAIN_TYPE") do case System.get_env("CHAIN_TYPE") do
@ -48,11 +52,7 @@ defmodule Explorer.Chain.Import.Stage.BlockReferencing do
@default_runners ++ @shibarium_runners @default_runners ++ @shibarium_runners
"ethereum" -> "ethereum" ->
# credo:disable-for-next-line @default_runners ++ @ethereum_runners
@default_runners ++
[
Runner.Beacon.BlobTransactions
]
_ -> _ ->
@default_runners @default_runners

@ -691,10 +691,10 @@ config :indexer, Indexer.Fetcher.Beacon.Blob.Supervisor,
config :indexer, Indexer.Fetcher.Beacon.Blob, config :indexer, Indexer.Fetcher.Beacon.Blob,
slot_duration: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_SLOT_DURATION", 12), slot_duration: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_SLOT_DURATION", 12),
reference_slot: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_REFERENCE_SLOT", 8_206_822), reference_slot: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_REFERENCE_SLOT", 8_000_000),
reference_timestamp: reference_timestamp:
ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_REFERENCE_TIMESTAMP", 1_705_305_887), ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_REFERENCE_TIMESTAMP", 1_702_824_023),
start_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_START_BLOCK", 8_206_822), start_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_START_BLOCK", 19_200_000),
end_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_END_BLOCK", 0) end_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_END_BLOCK", 0)
config :indexer, Indexer.Fetcher.Shibarium.L1, config :indexer, Indexer.Fetcher.Shibarium.L1,

Loading…
Cancel
Save