@aztec/stdlib 0.87.2-nightly.20250526 → 0.87.2-nightly.20250527
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.
- package/dest/tx/proven_tx.d.ts +12 -18
- package/dest/tx/proven_tx.d.ts.map +1 -1
- package/dest/tx/proven_tx.js +2 -2
- package/package.json +7 -7
- package/src/tx/proven_tx.ts +2 -2
package/dest/tx/proven_tx.d.ts
CHANGED
|
@@ -17,9 +17,8 @@ export declare class TxProvingResult {
|
|
|
17
17
|
publicInputs: z.ZodType<PrivateKernelTailCircuitPublicInputs, any, string>;
|
|
18
18
|
clientIvcProof: z.ZodType<ClientIvcProof, any, string>;
|
|
19
19
|
timings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
20
|
-
sync: z.ZodNumber
|
|
21
|
-
|
|
22
|
-
validation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
20
|
+
sync: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
21
|
+
proving: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
23
22
|
perFunction: z.ZodArray<z.ZodObject<{
|
|
24
23
|
functionName: z.ZodString;
|
|
25
24
|
time: z.ZodNumber;
|
|
@@ -33,69 +32,64 @@ export declare class TxProvingResult {
|
|
|
33
32
|
unaccounted: z.ZodNumber;
|
|
34
33
|
total: z.ZodNumber;
|
|
35
34
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
sync: number;
|
|
37
35
|
perFunction: {
|
|
38
36
|
functionName: string;
|
|
39
37
|
time: number;
|
|
40
38
|
}[];
|
|
41
39
|
unaccounted: number;
|
|
42
40
|
total: number;
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
sync?: number | undefined;
|
|
42
|
+
proving?: number | undefined;
|
|
45
43
|
}, {
|
|
46
|
-
sync: number;
|
|
47
44
|
perFunction: {
|
|
48
45
|
functionName: string;
|
|
49
46
|
time: number;
|
|
50
47
|
}[];
|
|
51
48
|
unaccounted: number;
|
|
52
49
|
total: number;
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
sync?: number | undefined;
|
|
51
|
+
proving?: number | undefined;
|
|
55
52
|
}>>;
|
|
56
53
|
}, "strip", z.ZodTypeAny, {
|
|
57
54
|
publicInputs: PrivateKernelTailCircuitPublicInputs;
|
|
58
55
|
clientIvcProof: ClientIvcProof;
|
|
59
56
|
privateExecutionResult: PrivateExecutionResult;
|
|
60
57
|
timings?: {
|
|
61
|
-
sync: number;
|
|
62
58
|
perFunction: {
|
|
63
59
|
functionName: string;
|
|
64
60
|
time: number;
|
|
65
61
|
}[];
|
|
66
62
|
unaccounted: number;
|
|
67
63
|
total: number;
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
sync?: number | undefined;
|
|
65
|
+
proving?: number | undefined;
|
|
70
66
|
} | undefined;
|
|
71
67
|
}, {
|
|
72
68
|
publicInputs: string;
|
|
73
69
|
clientIvcProof: string;
|
|
74
70
|
timings?: {
|
|
75
|
-
sync: number;
|
|
76
71
|
perFunction: {
|
|
77
72
|
functionName: string;
|
|
78
73
|
time: number;
|
|
79
74
|
}[];
|
|
80
75
|
unaccounted: number;
|
|
81
76
|
total: number;
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
sync?: number | undefined;
|
|
78
|
+
proving?: number | undefined;
|
|
84
79
|
} | undefined;
|
|
85
80
|
privateExecutionResult?: any;
|
|
86
81
|
}>, TxProvingResult, {
|
|
87
82
|
publicInputs: string;
|
|
88
83
|
clientIvcProof: string;
|
|
89
84
|
timings?: {
|
|
90
|
-
sync: number;
|
|
91
85
|
perFunction: {
|
|
92
86
|
functionName: string;
|
|
93
87
|
time: number;
|
|
94
88
|
}[];
|
|
95
89
|
unaccounted: number;
|
|
96
90
|
total: number;
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
sync?: number | undefined;
|
|
92
|
+
proving?: number | undefined;
|
|
99
93
|
} | undefined;
|
|
100
94
|
privateExecutionResult?: any;
|
|
101
95
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proven_tx.d.ts","sourceRoot":"","sources":["../../src/tx/proven_tx.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oCAAoC,EAAE,MAAM,wDAAwD,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAkC,MAAM,+BAA+B,CAAC;AACvG,OAAO,EAAE,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"proven_tx.d.ts","sourceRoot":"","sources":["../../src/tx/proven_tx.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oCAAoC,EAAE,MAAM,wDAAwD,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAkC,MAAM,+BAA+B,CAAC;AACvG,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAE7B,qBAAa,eAAe;IAEjB,sBAAsB,EAAE,sBAAsB;IAC9C,YAAY,EAAE,oCAAoC;IAClD,cAAc,EAAE,cAAc;IAC9B,OAAO,CAAC,EAAE,cAAc;gBAHxB,sBAAsB,EAAE,sBAAsB,EAC9C,YAAY,EAAE,oCAAoC,EAClD,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,cAAc,YAAA;IAGjC,IAAI,IAAI,EAAE;IAYV,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAShB;IAED,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,eAAe,CAAC;WAIhC,MAAM;CAOpB"}
|
package/dest/tx/proven_tx.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
import { PrivateKernelTailCircuitPublicInputs } from '../kernel/private_kernel_tail_circuit_public_inputs.js';
|
|
4
4
|
import { ClientIvcProof } from '../proofs/client_ivc_proof.js';
|
|
5
5
|
import { PrivateExecutionResult, collectSortedContractClassLogs } from './private_execution_result.js';
|
|
6
|
-
import {
|
|
6
|
+
import { ProvingTimingsSchema } from './profiling.js';
|
|
7
7
|
import { Tx } from './tx.js';
|
|
8
8
|
export class TxProvingResult {
|
|
9
9
|
privateExecutionResult;
|
|
@@ -26,7 +26,7 @@ export class TxProvingResult {
|
|
|
26
26
|
privateExecutionResult: PrivateExecutionResult.schema,
|
|
27
27
|
publicInputs: PrivateKernelTailCircuitPublicInputs.schema,
|
|
28
28
|
clientIvcProof: ClientIvcProof.schema,
|
|
29
|
-
timings: optional(
|
|
29
|
+
timings: optional(ProvingTimingsSchema)
|
|
30
30
|
}).transform(TxProvingResult.from);
|
|
31
31
|
}
|
|
32
32
|
static from(fields) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/stdlib",
|
|
3
|
-
"version": "0.87.2-nightly.
|
|
3
|
+
"version": "0.87.2-nightly.20250527",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"inherits": [
|
|
6
6
|
"../package.common.json",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/bb.js": "0.87.2-nightly.
|
|
71
|
-
"@aztec/blob-lib": "0.87.2-nightly.
|
|
72
|
-
"@aztec/constants": "0.87.2-nightly.
|
|
73
|
-
"@aztec/ethereum": "0.87.2-nightly.
|
|
74
|
-
"@aztec/foundation": "0.87.2-nightly.
|
|
75
|
-
"@aztec/noir-noirc_abi": "0.87.2-nightly.
|
|
70
|
+
"@aztec/bb.js": "0.87.2-nightly.20250527",
|
|
71
|
+
"@aztec/blob-lib": "0.87.2-nightly.20250527",
|
|
72
|
+
"@aztec/constants": "0.87.2-nightly.20250527",
|
|
73
|
+
"@aztec/ethereum": "0.87.2-nightly.20250527",
|
|
74
|
+
"@aztec/foundation": "0.87.2-nightly.20250527",
|
|
75
|
+
"@aztec/noir-noirc_abi": "0.87.2-nightly.20250527",
|
|
76
76
|
"@google-cloud/storage": "^7.15.0",
|
|
77
77
|
"axios": "^1.9.0",
|
|
78
78
|
"json-stringify-deterministic": "1.0.12",
|
package/src/tx/proven_tx.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { z } from 'zod';
|
|
|
6
6
|
import { PrivateKernelTailCircuitPublicInputs } from '../kernel/private_kernel_tail_circuit_public_inputs.js';
|
|
7
7
|
import { ClientIvcProof } from '../proofs/client_ivc_proof.js';
|
|
8
8
|
import { PrivateExecutionResult, collectSortedContractClassLogs } from './private_execution_result.js';
|
|
9
|
-
import { type ProvingTimings,
|
|
9
|
+
import { type ProvingTimings, ProvingTimingsSchema } from './profiling.js';
|
|
10
10
|
import { Tx } from './tx.js';
|
|
11
11
|
|
|
12
12
|
export class TxProvingResult {
|
|
@@ -35,7 +35,7 @@ export class TxProvingResult {
|
|
|
35
35
|
privateExecutionResult: PrivateExecutionResult.schema,
|
|
36
36
|
publicInputs: PrivateKernelTailCircuitPublicInputs.schema,
|
|
37
37
|
clientIvcProof: ClientIvcProof.schema,
|
|
38
|
-
timings: optional(
|
|
38
|
+
timings: optional(ProvingTimingsSchema),
|
|
39
39
|
})
|
|
40
40
|
.transform(TxProvingResult.from);
|
|
41
41
|
}
|