solution: integration test with Rinkeby
This commit is contained in:
@@ -63,7 +63,7 @@ export DSHACKLE_TEST_ETH1_WS=ws://127.0.0.1:8546
|
||||
export DSHACKLE_TEST_ETH1_WSORIGIN=http://127.0.0.1:8546
|
||||
----
|
||||
|
||||
Finally, run the dDshackle instance:
|
||||
Finally, run the Dshackle instance:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
@@ -77,4 +77,28 @@ Finally, run the dDshackle instance:
|
||||
./testing/trial/gradlew -p testing/trial -PdshackleTrialMode=real cleanTest test
|
||||
----
|
||||
|
||||
== Real (Rinkeby) Test
|
||||
|
||||
Runs requests against a Rinkeby Testnet.
|
||||
Configuration is similar to the Mainnet config, but instead of `ETH1` is has `RINKEBY`.
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
export DSHACKLE_TEST_RINKEBY_RPC=
|
||||
export DSHACKLE_TEST_RINKEBY_WS=
|
||||
export DSHACKLE_TEST_RINKEBY_WSORIGIN=
|
||||
----
|
||||
|
||||
And run the Dshackle instance:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
./gradlew run --args="--configPath=./testing/dshackle/dshackle-rinkeby.yaml"
|
||||
----
|
||||
|
||||
=== Run tests
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
./testing/trial/gradlew -p testing/trial -PdshackleTrialMode=rinkeby cleanTest test
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user