fix: Fix fake json_rpc_named_arguments for multiple urls usage (#11243)

production-optimism
Qwerty5Uiop 6 days ago committed by GitHub
parent 6493574864
commit 296057037f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/indexer/lib/indexer/fetcher/optimism.ex
  2. 2
      apps/indexer/lib/indexer/fetcher/polygon_edge.ex
  3. 2
      apps/indexer/lib/indexer/fetcher/shibarium/l1.ex
  4. 2
      apps/indexer/lib/indexer/fetcher/zksync/batches_status_tracker.ex
  5. 2
      apps/indexer/lib/indexer/helper.ex

@ -192,7 +192,7 @@ defmodule Indexer.Fetcher.Optimism do
transport: EthereumJSONRPC.HTTP, transport: EthereumJSONRPC.HTTP,
transport_options: [ transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison, http: EthereumJSONRPC.HTTP.HTTPoison,
url: optimism_l1_rpc, urls: [optimism_l1_rpc],
http_options: [ http_options: [
recv_timeout: :timer.minutes(10), recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10), timeout: :timer.minutes(10),

@ -573,7 +573,7 @@ defmodule Indexer.Fetcher.PolygonEdge do
transport: EthereumJSONRPC.HTTP, transport: EthereumJSONRPC.HTTP,
transport_options: [ transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison, http: EthereumJSONRPC.HTTP.HTTPoison,
url: polygon_edge_l1_rpc, urls: [polygon_edge_l1_rpc],
http_options: [ http_options: [
recv_timeout: :timer.minutes(10), recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10), timeout: :timer.minutes(10),

@ -567,7 +567,7 @@ defmodule Indexer.Fetcher.Shibarium.L1 do
transport: EthereumJSONRPC.HTTP, transport: EthereumJSONRPC.HTTP,
transport_options: [ transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison, http: EthereumJSONRPC.HTTP.HTTPoison,
url: rpc_url, urls: [rpc_url],
http_options: [ http_options: [
recv_timeout: :timer.minutes(10), recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10), timeout: :timer.minutes(10),

@ -88,7 +88,7 @@ defmodule Indexer.Fetcher.ZkSync.BatchesStatusTracker do
transport: EthereumJSONRPC.HTTP, transport: EthereumJSONRPC.HTTP,
transport_options: [ transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison, http: EthereumJSONRPC.HTTP.HTTPoison,
url: l1_rpc, urls: [l1_rpc],
http_options: [ http_options: [
recv_timeout: :timer.minutes(10), recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10), timeout: :timer.minutes(10),

@ -206,7 +206,7 @@ defmodule Indexer.Helper do
transport: EthereumJSONRPC.HTTP, transport: EthereumJSONRPC.HTTP,
transport_options: [ transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison, http: EthereumJSONRPC.HTTP.HTTPoison,
url: rpc_url, urls: [rpc_url],
http_options: [ http_options: [
recv_timeout: :timer.minutes(10), recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10), timeout: :timer.minutes(10),

Loading…
Cancel
Save