Skip to content

Commit

Permalink
fix proof enabled for zk program
Browse files Browse the repository at this point in the history
  • Loading branch information
phn210 committed Oct 5, 2024
1 parent 3a7e545 commit 7ebf7ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@auxo-dev/auxo-libs",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"author": "",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async function compile(
console.log('Current memory usage:', getMemoryUsage(), 'MB');
if (logger && logger.info) console.log(`Compiling ${program.name}...`);
if (profiler) profiler.start(`${program.name}.compile`);
if (proofsEnabled)
if (proofsEnabled !== undefined)
result = await program.compile({
cache,
forceRecompile,
Expand Down
7 changes: 0 additions & 7 deletions src/utils/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
State,
TokenId,
UInt64,
Void,
ZkProgram,
method,
state,
Expand Down Expand Up @@ -158,12 +157,6 @@ describe('Network', () => {
logger,
proofsEnabled: undefined,
});
await compile(TestProgram, {
cache,
profiler,
logger,
proofsEnabled: true,
});
});

it('Should deploy zkApp', async () => {
Expand Down

0 comments on commit 7ebf7ad

Please sign in to comment.