Merge pull request #3019 from poanetwork/vb-json-rpc-trannsport-var-rename

Rename ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT env var
pull/3020/head
Victor Baranov 5 years ago committed by GitHub
commit 8b3f4fd7cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/indexer/config/dev/ganache.exs
  2. 2
      apps/indexer/config/dev/geth.exs
  3. 2
      apps/indexer/config/dev/parity.exs
  4. 2
      apps/indexer/config/dev/rsk.exs
  5. 2
      apps/indexer/config/prod/ganache.exs
  6. 2
      apps/indexer/config/prod/geth.exs
  7. 2
      apps/indexer/config/prod/parity.exs
  8. 2
      apps/indexer/config/prod/rsk.exs

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -6,7 +6,7 @@ config :indexer,
receipts_concurrency: 1, receipts_concurrency: 1,
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -4,7 +4,7 @@ config :indexer,
block_interval: :timer.seconds(5), block_interval: :timer.seconds(5),
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

@ -6,7 +6,7 @@ config :indexer,
receipts_concurrency: 1, receipts_concurrency: 1,
json_rpc_named_arguments: [ json_rpc_named_arguments: [
transport: transport:
if(System.get_env("ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT", "http") == "http", if(System.get_env("ETHEREUM_JSONRPC_TRANSPORT", "http") == "http",
do: EthereumJSONRPC.HTTP, do: EthereumJSONRPC.HTTP,
else: EthereumJSONRPC.IPC else: EthereumJSONRPC.IPC
), ),

Loading…
Cancel
Save