problem: no response from proxy if upstream returned error

fix: #35
This commit is contained in:
Igor Artamonov
2020-07-20 00:30:52 -04:00
parent 1cca38a7bc
commit 8cefcbdb5e
29 changed files with 870 additions and 71 deletions

View File

@@ -0,0 +1,7 @@
= Testing Server
.Run from project root directory:
[source,bash]
----
./gradlew run --args="--configPath=./testing/dshackle/dshackle.yaml"
----

View File

@@ -0,0 +1,28 @@
version: v1
port: 12448
tls:
enabled: false
cluster:
upstreams:
- id: test-1
chain: ethereum
options:
disable-validation: true
connection:
ethereum:
rpc:
url: "http://localhost:18545"
cache:
redis:
enabled: false
proxy:
port: 18080
tls:
enabled: false
routes:
- id: eth
blockchain: ethereum