mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-14 17:15:18 -05:00
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.