Skip to content

Commit

Permalink
Remove noir version exported from noir-compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Jan 17, 2024
1 parent ddaf77a commit 89ef4f3
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 28 deletions.
1 change: 0 additions & 1 deletion yarn-project/aztec.js/src/contract/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ describe('Contract Class', () => {
};
const mockNodeInfo: NodeInfo = {
nodeVersion: 'vx.x.x',
compatibleNargoVersion: 'vx.x.x-aztec.x',
chainId: 1,
protocolVersion: 2,
l1ContractAddresses: l1Addresses,
Expand Down
1 change: 0 additions & 1 deletion yarn-project/cli/src/cmds/get_node_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export async function getNodeInfo(rpcUrl: string, debugLogger: DebugLogger, log:
const info = await client.getNodeInfo();
log(`\nNode Info:\n`);
log(`Node Version: ${info.nodeVersion}\n`);
log(`Compatible Nargo Version: ${info.compatibleNargoVersion}\n`);
log(`Chain Id: ${info.chainId}\n`);
log(`Protocol Version: ${info.protocolVersion}\n`);
log(`Rollup Address: ${info.l1ContractAddresses.rollupAddress.toString()}`);
Expand Down
1 change: 0 additions & 1 deletion yarn-project/end-to-end/src/cli_docs_sandbox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ describe('CLI docs sandbox', () => {
Node Info:
Node Version: #include_aztec_short_version
Compatible Nargo Version: #include_noir_version
Chain Id: 31337
Protocol Version: 1
Rollup Address: 0x0dcd1bf9a1b36ce34237eeafef220932846bcd82
Expand Down
4 changes: 1 addition & 3 deletions yarn-project/noir-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"type": "module",
"exports": {
".": "./dest/index.js",
"./cli": "./dest/cli/index.js",
"./versions": "./dest/versions.js"
"./cli": "./dest/cli/index.js"
},
"typedocOptions": {
"entryPoints": [
Expand Down Expand Up @@ -49,7 +48,6 @@
"@aztec/foundation": "workspace:^",
"@aztec/types": "workspace:^",
"@iarna/toml": "^2.2.5",
"@noir-lang/noir_wasm": "portal:../../noir/packages/noir_wasm",
"base64-js": "^1.5.1",
"commander": "^9.0.0",
"fs-extra": "^11.1.1",
Expand Down
2 changes: 0 additions & 2 deletions yarn-project/noir-compiler/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export * from './versions.js';

export { generateTypescriptContractInterface } from './contract-interface-gen/typescript.js';
export { generateNoirContractInterface } from './contract-interface-gen/noir.js';
5 changes: 0 additions & 5 deletions yarn-project/noir-compiler/src/versions.ts

This file was deleted.

2 changes: 0 additions & 2 deletions yarn-project/pxe/src/pxe_service/pxe_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ import { Fr } from '@aztec/foundation/fields';
import { SerialQueue } from '@aztec/foundation/fifo';
import { DebugLogger, createDebugLogger } from '@aztec/foundation/log';
import { Timer } from '@aztec/foundation/timer';
import { NoirWasmVersion } from '@aztec/noir-compiler/versions';
import { NodeInfo } from '@aztec/types/interfaces';

import { PXEServiceConfig, getPackageInfo } from '../config/index.js';
Expand Down Expand Up @@ -488,7 +487,6 @@ export class PXEService implements PXE {

const nodeInfo: NodeInfo = {
nodeVersion: this.nodeVersion,
compatibleNargoVersion: NoirWasmVersion,
chainId,
protocolVersion: version,
l1ContractAddresses: contractAddresses,
Expand Down
4 changes: 0 additions & 4 deletions yarn-project/types/src/interfaces/node-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ export interface NodeInfo {
* Version as tracked in the aztec-packages repository.
*/
nodeVersion: string;
/**
* The nargo version compatible with this node version
*/
compatibleNargoVersion: string;
/**
* L1 chain id.
*/
Expand Down
9 changes: 0 additions & 9 deletions yarn-project/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ __metadata:
"@aztec/types": "workspace:^"
"@iarna/toml": ^2.2.5
"@jest/globals": ^29.5.0
"@noir-lang/noir_wasm": "portal:../../noir/packages/noir_wasm"
"@types/fs-extra": ^11.0.1
"@types/jest": ^29.5.0
"@types/lodash.camelcase": ^4.3.7
Expand Down Expand Up @@ -2814,14 +2813,6 @@ __metadata:
languageName: node
linkType: soft

"@noir-lang/noir_wasm@portal:../noir/packages/noir_wasm::locator=%40aztec%2Faztec3-packages%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@noir-lang/noir_wasm@portal:../noir/packages/noir_wasm::locator=%40aztec%2Faztec3-packages%40workspace%3A."
dependencies:
pako: ^2.1.0
languageName: node
linkType: soft

"@noir-lang/noirc_abi@portal:../noir/packages/noirc_abi::locator=%40aztec%2Faztec3-packages%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@noir-lang/noirc_abi@portal:../noir/packages/noirc_abi::locator=%40aztec%2Faztec3-packages%40workspace%3A."
Expand Down

0 comments on commit 89ef4f3

Please sign in to comment.