aztec-packages icon indicating copy to clipboard operation
aztec-packages copied to clipboard

feat: blob batching methods (ts)

Open MirandaWood opened this issue 9 months ago • 1 comments

Ts only blob batching methods plus tests. Points to the parent methods PR: #13583.

TODOs (Marked in files as TODO(MW)):

  • [ ] Remove the large trusted setup file? Not sure if it's required, but it is currently the only way I show in tests that our BLS12 methods match those in c-kzg.
  • [x] Add nr fixture where we can use updateInlineTestData for point compression.

Other TODOs must wait until we actually integrate batching, otherwise I will break the repo.

NB: The files bls12_fields.ts and bls12_point.ts and their tests are essentially copies of ./fields.ts and ./point.ts. When reviewing please keep that in mind and double check the original file if you see an issue before commenting (@iAmMichaelConnor ;) ).


PR Stack

  • [ ] mw/blob-batching <- main feature
  • [ ] ^ mw/blob-batching-bls-utils <- BLS12-381 bigcurve and bignum utils (noir) (#13583)
  • [x] ^ mw/blob-batching-bls-utils-ts <- BLS12-381 bigcurve and bignum utils (ts) (#13606)
  • [ ] ^ mw/blob-batching-integration <- Integrate batching into noir protocol circuits (#13817)
  • [ ] ^ mw/blob-batching-integration-ts-sol <- Integrate batching into ts and solidity (#14329)

MirandaWood avatar Apr 16 '25 13:04 MirandaWood

(Oh, I haven't reviewed the nr files that got merged into this PR. Would you like me to? Or should I wait?)

iAmMichaelConnor avatar Apr 22 '25 13:04 iAmMichaelConnor