|
|
@ -20,12 +20,12 @@ defmodule Indexer.Block.Realtime.FetcherTest do |
|
|
|
setup %{json_rpc_named_arguments: json_rpc_named_arguments} do |
|
|
|
setup %{json_rpc_named_arguments: json_rpc_named_arguments} do |
|
|
|
core_json_rpc_named_arguments = |
|
|
|
core_json_rpc_named_arguments = |
|
|
|
json_rpc_named_arguments |
|
|
|
json_rpc_named_arguments |
|
|
|
|> put_in([:transport_options, :url], "https://core.poa.network") |
|
|
|
|> put_in([:transport_options, :url], "http://54.144.107.14:8545") |
|
|
|
|> put_in( |
|
|
|
|> put_in( |
|
|
|
[:transport_options, :method_to_url], |
|
|
|
[:transport_options, :method_to_url], |
|
|
|
eth_getBalance: "https://core-trace.poa.network", |
|
|
|
eth_getBalance: "http://54.144.107.14:8545", |
|
|
|
trace_replayTransaction: "https://core-trace.poa.network", |
|
|
|
trace_replayTransaction: "http://54.144.107.14:8545", |
|
|
|
trace_block: "https://core-trace.poa.network" |
|
|
|
trace_block: "http://54.144.107.14:8545" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
block_fetcher = %Indexer.Block.Fetcher{ |
|
|
|
block_fetcher = %Indexer.Block.Fetcher{ |
|
|
|