openethereum/ethcore
David d9201aa6f2
Update JSON tests to d4f86ecf4aa7c (#11054)
* new ethereum consensus tests, #10908

* Update JSON tests to 725dbc73a

This PR reverts the controversial changes of the previous PR and skips the failing tests.

Maybe I misunderstand the suggested workaround of putting the fix under `#[cfg(test)]` but it seems odd to run different code in production than we run in tests. Instead here I suggest we skip the failing tests with the argument that we do not wish to fix this issue (at least not at this time) because it does not affect us. If I am wrong, and I likely am, I look forward to hearing why and what a better approach to updating the state tests is.

Branched off https://github.com/paritytech/parity-ethereum/pull/10923

ref #10908

* Update json test commit to 1dc9d20e97165708f7db0bbf2d1a87a6b4285827

* Fail with error message

* Handle missing r, s, v params in json tests
Light cleanup of json test runner

* Include the path to the test file

* Handle new `postState` format: string or map
Sort out tests
Missing docs

* WIP

* Include test-helpers from ethjson

* Sort out new paths

* Remove dead code

* Fix warnings stemming from code called only from macros
Skip failing tests in stRevert/ and stTransactionTest/ (too course a filter!)
Docs and light touch refactorings for readability

* Skip all failing tests

* Document the single-test-skipping madness

* Update tests to latest commit on the `develop` branch

* Rename test skipping types to reflect actual purpose

* Switch to skipping individual tests in currents.json
Add some logging to help debug skipping

* Fix rpc test by curve fitting to new json test source file

* Add refs to all issues for fixing failing&skipped json tests

* Sort out the need for Clone for tests

* [json-tests] populate state from genesis pod state (#11083)

* [json-tests] populate state from genesis pod state

* [json-tests] #11075 is resolved as well

* [json-tests] #11076 hopefully too

* [json-tests] #11077 🎉

* [json-tests] fix trailing comma

* Update ethcore/src/json_tests/chain.rs

Co-Authored-By: Andronik Ordian <write@reusable.software>

* Add issue numbers to TODOs

* Apply @ordians fix for wrong state_root

* Warn on invalid RLP

* Remove the `ci-skip-tests` feature
2019-09-25 10:02:04 +02:00
..
account-db Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
account-state Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
benches Fix ethcore/benches build. (#10964) 2019-08-13 15:27:28 +02:00
block-reward Extract spec to own crate (#10978) 2019-08-23 15:32:58 +02:00
blockchain Add new line after writing block to hex file. (#10984) 2019-09-09 13:46:05 +02:00
builtin [json-spec] make blake2 pricing spec more readable (#11034) 2019-09-10 17:52:04 +02:00
call-contract docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions (#10652) 2019-06-25 08:15:13 +02:00
client-traits Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
db Fix block detail updating (#11015) 2019-09-05 19:27:05 +02:00
engine Extract engines to own crates (#10966) 2019-08-22 18:25:49 +02:00
engines Fix parallel transactions race-condition (#10995) 2019-09-11 18:44:31 +02:00
evm Convert std::test benchmarks to use Criterion (#10999) 2019-09-05 19:28:01 +02:00
executive-state Extract spec to own crate (#10978) 2019-08-23 15:32:58 +02:00
light [ethcore]: move client test types to test-helpers (#11062) 2019-09-17 15:42:22 +01:00
machine [spec] add istanbul test spec (#11033) 2019-09-10 18:28:21 +02:00
node-filter Extract snapshot to own crate (#11010) 2019-09-03 11:29:25 +02:00
pod cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
private-tx [ethcore]: reduce re-exports (#11059) 2019-09-16 17:12:21 +02:00
res Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
service Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
snapshot Move snapshot related traits to their proper place (#11012) 2019-09-10 22:44:33 +02:00
spec Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
src Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00
state-db Extract snapshot to own crate (#11010) 2019-09-03 11:29:25 +02:00
sync [sync]: rust 2018 (#11067) 2019-09-19 13:12:07 +02:00
trace [trace] introduce trace failed to Ext (#11019) 2019-09-05 16:11:51 +02:00
trie-vm-factories Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
types add more tx tests (#11038) 2019-09-12 16:38:25 +02:00
verification [ethash] remove manual unrolling (#11069) 2019-09-24 11:45:28 +02:00
vm [trace] introduce trace failed to Ext (#11019) 2019-09-05 16:11:51 +02:00
wasm Fix some warnings and typos. (#10941) 2019-08-06 11:07:07 +02:00
Cargo.toml Update JSON tests to d4f86ecf4aa7c (#11054) 2019-09-25 10:02:04 +02:00