From 4377c42b90d5ad1ba0e6d7616cee4eedd50f15e1 Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Thu, 25 Jan 2024 14:05:45 +0400 Subject: [PATCH] chore: update default values --- .../explorer/chain/import/stage/block_referencing.ex | 10 +++++----- config/runtime.exs | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/explorer/lib/explorer/chain/import/stage/block_referencing.ex b/apps/explorer/lib/explorer/chain/import/stage/block_referencing.ex index b735b5ccb3..8452312775 100644 --- a/apps/explorer/lib/explorer/chain/import/stage/block_referencing.ex +++ b/apps/explorer/lib/explorer/chain/import/stage/block_referencing.ex @@ -35,6 +35,10 @@ defmodule Explorer.Chain.Import.Stage.BlockReferencing do Runner.Shibarium.BridgeOperations ] + @ethereum_runners [ + Runner.Beacon.BlobTransactions + ] + @impl Stage def runners do case System.get_env("CHAIN_TYPE") do @@ -48,11 +52,7 @@ defmodule Explorer.Chain.Import.Stage.BlockReferencing do @default_runners ++ @shibarium_runners "ethereum" -> - # credo:disable-for-next-line - @default_runners ++ - [ - Runner.Beacon.BlobTransactions - ] + @default_runners ++ @ethereum_runners _ -> @default_runners diff --git a/config/runtime.exs b/config/runtime.exs index 79599b5539..56d5694777 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -691,10 +691,10 @@ config :indexer, Indexer.Fetcher.Beacon.Blob.Supervisor, config :indexer, Indexer.Fetcher.Beacon.Blob, 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: - ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_REFERENCE_TIMESTAMP", 1_705_305_887), - start_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_START_BLOCK", 8_206_822), + 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", 19_200_000), end_block: ConfigHelper.parse_integer_env_var("INDEXER_BEACON_BLOB_FETCHER_END_BLOCK", 0) config :indexer, Indexer.Fetcher.Shibarium.L1,