update test name

This commit is contained in:
dancoffman 2022-11-09 12:14:44 -08:00
parent 2232b02329
commit 75f544cdba
No known key found for this signature in database
GPG Key ID: 47B1F53E36A9B3CC
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ describe("C-KZG", () => {
expect(verifyAggregateKzgProof(blobs, commitments, proof)).toBe(true); expect(verifyAggregateKzgProof(blobs, commitments, proof)).toBe(true);
}); });
it("throws an error when blobs is an empty array", () => { it("returns the identity (aka zero, aka neutral) element when blobs is an empty array", () => {
expect(computeAggregateKzgProof([]).toString()).toEqual( expect(computeAggregateKzgProof([]).toString()).toEqual(
[ [
192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,