We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In addition to plain SSZ tests, we need standardized tests for the related tree hashing algorithm following the general test format. Proposed format:
tree_hashing
type: <type def string> value: <value to hash> result: <tree hash>
For type and value definition, we use the same format as in the SSZ tests.
The result is encoded as hex with a 0x prefix.
0x
title: uint tree hashing test_suite: tree_hashing fork: all version: "0.1" test_cases: - type: uint8 value: 0 result: "0x0000000000000000000000000000000000000000000000000000000000000000" - type: uint384 value: 0 result: "0xc980e59163ce244bb4bb6211f48c7b46f88a4f40943e84eb99bdc41e129bd293"
The text was updated successfully, but these errors were encountered:
What's an example of the format for a container type?
EDIT: They are specified in #8! whoops
Sorry, something went wrong.
No branches or pull requests
In addition to plain SSZ tests, we need standardized tests for the related tree hashing algorithm following the general test format. Proposed format:
Test suite name
tree_hashing
Test case format
For type and value definition, we use the same format as in the SSZ tests.
The result is encoded as hex with a
0x
prefix.Example
The text was updated successfully, but these errors were encountered: