@aztec/pxe 0.78.0 → 0.78.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel_prover.d.ts","sourceRoot":"","sources":["../../src/kernel_prover/kernel_prover.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAML,KAAK,2BAA2B,EAEhC,KAAK,oCAAoC,EAE1C,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,sBAAsB,EAC3B,SAAS,EAMV,MAAM,kBAAkB,CAAC;AAM1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AASlE,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,YAAY;IAIrB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IALpB,OAAO,CAAC,GAAG,CAAqC;gBAGtC,MAAM,EAAE,iBAAiB,EACzB,YAAY,EAAE,mBAAmB,EACjC,UAAU,UAAQ;IAG5B;;;;;;;;;;;OAWG;IACG,KAAK,CACT,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,sBAAsB,EACvC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAE,aAI1C,GACA,OAAO,CAAC,2BAA2B,CAAC,oCAAoC,CAAC,CAAC;YA4M/D,qBAAqB;
|
|
1
|
+
{"version":3,"file":"kernel_prover.d.ts","sourceRoot":"","sources":["../../src/kernel_prover/kernel_prover.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAML,KAAK,2BAA2B,EAEhC,KAAK,oCAAoC,EAE1C,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,KAAK,sBAAsB,EAC3B,SAAS,EAMV,MAAM,kBAAkB,CAAC;AAM1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AASlE,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,YAAY;IAIrB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IALpB,OAAO,CAAC,GAAG,CAAqC;gBAGtC,MAAM,EAAE,iBAAiB,EACzB,YAAY,EAAE,mBAAmB,EACjC,UAAU,UAAQ;IAG5B;;;;;;;;;;;OAWG;IACG,KAAK,CACT,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,sBAAsB,EACvC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAE,aAI1C,GACA,OAAO,CAAC,2BAA2B,CAAC,oCAAoC,CAAC,CAAC;YA4M/D,qBAAqB;IA4CnC,OAAO,CAAC,aAAa;CAYtB"}
|
|
@@ -183,9 +183,6 @@ const NULL_PROVE_OUTPUT = {
|
|
|
183
183
|
const { currentContractClassId, publicKeys, saltedInitializationHash } = await this.oracle.getContractAddressPreimage(contractAddress);
|
|
184
184
|
const functionLeafMembershipWitness = await this.oracle.getFunctionMembershipWitness(currentContractClassId, functionSelector);
|
|
185
185
|
const { artifactHash: contractClassArtifactHash, publicBytecodeCommitment: contractClassPublicBytecodeCommitment } = await this.oracle.getContractClassIdPreimage(currentContractClassId);
|
|
186
|
-
// TODO(#262): Use real acir hash
|
|
187
|
-
// const acirHash = keccak256(Buffer.from(bytecode, 'hex'));
|
|
188
|
-
const acirHash = Fr.fromBuffer(Buffer.alloc(32, 0));
|
|
189
186
|
// This will be the address computed in the kernel by the executed class. We need to provide non membership of it in the protocol contract tree.
|
|
190
187
|
// This would only be equal to contractAddress if the currentClassId is equal to the original class id (no update happened).
|
|
191
188
|
const computedAddress = await computeContractAddressFromInstance({
|
|
@@ -206,7 +203,6 @@ const NULL_PROVE_OUTPUT = {
|
|
|
206
203
|
functionLeafMembershipWitness,
|
|
207
204
|
protocolContractMembershipWitness,
|
|
208
205
|
protocolContractLeaf,
|
|
209
|
-
acirHash,
|
|
210
206
|
updatedClassIdHints
|
|
211
207
|
})
|
|
212
208
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/pxe",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./server": "./dest/entrypoints/server/index.js",
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@aztec/bb-prover": "0.78.
|
|
63
|
-
"@aztec/bb.js": "0.78.
|
|
64
|
-
"@aztec/builder": "0.78.
|
|
65
|
-
"@aztec/constants": "0.78.
|
|
66
|
-
"@aztec/ethereum": "0.78.
|
|
67
|
-
"@aztec/foundation": "0.78.
|
|
68
|
-
"@aztec/key-store": "0.78.
|
|
69
|
-
"@aztec/kv-store": "0.78.
|
|
70
|
-
"@aztec/noir-protocol-circuits-types": "0.78.
|
|
71
|
-
"@aztec/protocol-contracts": "0.78.
|
|
72
|
-
"@aztec/simulator": "0.78.
|
|
73
|
-
"@aztec/stdlib": "0.78.
|
|
62
|
+
"@aztec/bb-prover": "0.78.1",
|
|
63
|
+
"@aztec/bb.js": "0.78.1",
|
|
64
|
+
"@aztec/builder": "0.78.1",
|
|
65
|
+
"@aztec/constants": "0.78.1",
|
|
66
|
+
"@aztec/ethereum": "0.78.1",
|
|
67
|
+
"@aztec/foundation": "0.78.1",
|
|
68
|
+
"@aztec/key-store": "0.78.1",
|
|
69
|
+
"@aztec/kv-store": "0.78.1",
|
|
70
|
+
"@aztec/noir-protocol-circuits-types": "0.78.1",
|
|
71
|
+
"@aztec/protocol-contracts": "0.78.1",
|
|
72
|
+
"@aztec/simulator": "0.78.1",
|
|
73
|
+
"@aztec/stdlib": "0.78.1",
|
|
74
74
|
"@msgpack/msgpack": "^3.0.0-beta2",
|
|
75
75
|
"koa": "^2.14.2",
|
|
76
76
|
"koa-router": "^12.0.0",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"sha3": "^2.1.4",
|
|
79
79
|
"tslib": "^2.4.0",
|
|
80
80
|
"viem": "2.22.8",
|
|
81
|
-
"@aztec/noir-types": "0.78.
|
|
81
|
+
"@aztec/noir-types": "0.78.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@aztec/noir-contracts.js": "0.78.
|
|
84
|
+
"@aztec/noir-contracts.js": "0.78.1",
|
|
85
85
|
"@jest/globals": "^29.5.0",
|
|
86
86
|
"@types/jest": "^29.5.0",
|
|
87
87
|
"@types/lodash.omit": "^4.5.7",
|
|
@@ -308,10 +308,6 @@ export class KernelProver {
|
|
|
308
308
|
const { artifactHash: contractClassArtifactHash, publicBytecodeCommitment: contractClassPublicBytecodeCommitment } =
|
|
309
309
|
await this.oracle.getContractClassIdPreimage(currentContractClassId);
|
|
310
310
|
|
|
311
|
-
// TODO(#262): Use real acir hash
|
|
312
|
-
// const acirHash = keccak256(Buffer.from(bytecode, 'hex'));
|
|
313
|
-
const acirHash = Fr.fromBuffer(Buffer.alloc(32, 0));
|
|
314
|
-
|
|
315
311
|
// This will be the address computed in the kernel by the executed class. We need to provide non membership of it in the protocol contract tree.
|
|
316
312
|
// This would only be equal to contractAddress if the currentClassId is equal to the original class id (no update happened).
|
|
317
313
|
const computedAddress = await computeContractAddressFromInstance({
|
|
@@ -335,7 +331,6 @@ export class KernelProver {
|
|
|
335
331
|
functionLeafMembershipWitness,
|
|
336
332
|
protocolContractMembershipWitness,
|
|
337
333
|
protocolContractLeaf,
|
|
338
|
-
acirHash,
|
|
339
334
|
updatedClassIdHints,
|
|
340
335
|
}),
|
|
341
336
|
});
|