Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
gabmontes committed Dec 30, 2024
1 parent 835015e commit 0612726
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/indexer/lib/indexer/fetcher/optimism.ex
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ defmodule Indexer.Fetcher.Optimism do
with {:start_block_l1_undefined, false} <- {:start_block_l1_undefined, is_nil(optimism_env[:start_block_l1])},
{:reorg_monitor_started, true} <-
{:reorg_monitor_started, !is_nil(Process.whereis(Indexer.Fetcher.RollupL1ReorgMonitor))},
json_rpc_named_arguments = json_rpc_named_arguments(optimism_l1_rpc),
{:rpc_l1_undefined, false} <- {:rpc_l1_undefined, is_nil(optimism_l1_rpc)},
{optimism_portal} <- {optimism_env[:optimism_l1_portal]},
start_block_l1 = parse_integer(optimism_env[:start_block_l1]),
json_rpc_named_arguments = json_rpc_named_arguments(optimism_l1_rpc),
{optimism_portal, start_block_l1} <-
{optimism_env[:optimism_l1_portal], parse_integer(optimism_env[:start_block_l1])},
{:contract_is_valid, true} <-
{:contract_is_valid,
caller == Indexer.Fetcher.Optimism.WithdrawalEvent or Helper.address_correct?(output_oracle)},
Expand Down

0 comments on commit 0612726

Please sign in to comment.