Skip to content

Commit

Permalink
fix: bench prover test (#9856)
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan authored Nov 8, 2024
1 parent 9978c97 commit 6f10be3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ describe('benchmarks/proving', () => {
schnorrWalletSalt = Fr.random();
schnorrWalletEncKey = Fr.random();
schnorrWalletSigningKey = Fq.random();

feeRecipient = CompleteAddress.random();
recipient = CompleteAddress.random();

const initialSchnorrWallet = await getSchnorrAccount(
ctx.pxe,
schnorrWalletEncKey,
Expand Down Expand Up @@ -113,9 +117,6 @@ describe('benchmarks/proving', () => {
initialTokenContract.methods.mint_public(initialSchnorrWallet.getAddress(), 1e12).send().wait(),
initialTokenContract.methods.mint_to_private(initialSchnorrWallet.getAddress(), 1e12).send().wait(),
]);

recipient = CompleteAddress.random();
feeRecipient = CompleteAddress.random();
});

// remove the fake prover and setup the real one
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/ivc-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"formatting:fix:types": "NODE_OPTIONS='--max-old-space-size=8096' run -T eslint --fix ./src/types && run -T prettier -w ./src/types",
"generate": "yarn generate:noir-circuits",
"generate:noir-circuits": "mkdir -p ./artifacts && cp -r ../../noir-projects/mock-protocol-circuits/target/* ./artifacts && node --no-warnings --loader ts-node/esm src/scripts/generate_declaration_files.ts && node --no-warnings --loader ts-node/esm src/scripts/generate_ts_from_abi.ts && run -T prettier -w ./src/types",
"test:non-browser":"NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --testPathIgnorePatterns=browser",
"test:non-browser": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --testPathIgnorePatterns=browser",
"test:browser": "./run_browser_tests.sh",
"test": "yarn test:non-browser",
"codegen": "yarn noir-codegen",
Expand Down

0 comments on commit 6f10be3

Please sign in to comment.