From c7f03749e06f8412075a516051b441b64697e482 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 15 Jan 2024 14:57:25 -0300 Subject: [PATCH] Formatting fixes --- yarn-project/accounts/scripts/copy-contracts.sh | 2 ++ .../acir-simulator/src/client/private_execution.test.ts | 2 -- yarn-project/noir-compiler/src/cli/codegen.ts | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/yarn-project/accounts/scripts/copy-contracts.sh b/yarn-project/accounts/scripts/copy-contracts.sh index 8c6b0e75332..6c7559dd49d 100755 --- a/yarn-project/accounts/scripts/copy-contracts.sh +++ b/yarn-project/accounts/scripts/copy-contracts.sh @@ -7,3 +7,5 @@ contracts=(schnorr_account_contract-SchnorrAccount ecdsa_account_contract-EcdsaA for contract in "${contracts[@]}"; do cp "../noir-contracts/target/$contract.json" ./src/artifacts/${contract#*-}.json done + +yarn formatting:fix \ No newline at end of file diff --git a/yarn-project/acir-simulator/src/client/private_execution.test.ts b/yarn-project/acir-simulator/src/client/private_execution.test.ts index bf1c8b21c6b..becd6a0f73c 100644 --- a/yarn-project/acir-simulator/src/client/private_execution.test.ts +++ b/yarn-project/acir-simulator/src/client/private_execution.test.ts @@ -235,8 +235,6 @@ describe('Private Execution test suite', () => { it('should have a constructor with arguments that inserts notes', async () => { const artifact = getFunctionArtifact(StatefulTestContractArtifact, 'constructor'); - console.log('ARTIFACT BYTECODE', artifact.bytecode); - const result = await runSimulator({ args: [owner, 140], artifact }); expect(result.newNotes).toHaveLength(1); diff --git a/yarn-project/noir-compiler/src/cli/codegen.ts b/yarn-project/noir-compiler/src/cli/codegen.ts index 5d0234a7f84..19c90f0a551 100644 --- a/yarn-project/noir-compiler/src/cli/codegen.ts +++ b/yarn-project/noir-compiler/src/cli/codegen.ts @@ -43,15 +43,12 @@ function generateFromNoirAbi(outputPath: string, noirAbiPath: string, opts: Gene } if (ts) { - console.log('OUT', outputPath); let relativeArtifactPath = path.relative(outputPath, noirAbiPath); if (relativeArtifactPath === path.basename(noirAbiPath)) { // Prepend ./ for local import if the folder is the same relativeArtifactPath = `./${relativeArtifactPath}`; } - console.log(`PATHS`, path.dirname(outputPath), noirAbiPath, relativeArtifactPath); - const tsWrapper = generateTypescriptContractInterface(aztecAbi, relativeArtifactPath); writeFileSync(`${outputPath}/${aztecAbi.name}.ts`, tsWrapper); }