@aztec/prover-client 0.77.0-testnet-ignition.17 → 0.77.0-testnet-ignition.21
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,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable no-console */ import {
|
|
1
|
+
/* eslint-disable no-console */ import { AVM_INPUTS_FILENAME } from '@aztec/bb-prover';
|
|
2
2
|
import { jsonParseWithSchema, jsonStringify } from '@aztec/foundation/json-rpc';
|
|
3
3
|
import { createLogger } from '@aztec/foundation/log';
|
|
4
4
|
import { ProvingJobInputs } from '@aztec/stdlib/interfaces/server';
|
|
@@ -35,10 +35,8 @@ function writeProofInputs(input, outDir) {
|
|
|
35
35
|
switch(input.type){
|
|
36
36
|
case ProvingRequestType.PUBLIC_VM:
|
|
37
37
|
{
|
|
38
|
-
writeFileSync(`${outDir}/${
|
|
39
|
-
logger.info(`Wrote AVM
|
|
40
|
-
writeFileSync(`${outDir}/${AVM_HINTS_FILENAME}`, input.inputs.avmHints.toBuffer());
|
|
41
|
-
logger.info(`Wrote AVM hints to ${AVM_HINTS_FILENAME}`);
|
|
38
|
+
writeFileSync(`${outDir}/${AVM_INPUTS_FILENAME}`, input.inputs.serializeWithMessagePack());
|
|
39
|
+
logger.info(`Wrote AVM inputs to ${AVM_INPUTS_FILENAME}`);
|
|
42
40
|
break;
|
|
43
41
|
}
|
|
44
42
|
default:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-client",
|
|
3
|
-
"version": "0.77.0-testnet-ignition.
|
|
3
|
+
"version": "0.77.0-testnet-ignition.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@aztec/bb-prover": "0.77.0-testnet-ignition.
|
|
70
|
-
"@aztec/blob-lib": "0.77.0-testnet-ignition.
|
|
71
|
-
"@aztec/constants": "0.77.0-testnet-ignition.
|
|
72
|
-
"@aztec/foundation": "0.77.0-testnet-ignition.
|
|
73
|
-
"@aztec/kv-store": "0.77.0-testnet-ignition.
|
|
74
|
-
"@aztec/noir-protocol-circuits-types": "0.77.0-testnet-ignition.
|
|
75
|
-
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.
|
|
76
|
-
"@aztec/simulator": "0.77.0-testnet-ignition.
|
|
77
|
-
"@aztec/stdlib": "0.77.0-testnet-ignition.
|
|
78
|
-
"@aztec/telemetry-client": "0.77.0-testnet-ignition.
|
|
79
|
-
"@aztec/world-state": "0.77.0-testnet-ignition.
|
|
69
|
+
"@aztec/bb-prover": "0.77.0-testnet-ignition.21",
|
|
70
|
+
"@aztec/blob-lib": "0.77.0-testnet-ignition.21",
|
|
71
|
+
"@aztec/constants": "0.77.0-testnet-ignition.21",
|
|
72
|
+
"@aztec/foundation": "0.77.0-testnet-ignition.21",
|
|
73
|
+
"@aztec/kv-store": "0.77.0-testnet-ignition.21",
|
|
74
|
+
"@aztec/noir-protocol-circuits-types": "0.77.0-testnet-ignition.21",
|
|
75
|
+
"@aztec/protocol-contracts": "0.77.0-testnet-ignition.21",
|
|
76
|
+
"@aztec/simulator": "0.77.0-testnet-ignition.21",
|
|
77
|
+
"@aztec/stdlib": "0.77.0-testnet-ignition.21",
|
|
78
|
+
"@aztec/telemetry-client": "0.77.0-testnet-ignition.21",
|
|
79
|
+
"@aztec/world-state": "0.77.0-testnet-ignition.21",
|
|
80
80
|
"@google-cloud/storage": "^7.15.0",
|
|
81
81
|
"@iarna/toml": "^2.2.5",
|
|
82
82
|
"commander": "^12.1.0",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"source-map-support": "^0.5.21",
|
|
85
85
|
"tslib": "^2.4.0",
|
|
86
86
|
"zod": "^3.23.8",
|
|
87
|
-
"@aztec/noir-types": "0.77.0-testnet-ignition.
|
|
87
|
+
"@aztec/noir-types": "0.77.0-testnet-ignition.21"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@aztec/noir-contracts.js": "
|
|
90
|
+
"@aztec/noir-contracts.js": "0.77.0-testnet-ignition.21",
|
|
91
91
|
"@jest/globals": "^29.5.0",
|
|
92
92
|
"@types/jest": "^29.5.0",
|
|
93
93
|
"@types/memdown": "^3.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable no-console */
|
|
2
|
-
import {
|
|
2
|
+
import { AVM_INPUTS_FILENAME } from '@aztec/bb-prover';
|
|
3
3
|
import { jsonParseWithSchema, jsonStringify } from '@aztec/foundation/json-rpc';
|
|
4
4
|
import { createLogger } from '@aztec/foundation/log';
|
|
5
5
|
import { type ProofUri, ProvingJobInputs } from '@aztec/stdlib/interfaces/server';
|
|
@@ -43,10 +43,8 @@ async function main() {
|
|
|
43
43
|
function writeProofInputs(input: ProvingJobInputs, outDir: string) {
|
|
44
44
|
switch (input.type) {
|
|
45
45
|
case ProvingRequestType.PUBLIC_VM: {
|
|
46
|
-
writeFileSync(`${outDir}/${
|
|
47
|
-
logger.info(`Wrote AVM
|
|
48
|
-
writeFileSync(`${outDir}/${AVM_HINTS_FILENAME}`, input.inputs.avmHints.toBuffer());
|
|
49
|
-
logger.info(`Wrote AVM hints to ${AVM_HINTS_FILENAME}`);
|
|
46
|
+
writeFileSync(`${outDir}/${AVM_INPUTS_FILENAME}`, input.inputs.serializeWithMessagePack());
|
|
47
|
+
logger.info(`Wrote AVM inputs to ${AVM_INPUTS_FILENAME}`);
|
|
50
48
|
break;
|
|
51
49
|
}
|
|
52
50
|
default: {
|