Skip to content

Commit

Permalink
Merge pull request #1494 from o1-labs/fix/lock-async-circuits
Browse files Browse the repository at this point in the history
Fix Pickles async circuits
  • Loading branch information
mitschabaude authored Apr 4, 2024
2 parents 8dde2c3 + f3388ee commit 260c30d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bindings
6 changes: 3 additions & 3 deletions src/tests/fake-proof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const RealProgram = ZkProgram({
methods: {
make: {
privateInputs: [UInt64],
method(value: UInt64) {
async method(value: UInt64) {
let expected = UInt64.from(34);
value.assertEquals(expected);
},
Expand All @@ -25,7 +25,7 @@ const RealProgram = ZkProgram({
const FakeProgram = ZkProgram({
name: 'fake',
methods: {
make: { privateInputs: [UInt64], method(_: UInt64) {} },
make: { privateInputs: [UInt64], async method(_: UInt64) {} },
},
});

Expand All @@ -36,7 +36,7 @@ const RecursiveProgram = ZkProgram({
methods: {
verifyReal: {
privateInputs: [RealProof],
method(proof: RealProof) {
async method(proof: RealProof) {
proof.verify();
},
},
Expand Down

0 comments on commit 260c30d

Please sign in to comment.