@aztec-labs/protocol-contracts 6.0.0-rc.2 → 6.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,4 +6,4 @@ import { type ProtocolContractName } from './protocol_contract_data.js';
6
6
  * Internal to the protocol-contracts package — not part of the public API.
7
7
  */
8
8
  export declare function makeProtocolContract(name: ProtocolContractName, artifact: ContractArtifact): ProtocolContract;
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZV9wcm90b2NvbF9jb250cmFjdC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL21ha2VfcHJvdG9jb2xfY29udHJhY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUcvRCxPQUFPLEtBQUssRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sRUFLTCxLQUFLLG9CQUFvQixFQUcxQixNQUFNLDZCQUE2QixDQUFDO0FBRXJDOzs7R0FHRztBQUNILHdCQUFnQixvQkFBb0IsQ0FBQyxJQUFJLEVBQUUsb0JBQW9CLEVBQUUsUUFBUSxFQUFFLGdCQUFnQixHQUFHLGdCQUFnQixDQThCN0cifQ==
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZV9wcm90b2NvbF9jb250cmFjdC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL21ha2VfcHJvdG9jb2xfY29udHJhY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxLQUFLLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUkvRCxPQUFPLEtBQUssRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9ELE9BQU8sRUFLTCxLQUFLLG9CQUFvQixFQUcxQixNQUFNLDZCQUE2QixDQUFDO0FBRXJDOzs7R0FHRztBQUNILHdCQUFnQixvQkFBb0IsQ0FBQyxJQUFJLEVBQUUsb0JBQW9CLEVBQUUsUUFBUSxFQUFFLGdCQUFnQixHQUFHLGdCQUFnQixDQThCN0cifQ==
@@ -1 +1 @@
1
- {"version":3,"file":"make_protocol_contract.d.ts","sourceRoot":"","sources":["../src/make_protocol_contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAKL,KAAK,oBAAoB,EAG1B,MAAM,6BAA6B,CAAC;AAErC;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,GAAG,gBAAgB,CA8B7G"}
1
+ {"version":3,"file":"make_protocol_contract.d.ts","sourceRoot":"","sources":["../src/make_protocol_contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAKL,KAAK,oBAAoB,EAG1B,MAAM,6BAA6B,CAAC;AAErC;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,gBAAgB,GAAG,gBAAgB,CA8B7G"}
@@ -1,5 +1,6 @@
1
1
  import { Fr } from '@aztec-labs/foundation/curves/bn254';
2
2
  import { PublicKeys } from '@aztec-labs/stdlib/keys';
3
+ import { Buffer } from 'buffer';
3
4
  import { ProtocolContractAddress, ProtocolContractClassId, ProtocolContractClassIdPreimage, ProtocolContractInitializationHash, ProtocolContractPrivateFunctions, ProtocolContractSalt } from './protocol_contract_data.js';
4
5
  /**
5
6
  * Reconstructs a ProtocolContract from precomputed data without performing any hash computations.
@@ -19,19 +19,19 @@ export const ProtocolContractAddress = {
19
19
  FeeJuice: AztecAddress.fromBigIntUnsafe(3n)
20
20
  };
21
21
  export const ProtocolContractDerivedAddress = {
22
- ContractInstanceRegistry: AztecAddress.fromStringUnsafe('0x0a80f1a867261f73366b038402bef355a9f7d0d48b65dc5859f936bdc85b01dd'),
23
- ContractClassRegistry: AztecAddress.fromStringUnsafe('0x1d9b7b92e6f207ba7acf9ea59f402f563794b4668d112df80e7a289f872ee33f'),
24
- FeeJuice: AztecAddress.fromStringUnsafe('0x2edff490433ce3c44345ba9116fc973f95bae381b3387e2ddb78245e518702ab')
22
+ ContractInstanceRegistry: AztecAddress.fromStringUnsafe('0x2b937086a6b367070f03fd007b932f64fcce36501ffcad6ff7c73f1d116e1c77'),
23
+ ContractClassRegistry: AztecAddress.fromStringUnsafe('0x2b95cb98fbd2723c66350f27310e670ff9faeaa8ca100ce83a3195e4d8235e17'),
24
+ FeeJuice: AztecAddress.fromStringUnsafe('0x064e81954bc70f4c8e060d4fa2ba0427eff0fe10f1f5aa57bf8f93c8745fac79')
25
25
  };
26
26
  export const ProtocolContractClassId = {
27
- ContractInstanceRegistry: Fr.fromString('0x2ddcfb2affa46c76b4b24e24a5d7ca5fa4fe0db09a93eefb8719377d4ab4ac75'),
27
+ ContractInstanceRegistry: Fr.fromString('0x250bc22bd53e83820ec12b83b41addb81073884ef63e7dc5261787bf92850f7f'),
28
28
  ContractClassRegistry: Fr.fromString('0x010f027b753bf0e29dedc8e47a8bdda62211a7253b002b625cffb475495dc002'),
29
29
  FeeJuice: Fr.fromString('0x1fa4d16bbcc242b144b07ee9a424083ee404ed9ce11037b24c465057b6a92c59')
30
30
  };
31
31
  export const ProtocolContractClassIdPreimage = {
32
32
  ContractInstanceRegistry: {
33
- artifactHash: Fr.fromString('0x272d6a46be29b8aae0d46c96f52cf09a4f5ecccdee332727d23b60cc12d7bea6'),
34
- privateFunctionsRoot: Fr.fromString('0x225cf0ac7fe1c7649d253b0fc79b966ad847f7c762e361acad161fd40d9e70e2'),
33
+ artifactHash: Fr.fromString('0x28f9ec60f51cd93bc2cd3d021d3a0d1847cd3b4b57ed6fb22435d422b3a0fb31'),
34
+ privateFunctionsRoot: Fr.fromString('0x2cab3dca97df25e1b2f62b64540799a1130f8d2cf41aff507909ec075cb3905b'),
35
35
  publicBytecodeCommitment: Fr.fromString('0x1fd8380bb220e7d13db681da7e62c93b03add6754895a84c51d13fcde03e8d25')
36
36
  },
37
37
  ContractClassRegistry: {
@@ -54,7 +54,7 @@ export const ProtocolContractPrivateFunctions = {
54
54
  ContractInstanceRegistry: [
55
55
  {
56
56
  selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000077cff62f')),
57
- vkHash: Fr.fromString('0x1cdc691d3fb13bcc6915dd93aa4d425cf2567a2000c9e5f8110edd1a44ca5578')
57
+ vkHash: Fr.fromString('0x0ba93c1df26342e4871884648597eba8204fe51b1295e00ecb69a011db1359b6')
58
58
  }
59
59
  ],
60
60
  ContractClassRegistry: [
@@ -75,9 +75,9 @@ export const ProtocolContractPrivateFunctions = {
75
75
  ]
76
76
  };
77
77
  export const ProtocolContractsList = new ProtocolContracts([
78
- AztecAddress.fromStringUnsafe('0x1d9b7b92e6f207ba7acf9ea59f402f563794b4668d112df80e7a289f872ee33f'),
79
- AztecAddress.fromStringUnsafe('0x0a80f1a867261f73366b038402bef355a9f7d0d48b65dc5859f936bdc85b01dd'),
80
- AztecAddress.fromStringUnsafe('0x2edff490433ce3c44345ba9116fc973f95bae381b3387e2ddb78245e518702ab'),
78
+ AztecAddress.fromStringUnsafe('0x2b95cb98fbd2723c66350f27310e670ff9faeaa8ca100ce83a3195e4d8235e17'),
79
+ AztecAddress.fromStringUnsafe('0x2b937086a6b367070f03fd007b932f64fcce36501ffcad6ff7c73f1d116e1c77'),
80
+ AztecAddress.fromStringUnsafe('0x064e81954bc70f4c8e060d4fa2ba0427eff0fe10f1f5aa57bf8f93c8745fac79'),
81
81
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
82
82
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
83
83
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
@@ -87,13 +87,13 @@ export const ProtocolContractsList = new ProtocolContracts([
87
87
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
88
88
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000')
89
89
  ]);
90
- export const protocolContractsHash = Fr.fromString('0x0030cdae9792549b9edb5b865f4e10e91bb87565f22ab80d405213f7e991b378');
90
+ export const protocolContractsHash = Fr.fromString('0x0f54271c52865841a77aaa66036eed901aff22fdce9f08e123ec8b205c9854d7');
91
91
  export const ProtocolContractGenesisNullifiers = [
92
92
  Fr.fromString('0x04287df03953b0d68b0e83e08a89067afc602626defd6002277cd6df34696818'),
93
93
  Fr.fromString('0x0d99507b7ecac720c73bf197a0e7366a5ed80c1c1b0afe8ff8c6ecc7b5a7aefe'),
94
94
  Fr.fromString('0x0eb50b367fb754d3a7d1238bfc105cc9b391a02e187be69038876ae9a502e877'),
95
+ Fr.fromString('0x16f917edd8e333013e5bb0633f7f484725bd19403854d6112992dccef4961e32'),
95
96
  Fr.fromString('0x1cea539e01abaa5db980e7ff52ef0d2a7772310306ac625783ae435756ee326d'),
96
- Fr.fromString('0x2c1eb017f1534e95d91808e7ccc5f24a1cc6bf5686c6b6598e79b6f571d386fe'),
97
97
  Fr.fromString('0x2c3a57c8d7c387652babd36c4d79ab03c0fe593e160315a4dc098f92caf592c3')
98
98
  ];
99
99
  export const CONTRACT_INSTANCE_PUBLISHED_EVENT_TAG = Fr.fromHexString('0x1a7e1badb79abdd38c684b3c8306ffe7ecb33c69e3380d9855730aaaa83a21a8');
@@ -1,4 +1,5 @@
1
+ import { Buffer } from 'buffer';
1
2
  export declare function getSampleContractClassPublishedEventPayload(): Buffer;
2
3
  export declare function getSampleContractInstancePublishedEventPayload(): Buffer;
3
4
  export declare function getPathToFixture(name: string): string;
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0cy9maXh0dXJlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSx3QkFBZ0IsMkNBQTJDLElBQUksTUFBTSxDQUdwRTtBQUdELHdCQUFnQiw4Q0FBOEMsSUFBSSxNQUFNLENBR3ZFO0FBRUQsd0JBQWdCLGdCQUFnQixDQUFDLElBQUksRUFBRSxNQUFNLFVBRTVDIn0=
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0cy9maXh0dXJlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBTWhDLHdCQUFnQiwyQ0FBMkMsSUFBSSxNQUFNLENBR3BFO0FBR0Qsd0JBQWdCLDhDQUE4QyxJQUFJLE1BQU0sQ0FHdkU7QUFFRCx3QkFBZ0IsZ0JBQWdCLENBQUMsSUFBSSxFQUFFLE1BQU0sVUFFNUMifQ==
@@ -1 +1 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/tests/fixtures.ts"],"names":[],"mappings":"AAKA,wBAAgB,2CAA2C,IAAI,MAAM,CAGpE;AAGD,wBAAgB,8CAA8C,IAAI,MAAM,CAGvE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,UAE5C"}
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/tests/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMhC,wBAAgB,2CAA2C,IAAI,MAAM,CAGpE;AAGD,wBAAgB,8CAA8C,IAAI,MAAM,CAGvE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,UAE5C"}
@@ -1,3 +1,4 @@
1
+ import { Buffer } from 'buffer';
1
2
  import { readFileSync } from 'fs';
2
3
  import { dirname, resolve } from 'path';
3
4
  import { fileURLToPath } from 'url';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aztec-labs/protocol-contracts",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/protocol-contracts",
4
4
  "description": "Canonical Noir contracts for the Aztec Network",
5
- "version": "6.0.0-rc.2",
5
+ "version": "6.0.0-rc.4",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": "./dest/index.js",
@@ -73,15 +73,16 @@
73
73
  ]
74
74
  },
75
75
  "dependencies": {
76
- "@aztec-labs/constants": "6.0.0-rc.2",
77
- "@aztec-labs/foundation": "6.0.0-rc.2",
78
- "@aztec-labs/stdlib": "6.0.0-rc.2",
76
+ "@aztec-labs/constants": "6.0.0-rc.4",
77
+ "@aztec-labs/foundation": "6.0.0-rc.4",
78
+ "@aztec-labs/stdlib": "6.0.0-rc.4",
79
+ "buffer": "^6.0.3",
79
80
  "lodash.chunk": "^4.2.0",
80
81
  "lodash.omit": "^4.5.0",
81
82
  "tslib": "^2.4.0"
82
83
  },
83
84
  "devDependencies": {
84
- "@aztec-foundation/protocol-contracts-artifacts": "6.0.0-rc.5",
85
+ "@aztec-foundation/protocol-contracts-artifacts": "6.0.0-rc.7",
85
86
  "@jest/globals": "^30.0.0",
86
87
  "@types/jest": "^30.0.0",
87
88
  "@types/lodash.chunk": "^4.2.9",
@@ -102,6 +103,6 @@
102
103
  "!src/scripts/*"
103
104
  ],
104
105
  "engines": {
105
- "node": ">=20.10"
106
+ "node": ">=20.16"
106
107
  }
107
108
  }
@@ -1,6 +1,7 @@
1
1
  import { Fr } from '@aztec-labs/foundation/curves/bn254';
2
2
  import type { ContractArtifact } from '@aztec-labs/stdlib/abi';
3
3
  import { PublicKeys } from '@aztec-labs/stdlib/keys';
4
+ import { Buffer } from 'buffer';
4
5
 
5
6
  import type { ProtocolContract } from './protocol_contract.js';
6
7
  import {
@@ -33,23 +33,23 @@ FeeJuice: AztecAddress.fromBigIntUnsafe(3n)
33
33
 
34
34
 
35
35
  export const ProtocolContractDerivedAddress = {
36
- ContractInstanceRegistry: AztecAddress.fromStringUnsafe('0x0a80f1a867261f73366b038402bef355a9f7d0d48b65dc5859f936bdc85b01dd'),
37
- ContractClassRegistry: AztecAddress.fromStringUnsafe('0x1d9b7b92e6f207ba7acf9ea59f402f563794b4668d112df80e7a289f872ee33f'),
38
- FeeJuice: AztecAddress.fromStringUnsafe('0x2edff490433ce3c44345ba9116fc973f95bae381b3387e2ddb78245e518702ab')
36
+ ContractInstanceRegistry: AztecAddress.fromStringUnsafe('0x2b937086a6b367070f03fd007b932f64fcce36501ffcad6ff7c73f1d116e1c77'),
37
+ ContractClassRegistry: AztecAddress.fromStringUnsafe('0x2b95cb98fbd2723c66350f27310e670ff9faeaa8ca100ce83a3195e4d8235e17'),
38
+ FeeJuice: AztecAddress.fromStringUnsafe('0x064e81954bc70f4c8e060d4fa2ba0427eff0fe10f1f5aa57bf8f93c8745fac79')
39
39
  };
40
40
 
41
41
 
42
42
 
43
43
  export const ProtocolContractClassId: Record<ProtocolContractName, Fr> = {
44
- ContractInstanceRegistry: Fr.fromString('0x2ddcfb2affa46c76b4b24e24a5d7ca5fa4fe0db09a93eefb8719377d4ab4ac75'),
44
+ ContractInstanceRegistry: Fr.fromString('0x250bc22bd53e83820ec12b83b41addb81073884ef63e7dc5261787bf92850f7f'),
45
45
  ContractClassRegistry: Fr.fromString('0x010f027b753bf0e29dedc8e47a8bdda62211a7253b002b625cffb475495dc002'),
46
46
  FeeJuice: Fr.fromString('0x1fa4d16bbcc242b144b07ee9a424083ee404ed9ce11037b24c465057b6a92c59')
47
47
  };
48
48
 
49
49
  export const ProtocolContractClassIdPreimage: Record<ProtocolContractName, { artifactHash: Fr; privateFunctionsRoot: Fr; publicBytecodeCommitment: Fr }> = {
50
50
  ContractInstanceRegistry: {
51
- artifactHash: Fr.fromString('0x272d6a46be29b8aae0d46c96f52cf09a4f5ecccdee332727d23b60cc12d7bea6'),
52
- privateFunctionsRoot: Fr.fromString('0x225cf0ac7fe1c7649d253b0fc79b966ad847f7c762e361acad161fd40d9e70e2'),
51
+ artifactHash: Fr.fromString('0x28f9ec60f51cd93bc2cd3d021d3a0d1847cd3b4b57ed6fb22435d422b3a0fb31'),
52
+ privateFunctionsRoot: Fr.fromString('0x2cab3dca97df25e1b2f62b64540799a1130f8d2cf41aff507909ec075cb3905b'),
53
53
  publicBytecodeCommitment: Fr.fromString('0x1fd8380bb220e7d13db681da7e62c93b03add6754895a84c51d13fcde03e8d25'),
54
54
  },
55
55
  ContractClassRegistry: {
@@ -71,7 +71,7 @@ FeeJuice: Fr.fromString('0x00000000000000000000000000000000000000000000000000000
71
71
  };
72
72
 
73
73
  export const ProtocolContractPrivateFunctions: Record<ProtocolContractName, { selector: FunctionSelector; vkHash: Fr }[]> = {
74
- ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000077cff62f')), vkHash: Fr.fromString('0x1cdc691d3fb13bcc6915dd93aa4d425cf2567a2000c9e5f8110edd1a44ca5578') }],
74
+ ContractInstanceRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000000000000000000000000000000000000000000000077cff62f')), vkHash: Fr.fromString('0x0ba93c1df26342e4871884648597eba8204fe51b1295e00ecb69a011db1359b6') }],
75
75
  ContractClassRegistry: [{ selector: FunctionSelector.fromField(Fr.fromString('0x000000000000000000000000000000000000000000000000000000006934ed0d')), vkHash: Fr.fromString('0x1af8e7c965fa21b828e2307fb320fbf38038a42121495906aba2b80c3f072bd8') }],
76
76
  FeeJuice: [{ selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000cbe67243')), vkHash: Fr.fromString('0x2e78182eafa9eedb8a75d0eabee8cc7031a41b2d630949979a9495f6be9d9e2e') }, { selector: FunctionSelector.fromField(Fr.fromString('0x00000000000000000000000000000000000000000000000000000000e8d374b6')), vkHash: Fr.fromString('0x253da18011550ba749e4311e9dc5f59309a35c27b1d16e1f9ccb90bae9db1235') }]
77
77
  };
@@ -79,9 +79,9 @@ FeeJuice: [{ selector: FunctionSelector.fromField(Fr.fromString('0x0000000000000
79
79
 
80
80
 
81
81
  export const ProtocolContractsList = new ProtocolContracts([
82
- AztecAddress.fromStringUnsafe('0x1d9b7b92e6f207ba7acf9ea59f402f563794b4668d112df80e7a289f872ee33f'),
83
- AztecAddress.fromStringUnsafe('0x0a80f1a867261f73366b038402bef355a9f7d0d48b65dc5859f936bdc85b01dd'),
84
- AztecAddress.fromStringUnsafe('0x2edff490433ce3c44345ba9116fc973f95bae381b3387e2ddb78245e518702ab'),
82
+ AztecAddress.fromStringUnsafe('0x2b95cb98fbd2723c66350f27310e670ff9faeaa8ca100ce83a3195e4d8235e17'),
83
+ AztecAddress.fromStringUnsafe('0x2b937086a6b367070f03fd007b932f64fcce36501ffcad6ff7c73f1d116e1c77'),
84
+ AztecAddress.fromStringUnsafe('0x064e81954bc70f4c8e060d4fa2ba0427eff0fe10f1f5aa57bf8f93c8745fac79'),
85
85
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
86
86
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
87
87
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000'),
@@ -92,7 +92,7 @@ AztecAddress.fromStringUnsafe('0x00000000000000000000000000000000000000000000000
92
92
  AztecAddress.fromStringUnsafe('0x0000000000000000000000000000000000000000000000000000000000000000')
93
93
  ]);
94
94
 
95
- export const protocolContractsHash = Fr.fromString('0x0030cdae9792549b9edb5b865f4e10e91bb87565f22ab80d405213f7e991b378');
95
+ export const protocolContractsHash = Fr.fromString('0x0f54271c52865841a77aaa66036eed901aff22fdce9f08e123ec8b205c9854d7');
96
96
 
97
97
 
98
98
 
@@ -100,8 +100,8 @@ AztecAddress.fromStringUnsafe('0x00000000000000000000000000000000000000000000000
100
100
  Fr.fromString('0x04287df03953b0d68b0e83e08a89067afc602626defd6002277cd6df34696818'),
101
101
  Fr.fromString('0x0d99507b7ecac720c73bf197a0e7366a5ed80c1c1b0afe8ff8c6ecc7b5a7aefe'),
102
102
  Fr.fromString('0x0eb50b367fb754d3a7d1238bfc105cc9b391a02e187be69038876ae9a502e877'),
103
+ Fr.fromString('0x16f917edd8e333013e5bb0633f7f484725bd19403854d6112992dccef4961e32'),
103
104
  Fr.fromString('0x1cea539e01abaa5db980e7ff52ef0d2a7772310306ac625783ae435756ee326d'),
104
- Fr.fromString('0x2c1eb017f1534e95d91808e7ccc5f24a1cc6bf5686c6b6598e79b6f571d386fe'),
105
105
  Fr.fromString('0x2c3a57c8d7c387652babd36c4d79ab03c0fe593e160315a4dc098f92caf592c3')
106
106
  ];
107
107
 
@@ -1,3 +1,4 @@
1
+ import { Buffer } from 'buffer';
1
2
  import { readFileSync } from 'fs';
2
3
  import { dirname, resolve } from 'path';
3
4
  import { fileURLToPath } from 'url';