Skip to content

Commit

Permalink
smol doc fix for ProofTester
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Aug 5, 2024
1 parent 37d5288 commit 4f6e73b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,13 @@ describe('proof tester', () => {
// input signals and output signals can be given as type parameters
// this makes all functions type-safe!
let circuit: ProofTester<['in']>;
const protocol = 'plonk';
beforeAll(async () => {
const circomkit = new Circomkit({
protocol: 'plonk',
});
const circomkit = new Circomkit({protocol});
circomkit.instantiate(CIRCUIT_NAME, CIRCUIT_CONFIG);
await circomkit.setup(CIRCUIT_NAME, PTAU_PATH);
circuit = await circomkit.ProofTester(CIRCUIT_NAME);
circuit = await circomkit.ProofTester(CIRCUIT_NAME, protocol);
});
it('should verify a proof correctly', async () => {
Expand Down

0 comments on commit 4f6e73b

Please sign in to comment.