diff --git a/docs/docs/dev_docs/contracts/compiling.md b/docs/docs/dev_docs/contracts/compiling.md index 83faaded941..2e44cc917b7 100644 --- a/docs/docs/dev_docs/contracts/compiling.md +++ b/docs/docs/dev_docs/contracts/compiling.md @@ -132,7 +132,6 @@ npm install @aztec/noir-compiler The compiler exposes the following functions: - `compileUsingNargo`: Compiles a Noir project in the target folder using the `nargo` binary available on the shell `PATH` and returns the generated ABIs. -- `compileUsingNoirWasm`: Compiles a Noir project in the target folder using an embedded noir-wasm package and returns the generated ABIs. - `generateTypescriptContractInterface`: Generates a typescript class for the given contract ABI. - `generateNoirContractInterface`: Generates a Noir interface struct for the given contract ABI. diff --git a/yarn-project/noir-compiler/README.md b/yarn-project/noir-compiler/README.md index 525cdc9316f..9e6fa3796a1 100644 --- a/yarn-project/noir-compiler/README.md +++ b/yarn-project/noir-compiler/README.md @@ -1,6 +1,6 @@ # Aztec Noir compiler -The Aztec noir compiler compiles noir contracts using nargo or noir_wasm and outputs Aztec formatted contract ABIs. The compiler can also generate typescript classes for each contract, as well as Noir interfaces for calling external functions. +The Aztec noir compiler compiles noir contracts using nargo and outputs Aztec formatted contract ABIs. The compiler can also generate typescript classes for each contract, as well as Noir interfaces for calling external functions. ## Installation diff --git a/yarn-project/noir-compiler/package.json b/yarn-project/noir-compiler/package.json index 422f30f31dd..f6432bd3dc2 100644 --- a/yarn-project/noir-compiler/package.json +++ b/yarn-project/noir-compiler/package.json @@ -39,8 +39,6 @@ }, "dependencies": { "@aztec/foundation": "workspace:^", - "@noir-lang/noir-source-resolver": "1.1.1", - "@noir-lang/noir_wasm": "0.5.1-9740f54", "base64-js": "^1.5.1", "commander": "^9.0.0", "fs-extra": "^11.1.1", diff --git a/yarn-project/noir-compiler/src/__snapshots__/index.test.ts.snap b/yarn-project/noir-compiler/src/__snapshots__/index.test.ts.snap index b1c493ce78f..4a4607ed288 100644 --- a/yarn-project/noir-compiler/src/__snapshots__/index.test.ts.snap +++ b/yarn-project/noir-compiler/src/__snapshots__/index.test.ts.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`noir-compiler using nargo binary compiles the test contract using nargo 1`] = ` +exports[`noir-compiler using nargo binary compiles the test contract 1`] = ` [ { "functions": [ @@ -22,7 +22,7 @@ exports[`noir-compiler using nargo binary compiles the test contract using nargo "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f", }, { - "bytecode": "H4sIAAAAAAAA/62QwQ2AMAwDHaMW9cMswASswv5LACJSrUh9Nf5clIedmAAMvxZ02WBuziq7y7lPqkpWlmd5PUq4/ROdm//C1NzzbtInJZ+h6zX0m/n8EX1N+ACVdVHV+QEAAA==", + "bytecode": "H4sIAAAAAAAA/6WOSwqAMAwFU0+Ub5vsvEqL6f2PIKKCIK6czcBbPGYBgAJv7m29LFhVs3GSUEeO4YZqozo5mdvGLpKu3mJEwyCVpGkhE0/K4wt/wf2r9fAOFP9TANAAAAA=", "functionType": "open", "isInternal": false, "name": "openFunction", @@ -40,47 +40,7 @@ exports[`noir-compiler using nargo binary compiles the test contract using nargo ] `; -exports[`noir-compiler using noir wasm compiles the test contract using wasm 1`] = ` -[ - { - "functions": [ - { - "bytecode": "AAAAAAYAAAABAAAAAgAAAAIAAAADAAAABQAAAAIAAAABBQABAAAAAQAAAP4AAAACAAAAAwAAAAQAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQIAAAAwZE5y4TGgKbhQRbaBgVhdKDPoSHm5cJFD4fWT8AAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "functionType": "secret", - "isInternal": false, - "name": "constructor", - "parameters": [ - { - "name": "pub_param", - "type": { - "kind": "field", - }, - "visibility": "public", - }, - ], - "returnTypes": [], - "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f", - }, - { - "bytecode": "AAAAAAIAAAAAAAAAAQAAAAEAAAABAAAAAAAAAAABAAAAMGROcuExoCm4UEW2gYFYXSgz6Eh5uXCRQ+H1k/AAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACo=", - "functionType": "open", - "isInternal": false, - "name": "openFunction", - "parameters": [], - "returnTypes": [ - { - "kind": "field", - }, - ], - "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f", - }, - ], - "name": "TestContract", - }, -] -`; - -exports[`noir-compiler using noir wasm generates noir external interface 1`] = ` +exports[`noir-compiler using nargo binary generates noir external interface 1`] = ` "/* Autogenerated file, do not edit! */ use dep::std; @@ -113,7 +73,7 @@ impl TestContractContractInterface { " `; -exports[`noir-compiler using noir wasm generates typescript interface 1`] = ` +exports[`noir-compiler using nargo binary generates typescript interface 1`] = ` " /* Autogenerated file, do not edit! */ diff --git a/yarn-project/noir-compiler/src/cli/contract.ts b/yarn-project/noir-compiler/src/cli/contract.ts index 8b144c858aa..9f758dc975c 100644 --- a/yarn-project/noir-compiler/src/cli/contract.ts +++ b/yarn-project/noir-compiler/src/cli/contract.ts @@ -5,12 +5,7 @@ import { writeFileSync } from 'fs'; import { mkdirpSync } from 'fs-extra'; import path, { resolve } from 'path'; -import { - compileUsingNargo, - compileUsingNoirWasm, - generateNoirContractInterface, - generateTypescriptContractInterface, -} from '../index.js'; +import { compileUsingNargo, generateNoirContractInterface, generateTypescriptContractInterface } from '../index.js'; /** * Registers a 'contract' command on the given commander program that compiles a Noir contract project. @@ -23,8 +18,6 @@ export function compileContract(program: Command, name = 'contract', log: LogFn .command(name) .argument('', 'Path to the noir project to compile') .option('-o, --outdir', 'Output folder for the binary artifacts, relative to the project path', 'target') - .option('--wasm', 'Use noir-wasm for compiling the contract', false) - .option('--nargo', 'Call to nargo binary in path for compiling the contract', true) .option('-ts, --typescript ', 'Optional output folder for generating typescript wrappers', undefined) .option('-i, --interface ', 'Optional output folder for generating noir contract interface', undefined) .description('Compiles the contracts in the target project') @@ -34,21 +27,17 @@ export function compileContract(program: Command, name = 'contract', log: LogFn projectPath: string, /* eslint-disable jsdoc/require-jsdoc */ options: { - wasm: boolean; - nargo: boolean; outdir: string; typescript: string | undefined; interface: string | undefined; }, /* eslint-enable jsdoc/require-jsdoc */ ) => { - const { wasm, nargo, outdir, typescript, interface: noirInterface } = options; - if (wasm && nargo) throw new Error(`Cannot use both wasm and nargo for building`); - if (!wasm && !nargo) throw new Error(`Must choose either wasm or nargo for building`); + const { outdir, typescript, interface: noirInterface } = options; if (typeof projectPath !== 'string') throw new Error(`Missing project path argument`); const currentDir = process.cwd(); - const compile = wasm ? compileUsingNoirWasm : compileUsingNargo; + const compile = compileUsingNargo; log(`Compiling contracts...`); const result = await compile(projectPath); diff --git a/yarn-project/noir-compiler/src/compile/wasm.ts b/yarn-project/noir-compiler/src/compile/wasm.ts deleted file mode 100644 index d20e06299f2..00000000000 --- a/yarn-project/noir-compiler/src/compile/wasm.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* eslint-disable camelcase */ -import noirResolver from '@noir-lang/noir-source-resolver'; -import { compile } from '@noir-lang/noir_wasm'; -import { fromByteArray } from 'base64-js'; -import fsSync from 'fs'; -import fs from 'fs/promises'; -import nodePath from 'path'; -import toml from 'toml'; - -import { NoirCompiledContract } from '../noir_artifact.js'; - -/** A dependency entry of Nargo.toml. */ -interface Dependency { - /** Path to the dependency. */ - path?: string; - /** Git repository of the dependency. */ - git?: string; -} - -/** - * A class that compiles noir contracts using the noir wasm package. - */ -export class WasmContractCompiler { - constructor(private projectPath: string) {} - - /** - * Compiles the contracts in projectPath and returns the Noir artifact. - * @returns Noir artifact of the compiled contracts. - */ - public compile(): Promise { - return this.compileNoir(); - } - - /** - * Reads the dependencies of a noir crate. - * @param cratePath - Path to the noir crate. - * @returns A map of dependencies. - */ - private async readDependencies(cratePath: string) { - const { dependencies } = toml.parse( - await fs.readFile(nodePath.join(cratePath, 'Nargo.toml'), { encoding: 'utf8' }), - ); - return (dependencies || {}) as Record; - } - - /** - * Cleans up wasm output and formats it to match nargo output. - * @param contract - A contract as outputted by wasm. - * @returns A nargo-like contract artifact. - */ - private cleanUpWasmOutput(contract: any): NoirCompiledContract { - return { - ...contract, - functions: contract.functions.map((fn: any) => ({ - ...fn, - is_internal: !!fn.is_internal, // noir wasm may return undefined for is_internal - bytecode: fromByteArray(fn.bytecode), // wasm returns Uint8Array instead of base64-encoded bytecode - })), - }; - } - - /** - * Executes the noir compiler. - * @returns A list of compiled noir contracts. - */ - private async compileNoir(): Promise { - const dependenciesMap = await this.readDependencies(this.projectPath); - - /** - * The resolver receives a relative path, and the first part of the path can be a dependency name. - * If the dependency is found in the map, the rest of the path inside that dependency src folder. - * Otherwise, resolve the full relative path requested inside the project path. - */ - noirResolver.initialiseResolver((id: string) => { - const idParts = id.split('/'); - - let path; - if (dependenciesMap[idParts[0]]) { - const [dependencyName, ...dependencySubpathParts] = idParts; - const dependency = dependenciesMap[dependencyName]; - if (!dependency.path) { - throw new Error(`Don't know how to resolve dependency ${dependencyName}`); - } - path = nodePath.resolve(this.projectPath, dependency.path, 'src', dependencySubpathParts.join('/')); - } else { - path = nodePath.join(this.projectPath, 'src', idParts.join('/')); - } - - // The resolver does not support async resolution - // and holding the whole project in memory is not reasonable - const result = fsSync.readFileSync(path, { encoding: 'utf8' }); - return result; - }); - - const result = await compile({ - contracts: true, - optional_dependencies_set: Object.keys(dependenciesMap), // eslint-disable-line camelcase - }); - - return result.map(this.cleanUpWasmOutput); - } -} diff --git a/yarn-project/noir-compiler/src/index.test.ts b/yarn-project/noir-compiler/src/index.test.ts index cb503f9075a..d68ac0961fd 100644 --- a/yarn-project/noir-compiler/src/index.test.ts +++ b/yarn-project/noir-compiler/src/index.test.ts @@ -4,12 +4,7 @@ import { execSync } from 'child_process'; import path from 'path'; import { fileURLToPath } from 'url'; -import { - compileUsingNargo, - compileUsingNoirWasm, - generateNoirContractInterface, - generateTypescriptContractInterface, -} from './index.js'; +import { compileUsingNargo, generateNoirContractInterface, generateTypescriptContractInterface } from './index.js'; function isNargoAvailable() { try { @@ -30,19 +25,12 @@ describe('noir-compiler', () => { }); describeIf(isNargoAvailable)('using nargo binary', () => { - it('compiles the test contract using nargo', async () => { - const compiled = await compileUsingNargo(projectPath); - expect(compiled).toMatchSnapshot(); - }); - }); - - describe('using noir wasm', () => { let compiled: ContractAbi[]; beforeAll(async () => { - compiled = await compileUsingNoirWasm(projectPath); + compiled = await compileUsingNargo(projectPath); }); - it('compiles the test contract using wasm', () => { + it('compiles the test contract', () => { expect(compiled).toMatchSnapshot(); }); diff --git a/yarn-project/noir-compiler/src/index.ts b/yarn-project/noir-compiler/src/index.ts index 1029b7f4360..bade7654a79 100644 --- a/yarn-project/noir-compiler/src/index.ts +++ b/yarn-project/noir-compiler/src/index.ts @@ -1,22 +1,11 @@ import { ContractAbi } from '@aztec/foundation/abi'; import { CompileOpts, NargoContractCompiler } from './compile/nargo.js'; -import { WasmContractCompiler } from './compile/wasm.js'; import { generateAztecAbi } from './contract-interface-gen/abi.js'; -export { generateAztecAbi }; export { generateNoirContractInterface } from './contract-interface-gen/noir.js'; export { generateTypescriptContractInterface } from './contract-interface-gen/typescript.js'; - -/** - * Compile Noir contracts in project path using the noir-lang/noir-wasm package. - * @param projectPath - Path to project. - * @param opts - Compiler options. - * @returns Compiled artifacts. - */ -export async function compileUsingNoirWasm(projectPath: string): Promise { - return (await new WasmContractCompiler(projectPath).compile()).map(generateAztecAbi); -} +export { generateAztecAbi }; /** * Compile Noir contracts in project path using a nargo binary available in the shell. diff --git a/yarn-project/yarn.lock b/yarn-project/yarn.lock index e2337ca9cfd..a1c2bf62ad0 100644 --- a/yarn-project/yarn.lock +++ b/yarn-project/yarn.lock @@ -526,8 +526,6 @@ __metadata: dependencies: "@aztec/foundation": "workspace:^" "@jest/globals": ^29.5.0 - "@noir-lang/noir-source-resolver": 1.1.1 - "@noir-lang/noir_wasm": 0.5.1-9740f54 "@rushstack/eslint-patch": ^1.1.4 "@types/fs-extra": ^11.0.1 "@types/jest": ^29.5.0 @@ -2590,22 +2588,6 @@ __metadata: languageName: node linkType: hard -"@noir-lang/noir-source-resolver@npm:1.1.1": - version: 1.1.1 - resolution: "@noir-lang/noir-source-resolver@npm:1.1.1" - checksum: 43acc4c1a720ad0837db68bfac59efe58fe2b7467a8508807857aa738e3095d088547692efba5655f3e89e6c4747307c769e582d6ef5b4d454c7787090601a82 - languageName: node - linkType: hard - -"@noir-lang/noir_wasm@npm:0.5.1-9740f54": - version: 0.5.1-9740f54 - resolution: "@noir-lang/noir_wasm@npm:0.5.1-9740f54" - peerDependencies: - "@noir-lang/noir-source-resolver": 1.1.2 - checksum: c4b20840cba8bd844153e88c6324aa1f32331c838030734b1cbe6563e6b4f8e24a3ef0cc3d00a68812b457c9d079c0ece2a87adff3c0d8d4bf819e06cbed398e - languageName: node - linkType: hard - "@npmcli/fs@npm:^3.1.0": version: 3.1.0 resolution: "@npmcli/fs@npm:3.1.0"