Skip to content

Commit

Permalink
docs: add comment about wonky blst error
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Oct 28, 2024
1 parent 54267e0 commit d30aa80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/aggregateWithRandomness.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ describe("Aggregate With Randomness", () => {
aggregateWithRandomness(
sets.concat({
pk: sets[0].pk,
sig: G2_POINT_AT_INFINITY, //TODO: (@matthewkeil) this throws error "Public key is infinity" not signature
//TODO: (@matthewkeil) this throws error "Public key is infinity" not signature because there is only one blst error
sig: G2_POINT_AT_INFINITY,
} as any)
)
).to.throw();
Expand Down Expand Up @@ -137,7 +138,8 @@ describe("Aggregate With Randomness", () => {
await asyncAggregateWithRandomness(
sets.concat({
pk: sets[0].pk,
sig: G2_POINT_AT_INFINITY, //TODO: (@matthewkeil) this throws error "Public key is infinity" not signature
//TODO: (@matthewkeil) this throws error "Public key is infinity" not signature because there is only one blst error
sig: G2_POINT_AT_INFINITY,
} as any)
);
expect.fail("should not get here");
Expand Down

0 comments on commit d30aa80

Please sign in to comment.