mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-09 18:25:47 +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.
238 B
238 B
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.