Conversation
are these not the standard json tests that all trie implementations check against? |
They are. I forgot about that. We can safely remove everything then :) |
only if they're still checked from the standard tests. and i don't think they are. |
I've added |
i'd prefer to keep the standard ethereum trie tests for completeness. they are part of the cross-client consensus tests suite and i see no reason to remove. |
Removed files are not a part of cross-client consensus tests. We never used cross-client consensus tests for trie, cause these tests are placed in 6 json files written in 3 different formats. Instead of using them directly I unified their format and placed them in We could add a module for parsing and running cross-client consensus tests, but imo it should not be a part of this pr |
only additional tests i see are the long random strings. where have those consensus-derived tests been moved to? |
All trie tests from ethereum/tests looks quite random. Anyway I've added a module, which is running all of them. link |
util/squeeze.rs
util/json_aid.rs
util/json-tests
module. It was originally created by me as a replacement for ethereum / tests.util/json-tests/json/trie/branching.json
triehash.rs
iterators (7 lines added)