@aztec/stdlib 3.0.0-nightly.20251001 → 3.0.0-nightly.20251002

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.
@@ -12,21 +12,21 @@ export declare function inBlockSchemaFor<T extends ZodTypeAny>(schema: T): z.Zod
12
12
  data: T;
13
13
  l2BlockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
14
14
  l2BlockHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
15
- }, "strip", ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
15
+ }, "strip", ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
16
16
  data: T;
17
17
  l2BlockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
18
18
  l2BlockHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
19
- }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
19
+ }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
20
20
  data: T;
21
21
  l2BlockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
22
22
  l2BlockHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
23
- }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
23
+ }>, any>[k]; } : never, z.baseObjectInputType<{
24
24
  data: T;
25
25
  l2BlockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
26
26
  l2BlockHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
27
- }>]: z.baseObjectInputType<{
27
+ }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
28
28
  data: T;
29
29
  l2BlockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
30
30
  l2BlockHash: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
31
- }>[k_1]; }>;
31
+ }>[k_1]; } : never>;
32
32
  //# sourceMappingURL=in_block.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"in_block.d.ts","sourceRoot":"","sources":["../../src/block/in_block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAEF,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAMpD;AAED,wBAAsB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAMjF;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,UAAU,EAAE,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;YAM/D"}
1
+ {"version":3,"file":"in_block.d.ts","sourceRoot":"","sources":["../../src/block/in_block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAEF,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAMpD;AAED,wBAAsB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAMjF;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,UAAU,EAAE,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;oBAM/D"}
@@ -120,7 +120,7 @@ interface ContractClassCommitments {
120
120
  }
121
121
  /** A contract class with its precomputed id. */
122
122
  export type ContractClassWithId = ContractClass & Pick<ContractClassCommitments, 'id'>;
123
- export declare const ContractClassWithIdSchema: z.ZodObject<z.objectUtil.extendShape<{
123
+ export declare const ContractClassWithIdSchema: z.ZodObject<{
124
124
  version: z.ZodLiteral<1>;
125
125
  artifactHash: z.ZodType<Fr, any, string>;
126
126
  privateFunctions: z.ZodArray<z.ZodObject<{
@@ -146,9 +146,9 @@ export declare const ContractClassWithIdSchema: z.ZodObject<z.objectUtil.extendS
146
146
  type: "Buffer";
147
147
  data: number[];
148
148
  }>]>;
149
- }, {
149
+ } & {
150
150
  id: z.ZodType<Fr, any, string>;
151
- }>, "strip", z.ZodTypeAny, {
151
+ }, "strip", z.ZodTypeAny, {
152
152
  version: 1;
153
153
  id: Fr;
154
154
  artifactHash: Fr;
@@ -44,7 +44,7 @@ export interface AztecNodeAdmin {
44
44
  export type AztecNodeAdminConfig = ValidatorClientFullConfig & SequencerConfig & ProverConfig & SlasherConfig & Pick<ArchiverSpecificConfig, 'archiverPollingIntervalMS' | 'skipValidateBlockAttestations' | 'archiverBatchSize'> & {
45
45
  maxTxPoolSize: number;
46
46
  };
47
- export declare const AztecNodeAdminConfigSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
47
+ export declare const AztecNodeAdminConfigSchema: z.ZodObject<{
48
48
  transactionPollingIntervalMS: z.ZodOptional<z.ZodNumber>;
49
49
  maxTxsPerBlock: z.ZodOptional<z.ZodNumber>;
50
50
  minTxsPerBlock: z.ZodOptional<z.ZodNumber>;
@@ -95,7 +95,7 @@ export declare const AztecNodeAdminConfigSchema: z.ZodObject<z.objectUtil.extend
95
95
  skipCollectingAttestations: z.ZodOptional<z.ZodBoolean>;
96
96
  secondsBeforeInvalidatingBlockAsCommitteeMember: z.ZodNumber;
97
97
  secondsBeforeInvalidatingBlockAsNonCommitteeMember: z.ZodNumber;
98
- }, {
98
+ } & {
99
99
  nodeUrl: z.ZodOptional<z.ZodString>;
100
100
  realProofs: z.ZodBoolean;
101
101
  proverId: z.ZodOptional<import("../schemas/schemas.js").ZodFor<import("@aztec/foundation/schemas").EthAddress>>;
@@ -103,7 +103,7 @@ export declare const AztecNodeAdminConfigSchema: z.ZodObject<z.objectUtil.extend
103
103
  proverTestDelayMs: z.ZodNumber;
104
104
  proverTestDelayFactor: z.ZodNumber;
105
105
  proverAgentCount: z.ZodNumber;
106
- }>, {
106
+ } & {
107
107
  slashOverridePayload: z.ZodOptional<z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>>;
108
108
  slashMinPenaltyPercentage: z.ZodNumber;
109
109
  slashMaxPenaltyPercentage: z.ZodNumber;
@@ -123,7 +123,7 @@ export declare const AztecNodeAdminConfigSchema: z.ZodObject<z.objectUtil.extend
123
123
  slashBroadcastedInvalidBlockPenalty: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
124
124
  slashExecuteRoundsLookBack: z.ZodNumber;
125
125
  slashSelfAllowed: z.ZodOptional<z.ZodBoolean>;
126
- }>, {
126
+ } & {
127
127
  validatorAddresses: z.ZodOptional<z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, "many">>;
128
128
  disableValidator: z.ZodBoolean;
129
129
  disabledValidators: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, "many">;
@@ -131,16 +131,16 @@ export declare const AztecNodeAdminConfigSchema: z.ZodObject<z.objectUtil.extend
131
131
  validatorReexecute: z.ZodBoolean;
132
132
  validatorReexecuteDeadlineMs: z.ZodNumber;
133
133
  alwaysReexecuteBlockProposals: z.ZodOptional<z.ZodBoolean>;
134
- }>, Pick<{
134
+ } & Pick<{
135
135
  archiverPollingIntervalMS: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>>;
136
136
  archiverBatchSize: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>>;
137
137
  viemPollingIntervalMS: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>>;
138
138
  maxLogs: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>>;
139
139
  archiverStoreMapSizeKb: z.ZodOptional<z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>>;
140
140
  skipValidateBlockAttestations: z.ZodOptional<z.ZodBoolean>;
141
- }, "archiverPollingIntervalMS" | "archiverBatchSize" | "skipValidateBlockAttestations">>, {
141
+ }, "archiverPollingIntervalMS" | "archiverBatchSize" | "skipValidateBlockAttestations"> & {
142
142
  maxTxPoolSize: z.ZodNumber;
143
- }>, "strip", z.ZodTypeAny, {
143
+ }, "strip", z.ZodTypeAny, {
144
144
  secondsBeforeInvalidatingBlockAsCommitteeMember: number;
145
145
  secondsBeforeInvalidatingBlockAsNonCommitteeMember: number;
146
146
  slashMinPenaltyPercentage: number;
@@ -5948,11 +5948,11 @@ export declare const ProvingJobFulfilledResult: z.ZodObject<{
5948
5948
  status: z.ZodLiteral<"fulfilled">;
5949
5949
  value: z.ZodBranded<z.ZodString, "ProvingJobUri">;
5950
5950
  }, "strip", z.ZodTypeAny, {
5951
- status: "fulfilled";
5952
5951
  value: string & z.BRAND<"ProvingJobUri">;
5953
- }, {
5954
5952
  status: "fulfilled";
5953
+ }, {
5955
5954
  value: string;
5955
+ status: "fulfilled";
5956
5956
  }>;
5957
5957
  export type ProvingJobFulfilledResult = z.infer<typeof ProvingJobFulfilledResult>;
5958
5958
  export declare const ProvingJobRejectedResult: z.ZodObject<{
@@ -5970,11 +5970,11 @@ export declare const ProvingJobSettledResult: z.ZodDiscriminatedUnion<"status",
5970
5970
  status: z.ZodLiteral<"fulfilled">;
5971
5971
  value: z.ZodBranded<z.ZodString, "ProvingJobUri">;
5972
5972
  }, "strip", z.ZodTypeAny, {
5973
- status: "fulfilled";
5974
5973
  value: string & z.BRAND<"ProvingJobUri">;
5975
- }, {
5976
5974
  status: "fulfilled";
5975
+ }, {
5977
5976
  value: string;
5977
+ status: "fulfilled";
5978
5978
  }>, z.ZodObject<{
5979
5979
  status: z.ZodLiteral<"rejected">;
5980
5980
  reason: z.ZodString;
@@ -6008,11 +6008,11 @@ export declare const ProvingJobStatus: z.ZodDiscriminatedUnion<"status", [z.ZodO
6008
6008
  status: z.ZodLiteral<"fulfilled">;
6009
6009
  value: z.ZodBranded<z.ZodString, "ProvingJobUri">;
6010
6010
  }, "strip", z.ZodTypeAny, {
6011
- status: "fulfilled";
6012
6011
  value: string & z.BRAND<"ProvingJobUri">;
6013
- }, {
6014
6012
  status: "fulfilled";
6013
+ }, {
6015
6014
  value: string;
6015
+ status: "fulfilled";
6016
6016
  }>, z.ZodObject<{
6017
6017
  status: z.ZodLiteral<"rejected">;
6018
6018
  reason: z.ZodString;
@@ -4,13 +4,13 @@ import { TxEffect } from './tx_effect.js';
4
4
  export type IndexedTxEffect = InBlock<TxEffect> & {
5
5
  txIndexInBlock: number;
6
6
  };
7
- export declare function indexedTxSchema(): import("zod").ZodObject<import("zod").objectUtil.extendShape<{
7
+ export declare function indexedTxSchema(): import("zod").ZodObject<{
8
8
  data: import("@aztec/foundation/schemas").ZodFor<TxEffect>;
9
9
  l2BlockNumber: import("zod").ZodPipeline<import("zod").ZodUnion<[import("zod").ZodBigInt, import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodNumber>;
10
10
  l2BlockHash: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, L2BlockHash, string>;
11
- }, {
11
+ } & {
12
12
  txIndexInBlock: import("zod").ZodPipeline<import("zod").ZodUnion<[import("zod").ZodBigInt, import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodNumber>;
13
- }>, "strip", import("zod").ZodTypeAny, {
13
+ }, "strip", import("zod").ZodTypeAny, {
14
14
  data: TxEffect;
15
15
  l2BlockNumber: number;
16
16
  l2BlockHash: L2BlockHash;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/stdlib",
3
- "version": "3.0.0-nightly.20251001",
3
+ "version": "3.0.0-nightly.20251002",
4
4
  "type": "module",
5
5
  "inherits": [
6
6
  "../package.common.json",
@@ -70,13 +70,13 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@aws-sdk/client-s3": "^3.892.0",
73
- "@aztec/bb.js": "3.0.0-nightly.20251001",
74
- "@aztec/blob-lib": "3.0.0-nightly.20251001",
75
- "@aztec/constants": "3.0.0-nightly.20251001",
76
- "@aztec/ethereum": "3.0.0-nightly.20251001",
77
- "@aztec/foundation": "3.0.0-nightly.20251001",
78
- "@aztec/l1-artifacts": "3.0.0-nightly.20251001",
79
- "@aztec/noir-noirc_abi": "3.0.0-nightly.20251001",
73
+ "@aztec/bb.js": "3.0.0-nightly.20251002",
74
+ "@aztec/blob-lib": "3.0.0-nightly.20251002",
75
+ "@aztec/constants": "3.0.0-nightly.20251002",
76
+ "@aztec/ethereum": "3.0.0-nightly.20251002",
77
+ "@aztec/foundation": "3.0.0-nightly.20251002",
78
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251002",
79
+ "@aztec/noir-noirc_abi": "3.0.0-nightly.20251002",
80
80
  "@google-cloud/storage": "^7.15.0",
81
81
  "axios": "^1.9.0",
82
82
  "json-stringify-deterministic": "1.0.12",