Skip to content

Commit

Permalink
chore(poseidon-proof): pin artifacts version (#309)
Browse files Browse the repository at this point in the history
re 308
  • Loading branch information
sripwoud authored Jul 25, 2024
1 parent e0bbf2f commit 5f6c514
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/poseidon-proof/src/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export default async function generate(

// allow user to override our artifacts
// otherwise they'll be downloaded if not already in local tmp folder
snarkArtifacts ??= await maybeGetSnarkArtifacts(Project.POSEIDON, { parameters: [preimages.length] })
snarkArtifacts ??= await maybeGetSnarkArtifacts(Project.POSEIDON, {
parameters: [preimages.length],
version: "1.0.0-beta.1"
})
const { wasm, zkey } = snarkArtifacts

const { proof, publicSignals } = await groth16.fullProve(
Expand Down

0 comments on commit 5f6c514

Please sign in to comment.