diff --git a/src/bindings b/src/bindings index eabe07a935..d779882a38 160000 --- a/src/bindings +++ b/src/bindings @@ -1 +1 @@ -Subproject commit eabe07a9353c931d72647ae486acff31de781851 +Subproject commit d779882a38eac79703cc7215cf9bc5fc0cd5cd65 diff --git a/src/lib/provable/gadgets/elliptic-curve.ts b/src/lib/provable/gadgets/elliptic-curve.ts index 543d112a01..d278f3cd16 100644 --- a/src/lib/provable/gadgets/elliptic-curve.ts +++ b/src/lib/provable/gadgets/elliptic-curve.ts @@ -11,6 +11,7 @@ import { } from '../../../bindings/crypto/bigint-helpers.js'; import { CurveAffine, + GroupAffine, affineAdd, affineDouble, } from '../../../bindings/crypto/elliptic-curve.js'; @@ -393,7 +394,7 @@ function multiScalarMulConstant( // TODO dedicated MSM let s = scalars.map(Field3.toBigint); let P = points.map(Point.toBigint); - let sum = Curve.zero; + let sum: GroupAffine = Curve.zero; for (let i = 0; i < n; i++) { if (useGlv) { sum = Curve.add(sum, Curve.Endo.scale(P[i], s[i])); diff --git a/src/mina b/src/mina index b6b427ab9c..02accb5bc5 160000 --- a/src/mina +++ b/src/mina @@ -1 +1 @@ -Subproject commit b6b427ab9c2c30f76e4dbaa51925f8eb1a66552f +Subproject commit 02accb5bc5bd152b5b849d864b3339ada56ef891