Merge pull request #3079 from poanetwork/vb-optional-webosocket-for-geth

Extend optionality of websockets to Geth
pull/3084/head
Victor Baranov 5 years ago committed by GitHub
commit 0b47f9b6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/indexer/config/dev/geth.exs
  3. 2
      apps/indexer/config/prod/geth.exs

@ -15,6 +15,7 @@
- [#2756](https://github.com/poanetwork/blockscout/pull/2756) - Improve subquery joins
### Chore
- [#3079](https://github.com/poanetwork/blockscout/pull/3079) - Extend optionality of websockets to Geth
## 3.1.1-beta

@ -16,7 +16,7 @@ config :indexer,
variant: EthereumJSONRPC.Geth
],
subscribe_named_arguments: [
transport: EthereumJSONRPC.WebSocket,
transport: System.get_env("ETHEREUM_JSONRPC_WS_URL") && EthereumJSONRPC.WebSocket,
transport_options: [
web_socket: EthereumJSONRPC.WebSocket.WebSocketClient,
url: System.get_env("ETHEREUM_JSONRPC_WS_URL")

@ -16,7 +16,7 @@ config :indexer,
variant: EthereumJSONRPC.Geth
],
subscribe_named_arguments: [
transport: EthereumJSONRPC.WebSocket,
transport: System.get_env("ETHEREUM_JSONRPC_WS_URL") && EthereumJSONRPC.WebSocket,
transport_options: [
web_socket: EthereumJSONRPC.WebSocket.WebSocketClient,
url: System.get_env("ETHEREUM_JSONRPC_WS_URL")

Loading…
Cancel
Save