-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use raw Bool for JSON responses, better web3 testing harness (#456)
* data, driver, web3: Int and Bool are valid JSON * web3: "true" => true * tests/web3/eth_newBlockFilter: add test of non-existent filter * Makefile, tests/web3: handle diffing output in Makefile * .gitignore: ignore temporary output * tests/web3: update expected output
- Loading branch information
Showing
29 changed files
with
22 additions
and
22 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 |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
/package/pkg | ||
/package/src | ||
/media/*.pdf | ||
/tests/web3/*.out.json | ||
/tests/web3/*/*.out.json |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
[{"jsonrpc":"2.0","id":1,"result":"0x0"},{"jsonrpc":"2.0","id":2,"result":"0x1"},{"jsonrpc":"2.0","id":3,"result":true},{"jsonrpc":"2.0","id":4,"result":true},{"jsonrpc":"2.0","id":4,"result":false}] |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[{"jsonrpc":"2.0", "method":"eth_newBlockFilter", "params":[], "id":1}, | ||
{"jsonrpc":"2.0", "method":"eth_newBlockFilter", "params":[], "id":2}, | ||
{"jsonrpc":"2.0", "method":"eth_uninstallFilter", "params":["0x0"], "id":3}, | ||
{"jsonrpc":"2.0", "method":"eth_uninstallFilter", "params":["0x1"], "id":4}] | ||
[{"jsonrpc":"2.0", "method":"eth_newBlockFilter", "params":[], "id":1}, | ||
{"jsonrpc":"2.0", "method":"eth_newBlockFilter", "params":[], "id":2}, | ||
{"jsonrpc":"2.0", "method":"eth_uninstallFilter", "params":["0x0"], "id":3}, | ||
{"jsonrpc":"2.0", "method":"eth_uninstallFilter", "params":["0x1"], "id":4}, | ||
{"jsonrpc":"2.0", "method":"eth_uninstallFilter", "params":["0x2"], "id":4}] |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/web3/evm_increaseTime.out.json → tests/web3/evm_increaseTime.expected.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"jsonrpc":"2.0","id":1,"result":"0x0"}{"jsonrpc":"2.0","id":2,"result":"100"}{"jsonrpc":"2.0","id":3,"result":"300"}{"jsonrpc":"2.0","id":4,"result":"true"}{"jsonrpc":"2.0","id":5,"result":"350"} | ||
{"jsonrpc":"2.0","id":1,"result":"0x0"}{"jsonrpc":"2.0","id":2,"result":"100"}{"jsonrpc":"2.0","id":3,"result":"300"}{"jsonrpc":"2.0","id":4,"result":true}{"jsonrpc":"2.0","id":5,"result":"350"} |
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 @@ | ||
{"jsonrpc":"2.0","id":1,"result":"0x0"}{"jsonrpc":"2.0","id":2,"result":"0x1"}{"jsonrpc":"2.0","id":3,"result":true}{"jsonrpc":"2.0","id":4,"result":"0x1"} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/web3/evm_revert2.out.json → tests/web3/evm_revert2.expected.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"jsonrpc":"2.0","id":1,"result":"0x0"}{"jsonrpc":"2.0","id":2,"result":"0x1"}{"jsonrpc":"2.0","id":3,"result":"0x2"}{"jsonrpc":"2.0","id":4,"result":"true"}{"jsonrpc":"2.0","id":5,"result":"0x1"} | ||
{"jsonrpc":"2.0","id":1,"result":"0x0"}{"jsonrpc":"2.0","id":2,"result":"0x1"}{"jsonrpc":"2.0","id":3,"result":"0x2"}{"jsonrpc":"2.0","id":4,"result":true}{"jsonrpc":"2.0","id":5,"result":"0x1"} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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