Skip to content

Commit

Permalink
fix: Fix fake json_rpc_named_arguments for multiple urls usage (block…
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwerty5Uiop authored Nov 22, 2024
1 parent 6493574 commit 2960570
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/fetcher/optimism.ex
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ defmodule Indexer.Fetcher.Optimism do
transport: EthereumJSONRPC.HTTP,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: optimism_l1_rpc,
urls: [optimism_l1_rpc],
http_options: [
recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10),
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/fetcher/polygon_edge.ex
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ defmodule Indexer.Fetcher.PolygonEdge do
transport: EthereumJSONRPC.HTTP,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: polygon_edge_l1_rpc,
urls: [polygon_edge_l1_rpc],
http_options: [
recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10),
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/fetcher/shibarium/l1.ex
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ defmodule Indexer.Fetcher.Shibarium.L1 do
transport: EthereumJSONRPC.HTTP,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: rpc_url,
urls: [rpc_url],
http_options: [
recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ defmodule Indexer.Fetcher.ZkSync.BatchesStatusTracker do
transport: EthereumJSONRPC.HTTP,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: l1_rpc,
urls: [l1_rpc],
http_options: [
recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10),
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/helper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ defmodule Indexer.Helper do
transport: EthereumJSONRPC.HTTP,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: rpc_url,
urls: [rpc_url],
http_options: [
recv_timeout: :timer.minutes(10),
timeout: :timer.minutes(10),
Expand Down

0 comments on commit 2960570

Please sign in to comment.