Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Update JSON tests to d4f86ecf4aa7c #11054

Merged
merged 30 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b745fa3
new ethereum consensus tests, #10908
debris Jul 28, 2019
bd0f53a
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
dvdplm Sep 13, 2019
9339d0d
Update JSON tests to 725dbc73a
dvdplm Sep 13, 2019
c9b638f
Update json test commit to 1dc9d20e97165708f7db0bbf2d1a87a6b4285827
dvdplm Sep 16, 2019
3d3b666
Fail with error message
dvdplm Sep 16, 2019
1c68b36
Handle missing r, s, v params in json tests
dvdplm Sep 18, 2019
1ab7ec6
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
dvdplm Sep 18, 2019
63bb992
Include the path to the test file
dvdplm Sep 18, 2019
6986fe8
Handle new `postState` format: string or map
dvdplm Sep 18, 2019
4fe800c
WIP
dvdplm Sep 19, 2019
21af38b
Include test-helpers from ethjson
dvdplm Sep 19, 2019
2f5de24
Sort out new paths
dvdplm Sep 19, 2019
8804d3f
Remove dead code
dvdplm Sep 19, 2019
b8bab18
Fix warnings stemming from code called only from macros
dvdplm Sep 19, 2019
7c78c84
Skip all failing tests
dvdplm Sep 19, 2019
ad68b3c
Document the single-test-skipping madness
dvdplm Sep 20, 2019
dfaee44
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
dvdplm Sep 20, 2019
c93f96e
Update tests to latest commit on the `develop` branch
dvdplm Sep 20, 2019
c9ae32e
Rename test skipping types to reflect actual purpose
dvdplm Sep 20, 2019
1a4c417
Switch to skipping individual tests in currents.json
dvdplm Sep 20, 2019
ff47886
Fix rpc test by curve fitting to new json test source file
dvdplm Sep 20, 2019
ef7675f
Add refs to all issues for fixing failing&skipped json tests
dvdplm Sep 20, 2019
1756291
Sort out the need for Clone for tests
dvdplm Sep 21, 2019
8d80635
[json-tests] populate state from genesis pod state (#11083)
Sep 23, 2019
70c45b1
Update ethcore/src/json_tests/chain.rs
dvdplm Sep 23, 2019
025e323
Add issue numbers to TODOs
dvdplm Sep 23, 2019
56a1069
Merge branch 'dp/chore/new-ethereum-consensus-tests' of github.com:pa…
dvdplm Sep 23, 2019
fa9f02a
Apply @ordians fix for wrong state_root
dvdplm Sep 23, 2019
8716813
Warn on invalid RLP
dvdplm Sep 23, 2019
eae76c6
Remove the `ci-skip-tests` feature
dvdplm Sep 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 49 additions & 2 deletions ethcore/res/ethereum/tests-issues/currents.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,51 @@
{
"block": [],
"state": []
"block": [
{
"reference": "TODO: Add an issue for these",
"failing": "stRevertTest",
"subtests": [
"RevertPrecompiledTouch_d0g0v0_Byzantium",
"RevertPrecompiledTouch_d0g0v0_Constantinople",
"RevertPrecompiledTouch_d0g0v0_EIP158",
"RevertPrecompiledTouchCC_d0g0v0_Byzantium",
"RevertPrecompiledTouchCC_d0g0v0_Constantinople",
"RevertPrecompiledTouchCC_d0g0v0_EIP158",
"RevertPrecompiledTouchDC_d0g0v0_Byzantium",
"RevertPrecompiledTouchDC_d0g0v0_Constantinople",
"RevertPrecompiledTouchDC_d0g0v0_EIP158"
]
}
],
"state": [
{
"reference": "TODO: Add an issue for these",
"failing": "stRevertTest",
"subtests": {
"RevertPrecompiledTouch_d0g0v0": {
"subnumbers": ["*"],
"chain": "Constantinople (test)"
}
}
},
{
"reference": "TODO: Add an issue for these",
"failing": "stRevertTest",
"subtests": {
"RevertPrecompiledTouchCC_d0g0v0": {
"subnumbers": ["*"],
"chain": "Constantinople (test)"
}
}
},
{
"reference": "TODO: Add an issue for these",
"failing": "stRevertTest",
"subtests": {
"RevertPrecompiledTouchDC_d0g0v0": {
"subnumbers": ["*"],
"chain": "Constantinople (test)"
}
}
}
]
}
2 changes: 1 addition & 1 deletion ethcore/src/json_tests/test_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn run_test_path<H: FnMut(&str, HookType)>(
let mut errors = Vec::new();
run_test_path_inner(p, skip, runner, start_stop_hook, &mut errors);
let empty: [String; 0] = [];
assert_eq!(errors, empty);
assert_eq!(errors, empty, "\nThere were {} tests in '{}' that failed.\nSkip list: {:?}\n", errors.len(), p.display(), skip);
}

fn run_test_path_inner<H: FnMut(&str, HookType)>(
Expand Down