mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:25:04 -05:00
Add hash_tree_root tests against py-ssz
This commit is contained in:
@@ -31,3 +31,4 @@ def test_decoder():
|
||||
|
||||
# and see if the hash-tree-root of the original matches the hash-tree-root of the decoded & translated value.
|
||||
assert spec_ssz_impl.hash_tree_root(original) == spec_ssz_impl.hash_tree_root(block)
|
||||
assert spec_ssz_impl.hash_tree_root(original) == block_sedes.get_hash_tree_root(raw_value)
|
||||
|
||||
Reference in New Issue
Block a user