Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update and add unit tests for new consensus hashes #328
This pull request adds and updates the unit tests for consensus hashes and checkpoints.
In particular, the string generation is tested with empty objects and populated objects. The impact on the whole state (and thus consensus hash generation) is not well tested, due to the unhandiness of modifying the state (e.g. adding new orders etc.).
The checkpoint for a blank state and the mainnet genesis block was updated and is tested.
Brilliant, thanks dude! :)
I reviewed & tested and confirm all tests pass:
OK to merge :)