-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solution: make sure eth_call works with block ref and error response
- Loading branch information
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
= Dshackle Integration Testing | ||
|
||
Test for a correct work using a simulation of different upstream behaviours and checking the Dshackle against it. | ||
|
||
.Modules: | ||
- `dshackle` - Dshackle config used for testing environment | ||
- `simple-upstream` - upstream simulator with predefines responses | ||
- `trial` - actual tests | ||
== How to run | ||
|
||
NOTE: Run commands in project's root dir | ||
|
||
=== Run upstream emulator | ||
|
||
[source,bash] | ||
---- | ||
cd testing/simple-upstream && ./gradlew run | ||
---- | ||
|
||
=== Run Dshackle | ||
|
||
[source,bash] | ||
---- | ||
./gradlew run --args="--configPath=./testing/dshackle/dshackle.yaml" | ||
---- | ||
|
||
or, if you want to make sure you compile and use version with your latest changes (usually unnecessary, but still): | ||
|
||
[source,bash] | ||
---- | ||
./gradlew clean compileKotlin run --args="--configPath=./testing/dshackle/dshackle.yaml" | ||
---- | ||
|
||
=== Run tests | ||
|
||
[source,bash] | ||
---- | ||
cd testing/trial && ./gradlew check | ||
---- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters