File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "scripts" : {
2525 "run:tsc" : " node --experimental-strip-types" ,
26- "test" : " node --experimental-strip-types --import=./src/tests/setup.ts --test --test-force-exit" ,
26+ "test" : " node --experimental-strip-types --import=./src/tests/setup.ts --test --test-force-exit src/tests/*.test.ts " ,
2727 "bench" : " NODE_ENV=test npm run run:tsc -- ./src/tests/benchmark" ,
2828 "build" : " npm exec tsc -- -p tsconfig.build.json" ,
2929 "prepare" : " npm run build" ,
Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ export function generateGnarkWitness(
159159 : undefined ,
160160 blocks : input . noncesAndCounters . map ( n => ( {
161161 nonce : Base64 . fromUint8Array ( n . nonce ) ,
162- counter : n . counter
162+ counter : n . counter ,
163+ boundary : n . boundary || null
163164 } ) ) ,
164165 input : Base64 . fromUint8Array ( input . in ) ,
165166 toprf : generateTOPRFParams ( )
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ export type ZKTOPRFPublicSignals = {
160160export type BlockInfo = {
161161 nonce : ZKInputItem
162162 counter : number
163+ boundary : number | undefined
163164}
164165
165166export type ZKProofPublicSignals = {
You can’t perform that action at this time.
0 commit comments