@aztec/stdlib 0.87.5 → 0.87.6
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/abi/decoder.d.ts +1 -1
- package/dest/abi/decoder.d.ts.map +1 -1
- package/dest/abi/decoder.js +4 -3
- package/dest/interfaces/prover-agent.d.ts +31 -6
- package/dest/interfaces/prover-agent.d.ts.map +1 -1
- package/dest/interfaces/prover-agent.js +15 -6
- package/dest/kernel/private_kernel_prover_output.d.ts +3 -0
- package/dest/kernel/private_kernel_prover_output.d.ts.map +1 -1
- package/dest/logs/pending_tagged_log.d.ts +1 -1
- package/dest/logs/pending_tagged_log.js +1 -1
- package/dest/tx/private_execution_result.d.ts +6 -0
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/profiling.d.ts +254 -4
- package/dest/tx/profiling.d.ts.map +1 -1
- package/dest/tx/profiling.js +62 -30
- package/dest/tx/proven_tx.d.ts +43 -21
- package/dest/tx/proven_tx.d.ts.map +1 -1
- package/dest/tx/proven_tx.js +5 -5
- package/dest/tx/simulated_tx.d.ts +4 -4
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/simulated_tx.js +8 -8
- package/package.json +7 -7
- package/src/abi/decoder.ts +5 -4
- package/src/interfaces/prover-agent.ts +9 -10
- package/src/kernel/private_kernel_prover_output.ts +1 -0
- package/src/logs/pending_tagged_log.ts +1 -1
- package/src/tx/private_execution_result.ts +1 -1
- package/src/tx/profiling.ts +64 -28
- package/src/tx/proven_tx.ts +3 -3
- package/src/tx/simulated_tx.ts +6 -6
package/dest/abi/decoder.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ABIParameter, AbiType } from './abi.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* The type of our decoded ABI.
|
|
6
6
|
*/
|
|
7
|
-
export type AbiDecoded = bigint | boolean | AztecAddress | AbiDecoded[] | {
|
|
7
|
+
export type AbiDecoded = bigint | boolean | string | AztecAddress | AbiDecoded[] | {
|
|
8
8
|
[key: string]: AbiDecoded;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decoder.d.ts","sourceRoot":"","sources":["../../src/abi/decoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAe,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"decoder.d.ts","sourceRoot":"","sources":["../../src/abi/decoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAe,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,CAAC;AAkGjH;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,cAEzD;AAED;;GAEG;AACH,qBAAa,wBAAwB;IAGjC,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,YAAY;IAJtB,OAAO,CAAC,SAAS,CAAS;gBAEhB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,YAAY,EAAE,EAC1B,YAAY,UAAQ;IAK9B;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAsBxB;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAKvB;;;OAGG;IACI,MAAM,IAAI,MAAM;CAGxB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,UAE/E;AAED;;;;;GAKG;AACH,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,UAEjG"}
|
package/dest/abi/decoder.js
CHANGED
|
@@ -49,11 +49,12 @@ import { isAztecAddressStruct, parseSignedInt } from './utils.js';
|
|
|
49
49
|
}
|
|
50
50
|
case 'string':
|
|
51
51
|
{
|
|
52
|
-
|
|
52
|
+
let str = '';
|
|
53
53
|
for(let i = 0; i < abiType.length; i += 1){
|
|
54
|
-
|
|
54
|
+
const charCode = Number(this.getNextField().toBigInt());
|
|
55
|
+
str += String.fromCharCode(charCode);
|
|
55
56
|
}
|
|
56
|
-
return
|
|
57
|
+
return str;
|
|
57
58
|
}
|
|
58
59
|
case 'tuple':
|
|
59
60
|
{
|
|
@@ -1,11 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import type { ApiSchemaFor } from '../schemas/index.js';
|
|
3
|
+
export declare const ProverAgentStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
4
|
+
status: z.ZodLiteral<"stopped">;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
status: "stopped";
|
|
7
|
+
}, {
|
|
8
|
+
status: "stopped";
|
|
9
|
+
}>, z.ZodObject<{
|
|
10
|
+
status: z.ZodLiteral<"running">;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
status: "running";
|
|
13
|
+
}, {
|
|
14
|
+
status: "running";
|
|
15
|
+
}>, z.ZodObject<{
|
|
16
|
+
status: z.ZodLiteral<"proving">;
|
|
17
|
+
jobId: z.ZodString;
|
|
18
|
+
proofType: z.ZodNumber;
|
|
19
|
+
startedAtISO: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
status: "proving";
|
|
22
|
+
jobId: string;
|
|
23
|
+
proofType: number;
|
|
24
|
+
startedAtISO: string;
|
|
25
|
+
}, {
|
|
26
|
+
status: "proving";
|
|
27
|
+
jobId: string;
|
|
28
|
+
proofType: number;
|
|
29
|
+
startedAtISO: string;
|
|
30
|
+
}>]>;
|
|
31
|
+
export type ProverAgentStatus = z.infer<typeof ProverAgentStatusSchema>;
|
|
2
32
|
export interface ProverAgentApi {
|
|
3
|
-
|
|
4
|
-
isRunning(): Promise<boolean>;
|
|
5
|
-
getCurrentJobs(): Promise<{
|
|
6
|
-
id: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}[]>;
|
|
33
|
+
getStatus(): Promise<unknown>;
|
|
9
34
|
}
|
|
10
35
|
export declare const ProverAgentApiSchema: ApiSchemaFor<ProverAgentApi>;
|
|
11
36
|
//# sourceMappingURL=prover-agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prover-agent.d.ts","sourceRoot":"","sources":["../../src/interfaces/prover-agent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prover-agent.d.ts","sourceRoot":"","sources":["../../src/interfaces/prover-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,MAAM,WAAW,cAAc;IAC7B,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CAC/B;AAED,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,cAAc,CAE7D,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export const ProverAgentStatusSchema = z.discriminatedUnion('status', [
|
|
3
|
+
z.object({
|
|
4
|
+
status: z.literal('stopped')
|
|
5
|
+
}),
|
|
6
|
+
z.object({
|
|
7
|
+
status: z.literal('running')
|
|
8
|
+
}),
|
|
9
|
+
z.object({
|
|
10
|
+
status: z.literal('proving'),
|
|
11
|
+
jobId: z.string(),
|
|
12
|
+
proofType: z.number(),
|
|
13
|
+
startedAtISO: z.string()
|
|
14
|
+
})
|
|
15
|
+
]);
|
|
2
16
|
export const ProverAgentApiSchema = {
|
|
3
|
-
|
|
4
|
-
isRunning: z.function().args().returns(z.boolean()),
|
|
5
|
-
getCurrentJobs: z.function().args().returns(z.array(z.object({
|
|
6
|
-
id: z.string(),
|
|
7
|
-
type: z.string()
|
|
8
|
-
})))
|
|
17
|
+
getStatus: z.function().args().returns(ProverAgentStatusSchema)
|
|
9
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_kernel_prover_output.d.ts","sourceRoot":"","sources":["../../src/kernel/private_kernel_prover_output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAClG,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAE3G,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrC,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,UAAU,CAAC;IAEpB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"private_kernel_prover_output.d.ts","sourceRoot":"","sources":["../../src/kernel/private_kernel_prover_output.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAClG,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAE3G,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrC,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,UAAU,CAAC;IAEpB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC,CAAC;KAC/C,CAAC;CACH;AAED,kEAAkE;AAClE,MAAM,WAAW,iCAAiC,CAChD,gBAAgB,SAAS,gCAAgC,GAAG,oCAAoC;IAEhG,8DAA8D;IAC9D,YAAY,EAAE,gBAAgB,CAAC;IAC/B;kEAC8D;IAC9D,cAAc,EAAE,cAAc,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,cAAc,EAAE,oBAAoB,EAAE,CAAC;IACvC,0BAA0B;IAC1B,OAAO,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,oBAAoB,EAAE,2BAU3E"}
|
|
@@ -2,7 +2,7 @@ import { Fr } from '@aztec/foundation/fields';
|
|
|
2
2
|
import type { AztecAddress } from '../aztec-address/index.js';
|
|
3
3
|
import type { TxHash } from '../tx/tx_hash.js';
|
|
4
4
|
/**
|
|
5
|
-
* Represents a pending tagged log as it is stored in the pending tagged log array to which the
|
|
5
|
+
* Represents a pending tagged log as it is stored in the pending tagged log array to which the fetchTaggedLogs oracle
|
|
6
6
|
* inserts found private logs. A TS version of `pending_tagged_log.nr`.
|
|
7
7
|
*/
|
|
8
8
|
export declare class PendingTaggedLog {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MAX_NOTE_HASHES_PER_TX, PRIVATE_LOG_SIZE_IN_FIELDS } from '@aztec/constants';
|
|
2
2
|
import { Fr } from '@aztec/foundation/fields';
|
|
3
3
|
/**
|
|
4
|
-
* Represents a pending tagged log as it is stored in the pending tagged log array to which the
|
|
4
|
+
* Represents a pending tagged log as it is stored in the pending tagged log array to which the fetchTaggedLogs oracle
|
|
5
5
|
* inserts found private logs. A TS version of `pending_tagged_log.nr`.
|
|
6
6
|
*/ export class PendingTaggedLog {
|
|
7
7
|
log;
|
|
@@ -167,9 +167,15 @@ export declare function collectNested<T>(executionStack: PrivateCallExecutionRes
|
|
|
167
167
|
export declare class PrivateExecutionProfileResult {
|
|
168
168
|
timings: {
|
|
169
169
|
witgen: number;
|
|
170
|
+
oracles?: Record<string, {
|
|
171
|
+
times: number[];
|
|
172
|
+
}>;
|
|
170
173
|
};
|
|
171
174
|
constructor(timings: {
|
|
172
175
|
witgen: number;
|
|
176
|
+
oracles?: Record<string, {
|
|
177
|
+
times: number[];
|
|
178
|
+
}>;
|
|
173
179
|
});
|
|
174
180
|
}
|
|
175
181
|
//# sourceMappingURL=private_execution_result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_execution_result.d.ts","sourceRoot":"","sources":["../../src/tx/private_execution_result.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAsB,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,qBAAa,WAAW;IAEpB,gBAAgB;IACT,IAAI,EAAE,IAAI;IACjB,oCAAoC;IAC7B,WAAW,EAAE,EAAE;IACtB,gCAAgC;IACzB,UAAU,EAAE,YAAY;;IAL/B,gBAAgB;IACT,IAAI,EAAE,IAAI;IACjB,oCAAoC;IAC7B,WAAW,EAAE,EAAE;IACtB,gCAAgC;IACzB,UAAU,EAAE,YAAY;IAGjC,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAQhB;IAED,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC;IAIzC,MAAM,CAAC,MAAM;CAGd;AAED,qBAAa,uBAAwB,YAAW,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,aAAa,CAAC,CAAC,EAC7B,cAAc,EAAE,0BAA0B,EAAE,EAC5C,qBAAqB,EAAE,CAAC,SAAS,EAAE,0BAA0B,KAAK,CAAC,EAAE,GACpE,CAAC,EAAE,CAML;AAED,qBAAa,6BAA6B;IACrB,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE;
|
|
1
|
+
{"version":3,"file":"private_execution_result.d.ts","sourceRoot":"","sources":["../../src/tx/private_execution_result.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACzF,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,MAAM,EAAsB,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,qBAAa,WAAW;IAEpB,gBAAgB;IACT,IAAI,EAAE,IAAI;IACjB,oCAAoC;IAC7B,WAAW,EAAE,EAAE;IACtB,gCAAgC;IACzB,UAAU,EAAE,YAAY;;IAL/B,gBAAgB;IACT,IAAI,EAAE,IAAI;IACjB,oCAAoC;IAC7B,WAAW,EAAE,EAAE;IACtB,gCAAgC;IACzB,UAAU,EAAE,YAAY;IAGjC,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAQhB;IAED,MAAM,CAAC,IAAI,CAAC,MAAM,EAA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AI3G;AAED,wBAAgB,sCAAsC,CAAC,UAAU,EAAE,sBAAsB,GAAG,MAAM,CAQjG;AAED,wBAAgB,aAAa,CAAC,CAAC,EAC7B,cAAc,EAAE,0BAA0B,EAAE,EAC5C,qBAAqB,EAAE,CAAC,SAAS,EAAE,0BAA0B,KAAK,CAAC,EAAE,GACpE,CAAC,EAAE,CAML;AAED,qBAAa,6BAA6B;IACrB,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC,CAAA;KAAE;gBAA1E,OAAO,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC,CAAA;KAAE;CAC9F"}
|
package/dest/tx/profiling.d.ts
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { type ZodFor } from '@aztec/foundation/schemas';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import type { AbiDecoded } from '../abi/decoder.js';
|
|
4
|
+
import type { AztecNode } from '../interfaces/aztec-node.js';
|
|
4
5
|
import { type PrivateExecutionStep } from '../kernel/private_kernel_prover_output.js';
|
|
6
|
+
export type NodeStats = Partial<Record<keyof AztecNode, {
|
|
7
|
+
times: number[];
|
|
8
|
+
}>>;
|
|
5
9
|
type FunctionTiming = {
|
|
6
10
|
functionName: string;
|
|
7
11
|
time: number;
|
|
12
|
+
oracles?: Record<string, {
|
|
13
|
+
times: number[];
|
|
14
|
+
}>;
|
|
8
15
|
};
|
|
9
16
|
export type ProvingTimings = {
|
|
10
17
|
sync?: number;
|
|
@@ -19,12 +26,25 @@ export declare const ProvingTimingsSchema: z.ZodObject<{
|
|
|
19
26
|
perFunction: z.ZodArray<z.ZodObject<{
|
|
20
27
|
functionName: z.ZodString;
|
|
21
28
|
time: z.ZodNumber;
|
|
29
|
+
oracles: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
30
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
times: number[];
|
|
33
|
+
}, {
|
|
34
|
+
times: number[];
|
|
35
|
+
}>>>;
|
|
22
36
|
}, "strip", z.ZodTypeAny, {
|
|
23
37
|
functionName: string;
|
|
24
38
|
time: number;
|
|
39
|
+
oracles?: Record<string, {
|
|
40
|
+
times: number[];
|
|
41
|
+
}> | undefined;
|
|
25
42
|
}, {
|
|
26
43
|
functionName: string;
|
|
27
44
|
time: number;
|
|
45
|
+
oracles?: Record<string, {
|
|
46
|
+
times: number[];
|
|
47
|
+
}> | undefined;
|
|
28
48
|
}>, "many">;
|
|
29
49
|
unaccounted: z.ZodNumber;
|
|
30
50
|
total: z.ZodNumber;
|
|
@@ -32,6 +52,9 @@ export declare const ProvingTimingsSchema: z.ZodObject<{
|
|
|
32
52
|
perFunction: {
|
|
33
53
|
functionName: string;
|
|
34
54
|
time: number;
|
|
55
|
+
oracles?: Record<string, {
|
|
56
|
+
times: number[];
|
|
57
|
+
}> | undefined;
|
|
35
58
|
}[];
|
|
36
59
|
unaccounted: number;
|
|
37
60
|
total: number;
|
|
@@ -41,12 +64,115 @@ export declare const ProvingTimingsSchema: z.ZodObject<{
|
|
|
41
64
|
perFunction: {
|
|
42
65
|
functionName: string;
|
|
43
66
|
time: number;
|
|
67
|
+
oracles?: Record<string, {
|
|
68
|
+
times: number[];
|
|
69
|
+
}> | undefined;
|
|
44
70
|
}[];
|
|
45
71
|
unaccounted: number;
|
|
46
72
|
total: number;
|
|
47
73
|
sync?: number | undefined;
|
|
48
74
|
proving?: number | undefined;
|
|
49
75
|
}>;
|
|
76
|
+
export interface ProvingStats {
|
|
77
|
+
timings: ProvingTimings;
|
|
78
|
+
nodeRPCCalls?: NodeStats;
|
|
79
|
+
}
|
|
80
|
+
export declare const ProvingStatsSchema: z.ZodObject<{
|
|
81
|
+
timings: z.ZodObject<{
|
|
82
|
+
sync: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
83
|
+
proving: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
84
|
+
perFunction: z.ZodArray<z.ZodObject<{
|
|
85
|
+
functionName: z.ZodString;
|
|
86
|
+
time: z.ZodNumber;
|
|
87
|
+
oracles: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
88
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
times: number[];
|
|
91
|
+
}, {
|
|
92
|
+
times: number[];
|
|
93
|
+
}>>>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
functionName: string;
|
|
96
|
+
time: number;
|
|
97
|
+
oracles?: Record<string, {
|
|
98
|
+
times: number[];
|
|
99
|
+
}> | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
functionName: string;
|
|
102
|
+
time: number;
|
|
103
|
+
oracles?: Record<string, {
|
|
104
|
+
times: number[];
|
|
105
|
+
}> | undefined;
|
|
106
|
+
}>, "many">;
|
|
107
|
+
unaccounted: z.ZodNumber;
|
|
108
|
+
total: z.ZodNumber;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
perFunction: {
|
|
111
|
+
functionName: string;
|
|
112
|
+
time: number;
|
|
113
|
+
oracles?: Record<string, {
|
|
114
|
+
times: number[];
|
|
115
|
+
}> | undefined;
|
|
116
|
+
}[];
|
|
117
|
+
unaccounted: number;
|
|
118
|
+
total: number;
|
|
119
|
+
sync?: number | undefined;
|
|
120
|
+
proving?: number | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
perFunction: {
|
|
123
|
+
functionName: string;
|
|
124
|
+
time: number;
|
|
125
|
+
oracles?: Record<string, {
|
|
126
|
+
times: number[];
|
|
127
|
+
}> | undefined;
|
|
128
|
+
}[];
|
|
129
|
+
unaccounted: number;
|
|
130
|
+
total: number;
|
|
131
|
+
sync?: number | undefined;
|
|
132
|
+
proving?: number | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
nodeRPCCalls: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
135
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
times: number[];
|
|
138
|
+
}, {
|
|
139
|
+
times: number[];
|
|
140
|
+
}>>>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
timings: {
|
|
143
|
+
perFunction: {
|
|
144
|
+
functionName: string;
|
|
145
|
+
time: number;
|
|
146
|
+
oracles?: Record<string, {
|
|
147
|
+
times: number[];
|
|
148
|
+
}> | undefined;
|
|
149
|
+
}[];
|
|
150
|
+
unaccounted: number;
|
|
151
|
+
total: number;
|
|
152
|
+
sync?: number | undefined;
|
|
153
|
+
proving?: number | undefined;
|
|
154
|
+
};
|
|
155
|
+
nodeRPCCalls?: Record<string, {
|
|
156
|
+
times: number[];
|
|
157
|
+
}> | undefined;
|
|
158
|
+
}, {
|
|
159
|
+
timings: {
|
|
160
|
+
perFunction: {
|
|
161
|
+
functionName: string;
|
|
162
|
+
time: number;
|
|
163
|
+
oracles?: Record<string, {
|
|
164
|
+
times: number[];
|
|
165
|
+
}> | undefined;
|
|
166
|
+
}[];
|
|
167
|
+
unaccounted: number;
|
|
168
|
+
total: number;
|
|
169
|
+
sync?: number | undefined;
|
|
170
|
+
proving?: number | undefined;
|
|
171
|
+
};
|
|
172
|
+
nodeRPCCalls?: Record<string, {
|
|
173
|
+
times: number[];
|
|
174
|
+
}> | undefined;
|
|
175
|
+
}>;
|
|
50
176
|
export interface SimulationTimings {
|
|
51
177
|
sync: number;
|
|
52
178
|
publicSimulation?: number;
|
|
@@ -62,12 +188,25 @@ export declare const SimulationTimingsSchema: z.ZodObject<{
|
|
|
62
188
|
perFunction: z.ZodArray<z.ZodObject<{
|
|
63
189
|
functionName: z.ZodString;
|
|
64
190
|
time: z.ZodNumber;
|
|
191
|
+
oracles: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
192
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
times: number[];
|
|
195
|
+
}, {
|
|
196
|
+
times: number[];
|
|
197
|
+
}>>>;
|
|
65
198
|
}, "strip", z.ZodTypeAny, {
|
|
66
199
|
functionName: string;
|
|
67
200
|
time: number;
|
|
201
|
+
oracles?: Record<string, {
|
|
202
|
+
times: number[];
|
|
203
|
+
}> | undefined;
|
|
68
204
|
}, {
|
|
69
205
|
functionName: string;
|
|
70
206
|
time: number;
|
|
207
|
+
oracles?: Record<string, {
|
|
208
|
+
times: number[];
|
|
209
|
+
}> | undefined;
|
|
71
210
|
}>, "many">;
|
|
72
211
|
unaccounted: z.ZodNumber;
|
|
73
212
|
total: z.ZodNumber;
|
|
@@ -76,6 +215,9 @@ export declare const SimulationTimingsSchema: z.ZodObject<{
|
|
|
76
215
|
perFunction: {
|
|
77
216
|
functionName: string;
|
|
78
217
|
time: number;
|
|
218
|
+
oracles?: Record<string, {
|
|
219
|
+
times: number[];
|
|
220
|
+
}> | undefined;
|
|
79
221
|
}[];
|
|
80
222
|
unaccounted: number;
|
|
81
223
|
total: number;
|
|
@@ -86,23 +228,131 @@ export declare const SimulationTimingsSchema: z.ZodObject<{
|
|
|
86
228
|
perFunction: {
|
|
87
229
|
functionName: string;
|
|
88
230
|
time: number;
|
|
231
|
+
oracles?: Record<string, {
|
|
232
|
+
times: number[];
|
|
233
|
+
}> | undefined;
|
|
89
234
|
}[];
|
|
90
235
|
unaccounted: number;
|
|
91
236
|
total: number;
|
|
92
237
|
validation?: number | undefined;
|
|
93
238
|
publicSimulation?: number | undefined;
|
|
94
239
|
}>;
|
|
240
|
+
export interface SimulationStats {
|
|
241
|
+
timings: SimulationTimings;
|
|
242
|
+
nodeRPCCalls: NodeStats;
|
|
243
|
+
}
|
|
244
|
+
export declare const SimulationStatsSchema: z.ZodObject<{
|
|
245
|
+
timings: z.ZodObject<{
|
|
246
|
+
sync: z.ZodNumber;
|
|
247
|
+
publicSimulation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
248
|
+
validation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
|
|
249
|
+
perFunction: z.ZodArray<z.ZodObject<{
|
|
250
|
+
functionName: z.ZodString;
|
|
251
|
+
time: z.ZodNumber;
|
|
252
|
+
oracles: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
253
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
times: number[];
|
|
256
|
+
}, {
|
|
257
|
+
times: number[];
|
|
258
|
+
}>>>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
functionName: string;
|
|
261
|
+
time: number;
|
|
262
|
+
oracles?: Record<string, {
|
|
263
|
+
times: number[];
|
|
264
|
+
}> | undefined;
|
|
265
|
+
}, {
|
|
266
|
+
functionName: string;
|
|
267
|
+
time: number;
|
|
268
|
+
oracles?: Record<string, {
|
|
269
|
+
times: number[];
|
|
270
|
+
}> | undefined;
|
|
271
|
+
}>, "many">;
|
|
272
|
+
unaccounted: z.ZodNumber;
|
|
273
|
+
total: z.ZodNumber;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
sync: number;
|
|
276
|
+
perFunction: {
|
|
277
|
+
functionName: string;
|
|
278
|
+
time: number;
|
|
279
|
+
oracles?: Record<string, {
|
|
280
|
+
times: number[];
|
|
281
|
+
}> | undefined;
|
|
282
|
+
}[];
|
|
283
|
+
unaccounted: number;
|
|
284
|
+
total: number;
|
|
285
|
+
validation?: number | undefined;
|
|
286
|
+
publicSimulation?: number | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
sync: number;
|
|
289
|
+
perFunction: {
|
|
290
|
+
functionName: string;
|
|
291
|
+
time: number;
|
|
292
|
+
oracles?: Record<string, {
|
|
293
|
+
times: number[];
|
|
294
|
+
}> | undefined;
|
|
295
|
+
}[];
|
|
296
|
+
unaccounted: number;
|
|
297
|
+
total: number;
|
|
298
|
+
validation?: number | undefined;
|
|
299
|
+
publicSimulation?: number | undefined;
|
|
300
|
+
}>;
|
|
301
|
+
nodeRPCCalls: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
302
|
+
times: z.ZodArray<z.ZodNumber, "many">;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
times: number[];
|
|
305
|
+
}, {
|
|
306
|
+
times: number[];
|
|
307
|
+
}>>;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
timings: {
|
|
310
|
+
sync: number;
|
|
311
|
+
perFunction: {
|
|
312
|
+
functionName: string;
|
|
313
|
+
time: number;
|
|
314
|
+
oracles?: Record<string, {
|
|
315
|
+
times: number[];
|
|
316
|
+
}> | undefined;
|
|
317
|
+
}[];
|
|
318
|
+
unaccounted: number;
|
|
319
|
+
total: number;
|
|
320
|
+
validation?: number | undefined;
|
|
321
|
+
publicSimulation?: number | undefined;
|
|
322
|
+
};
|
|
323
|
+
nodeRPCCalls: Record<string, {
|
|
324
|
+
times: number[];
|
|
325
|
+
}>;
|
|
326
|
+
}, {
|
|
327
|
+
timings: {
|
|
328
|
+
sync: number;
|
|
329
|
+
perFunction: {
|
|
330
|
+
functionName: string;
|
|
331
|
+
time: number;
|
|
332
|
+
oracles?: Record<string, {
|
|
333
|
+
times: number[];
|
|
334
|
+
}> | undefined;
|
|
335
|
+
}[];
|
|
336
|
+
unaccounted: number;
|
|
337
|
+
total: number;
|
|
338
|
+
validation?: number | undefined;
|
|
339
|
+
publicSimulation?: number | undefined;
|
|
340
|
+
};
|
|
341
|
+
nodeRPCCalls: Record<string, {
|
|
342
|
+
times: number[];
|
|
343
|
+
}>;
|
|
344
|
+
}>;
|
|
95
345
|
export declare class TxProfileResult {
|
|
96
346
|
executionSteps: PrivateExecutionStep[];
|
|
97
|
-
|
|
98
|
-
constructor(executionSteps: PrivateExecutionStep[],
|
|
347
|
+
stats: ProvingStats;
|
|
348
|
+
constructor(executionSteps: PrivateExecutionStep[], stats: ProvingStats);
|
|
99
349
|
static get schema(): ZodFor<TxProfileResult>;
|
|
100
350
|
static random(): TxProfileResult;
|
|
101
351
|
}
|
|
102
352
|
export declare class UtilitySimulationResult {
|
|
103
353
|
result: AbiDecoded;
|
|
104
|
-
|
|
105
|
-
constructor(result: AbiDecoded,
|
|
354
|
+
stats?: SimulationStats | undefined;
|
|
355
|
+
constructor(result: AbiDecoded, stats?: SimulationStats | undefined);
|
|
106
356
|
static get schema(): ZodFor<UtilitySimulationResult>;
|
|
107
357
|
static random(): UtilitySimulationResult;
|
|
108
358
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiling.d.ts","sourceRoot":"","sources":["../../src/tx/profiling.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAY,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,oBAAoB,EAA8B,MAAM,2CAA2C,CAAC;AAGlH,KAAK,cAAc,GAAG;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"profiling.d.ts","sourceRoot":"","sources":["../../src/tx/profiling.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAY,MAAM,2BAA2B,CAAC;AAElE,OAA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