Skip to content

Commit

Permalink
Merge pull request #3471 from potuz/fix_kzg_format_desc
Browse files Browse the repository at this point in the history
fix test format descrition
  • Loading branch information
hwwhww committed Aug 3, 2023
2 parents 4814305 + b309903 commit fb6297b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/formats/kzg/verify_blob_kzg_proof_batch.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# 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

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)
```

- `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`.

Expand Down

0 comments on commit fb6297b

Please sign in to comment.