mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-31 04:45:12 +00:00
e7317e2283
Building merkle proofs is required functionality for implementing light client sync. Although the spec currently only defines a function to verify merkle proofs (`is_valid_merkle_branch`) there are still a few PySpec unit tests that produce merkle proofs. This patch adds a new generator to extract test vectors from those static unit tests, so that light client implementations can validate their merkle proof logic.
7 lines
238 B
Markdown
7 lines
238 B
Markdown
# Merkle
|
|
|
|
The purpose of this test-generator is to provide test-vectors for validating the
|
|
correct merkleization of objects and corresponding merkle proofs.
|
|
|
|
Test-format documentation can be found [here](../../formats/merkle/README.md).
|