From 7ba238a1e85a19b2409e52bba938cc3c9bed2523 Mon Sep 17 00:00:00 2001 From: Potuz Date: Wed, 2 Aug 2023 10:40:10 -0300 Subject: [PATCH 1/2] fix test format descrition --- tests/formats/kzg/verify_blob_kzg_proof_batch.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/formats/kzg/verify_blob_kzg_proof_batch.md b/tests/formats/kzg/verify_blob_kzg_proof_batch.md index 3bcc74d6b..46d7f3345 100644 --- a/tests/formats/kzg/verify_blob_kzg_proof_batch.md +++ b/tests/formats/kzg/verify_blob_kzg_proof_batch.md @@ -8,9 +8,9 @@ The test data is declared in a `data.yaml` file: ```yaml input: - blob: List[Blob] -- the data blob - commitment: List[KZGCommitment] -- the KZG commitment to the data blob - proof: List[KZGProof] -- The KZG proof + blobs: List[Blob] -- the data blob + commitments: List[KZGCommitment] -- the KZG commitment to the data blob + proofs: List[KZGProof] -- The KZG proof output: bool -- true (all proofs are valid) or false (some proofs incorrect) ``` From b30990330f7117eaa1c71fff8d0f48669712a817 Mon Sep 17 00:00:00 2001 From: Potuz Date: Wed, 2 Aug 2023 14:16:31 -0300 Subject: [PATCH 2/2] Danny's fix --- tests/formats/kzg/verify_blob_kzg_proof_batch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/formats/kzg/verify_blob_kzg_proof_batch.md b/tests/formats/kzg/verify_blob_kzg_proof_batch.md index 46d7f3345..82e668497 100644 --- a/tests/formats/kzg/verify_blob_kzg_proof_batch.md +++ b/tests/formats/kzg/verify_blob_kzg_proof_batch.md @@ -1,6 +1,6 @@ # Test format: Verify blob KZG proof batch -Use the blob KZG proofs to verify that the KZG commitments for given `blob`s are correct +Use the blob KZG proofs to verify that the KZG commitments for given `blobs` are correct ## Test case format @@ -14,7 +14,7 @@ input: output: bool -- true (all proofs are valid) or false (some proofs incorrect) ``` -- `blob`s here are encoded as a string: hexadecimal encoding of `4096 * 32 = 131072` bytes, prefixed with `0x`. +- `blobs` here are encoded as a string: hexadecimal encoding of `4096 * 32 = 131072` bytes, prefixed with `0x`. All byte(s) fields are encoded as strings, hexadecimal encoding, prefixed with `0x`.