Skip to content

Blob accumulation is underconstrained #15310

Closed

Description

@TomAFrench

See related issue: noir-lang/noir_bigcurve#77

Blob batching relies on this function in order to add points into the accumulator:

c_acc: self.c_acc.add(other.c_i.point.mul(BLS12_381Scalar::from_bignum(
self.gamma_pow_acc,
))),

Opening an issue here to flag that the protocol circuits are underconstrained and should be updated once the above issue is fixed.

cc @MirandaWood

Activity

  1. MirandaWood commented on Jun 27, 2025

    @MirandaWood
    Contributor

    Thank you for flagging this! I didn't realise from_bignum was underconstrained - if we want a quick fix in a-p, could we instead have an unconstrained helper to return the scalar and use into_bignum then check equality? (I don't see anything suggesting into_bignum isn't constrained).
    @iAmMichaelConnor for info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions