From 212f778a3d92894010f9da7397cc01fa8560448b Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 21 Oct 2024 22:10:37 +0300 Subject: [PATCH] fix test --- src/lib/proof-system/cached-lagrange-basis.unit-test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/proof-system/cached-lagrange-basis.unit-test.ts b/src/lib/proof-system/cached-lagrange-basis.unit-test.ts index ef6cbd751..c16becfe9 100644 --- a/src/lib/proof-system/cached-lagrange-basis.unit-test.ts +++ b/src/lib/proof-system/cached-lagrange-basis.unit-test.ts @@ -14,13 +14,17 @@ const exampleProgram = ZkProgram({ init: { privateInputs: [], async method() { - return new Field(0); + return { + publicOutput: new Field(0), + }; }, }, run: { privateInputs: [SelfProof], async method(p: SelfProof) { - return p.publicOutput.add(new Field(1)); + return { + publicOutput: p.publicOutput.add(new Field(1)), + }; }, }, },