genesis_test: Numerous improvements #227
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Speed improvements:
Features and bugfixes:
"none"
from the node in the db, storing it instead asNULL
. genesis_test wasn't expecting the NULL.)NOTE: To create a genesis dump at a given height, you have to use a locally compiled oasis-node. The released binary has a bug that ignores the
--height
flag and snapshots the most recent height instead. Example:NOTE 2: genesis_test is still BROKEN. 1200 blocks in, the nodes are not tracked correctly. If I run the test at only one block after genesis, the test does pass. To be debugged later.
This is in preparation for parallelization in #179 -- we'll need to sanity-check any changes to processing.