Skip to content

Commit

Permalink
fix(verify): align with api verify
Browse files Browse the repository at this point in the history
  • Loading branch information
nom4dv3 committed Nov 15, 2023
1 parent 38ba71d commit 9341946
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/zkgraph-cli/src/commands/verify.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// import fs from 'node:fs'
// @ts-expect-error non-types
import type { Error } from '@hyperoracle/zkgraph-api'
import { ZkGraphYaml, verify as verifyApi } from '@hyperoracle/zkgraph-api'
import { logger } from '../logger'
import { logDivider } from '../utils'
Expand All @@ -19,8 +20,9 @@ export async function verify(options: VerifyOptions) {
{ wasmUint8Array: null, zkgraphYaml },
taskId,
zkWasmProviderUrl,
true,
)
).catch((error: Error.ProofNotFound) => {
logger.error(`>> PROOF IS NOT READY. ${error.message}`)
})
logDivider()

if (verifyResult)
Expand Down

0 comments on commit 9341946

Please sign in to comment.