Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivo25 committed Oct 21, 2024
1 parent 50c52b5 commit 212f778
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/proof-system/cached-lagrange-basis.unit-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<undefined, Field>) {
return p.publicOutput.add(new Field(1));
return {
publicOutput: p.publicOutput.add(new Field(1)),
};
},
},
},
Expand Down

0 comments on commit 212f778

Please sign in to comment.