@aztec/stdlib 1.0.0-nightly.20250606 → 1.0.0-nightly.20250607

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.
Files changed (121) hide show
  1. package/dest/avm/avm.d.ts +304 -304
  2. package/dest/avm/avm_circuit_public_inputs.d.ts +60 -60
  3. package/dest/avm/avm_proving_request.d.ts +184 -184
  4. package/dest/avm/message_pack.d.ts.map +1 -1
  5. package/dest/avm/message_pack.js +2 -1
  6. package/dest/block/l2_block.js +1 -1
  7. package/dest/block/l2_block_code_to_purge.js +1 -1
  8. package/dest/block/l2_block_source.d.ts +2 -0
  9. package/dest/block/l2_block_source.d.ts.map +1 -1
  10. package/dest/fees/transaction_fee.js +3 -3
  11. package/dest/gas/gas.js +1 -1
  12. package/dest/gas/gas_fees.d.ts +15 -14
  13. package/dest/gas/gas_fees.d.ts.map +1 -1
  14. package/dest/gas/gas_fees.js +17 -18
  15. package/dest/gas/gas_settings.d.ts +24 -24
  16. package/dest/gas/gas_settings.d.ts.map +1 -1
  17. package/dest/gas/gas_settings.js +1 -1
  18. package/dest/interfaces/archiver.d.ts.map +1 -1
  19. package/dest/interfaces/archiver.js +1 -0
  20. package/dest/interfaces/proving-job.d.ts +185 -185
  21. package/dest/interfaces/proving-job.d.ts.map +1 -1
  22. package/dest/interfaces/service.d.ts +1 -2
  23. package/dest/interfaces/service.d.ts.map +1 -1
  24. package/dest/interfaces/service.js +0 -7
  25. package/dest/kernel/combined_constant_data.d.ts +71 -0
  26. package/dest/kernel/combined_constant_data.d.ts.map +1 -0
  27. package/dest/kernel/combined_constant_data.js +73 -0
  28. package/dest/kernel/index.d.ts +1 -0
  29. package/dest/kernel/index.d.ts.map +1 -1
  30. package/dest/kernel/index.js +1 -0
  31. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts +3 -3
  32. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts.map +1 -1
  33. package/dest/rollup/base_or_merge_rollup_public_inputs.js +3 -3
  34. package/dest/rollup/base_rollup_hints.d.ts +14 -15
  35. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  36. package/dest/rollup/base_rollup_hints.js +12 -13
  37. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts +24 -9
  38. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts.map +1 -1
  39. package/dest/rollup/block_root_or_block_merge_public_inputs.js +14 -7
  40. package/dest/rollup/block_root_rollup.d.ts +2 -2
  41. package/dest/rollup/block_root_rollup.js +1 -1
  42. package/dest/rollup/constant_rollup_data.d.ts +45 -0
  43. package/dest/rollup/constant_rollup_data.d.ts.map +1 -0
  44. package/dest/rollup/{block_constant_data.js → constant_rollup_data.js} +13 -10
  45. package/dest/rollup/empty_block_root_rollup_inputs.d.ts +4 -4
  46. package/dest/rollup/empty_block_root_rollup_inputs.d.ts.map +1 -1
  47. package/dest/rollup/empty_block_root_rollup_inputs.js +2 -2
  48. package/dest/rollup/index.d.ts +1 -2
  49. package/dest/rollup/index.d.ts.map +1 -1
  50. package/dest/rollup/index.js +1 -2
  51. package/dest/rollup/root_rollup.d.ts +6 -2
  52. package/dest/rollup/root_rollup.d.ts.map +1 -1
  53. package/dest/rollup/root_rollup.js +6 -3
  54. package/dest/tests/factories.d.ts +10 -1
  55. package/dest/tests/factories.d.ts.map +1 -1
  56. package/dest/tests/factories.js +33 -20
  57. package/dest/tests/mocks.js +2 -2
  58. package/dest/trees/append_only_tree_snapshot.d.ts +2 -2
  59. package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
  60. package/dest/trees/append_only_tree_snapshot.js +2 -2
  61. package/dest/tx/block_header.js +2 -2
  62. package/dest/tx/global_variables.d.ts +12 -12
  63. package/dest/tx/global_variables.js +2 -2
  64. package/dest/tx/partial_state_reference.js +2 -2
  65. package/dest/tx/processed_tx.d.ts +3 -2
  66. package/dest/tx/processed_tx.d.ts.map +1 -1
  67. package/dest/tx/processed_tx.js +7 -5
  68. package/dest/tx/proposed_block_header.d.ts +2 -2
  69. package/dest/tx/proposed_block_header.js +1 -1
  70. package/dest/tx/public_simulation_output.d.ts +3 -3
  71. package/dest/tx/public_simulation_output.d.ts.map +1 -1
  72. package/dest/tx/public_simulation_output.js +7 -7
  73. package/dest/tx/state_reference.js +2 -2
  74. package/dest/tx/tree_snapshots.js +2 -2
  75. package/dest/tx/tx_context.d.ts +32 -32
  76. package/dest/types/shared.d.ts +4 -0
  77. package/dest/types/shared.d.ts.map +1 -1
  78. package/dest/zkpassport/index.d.ts +31 -0
  79. package/dest/zkpassport/index.d.ts.map +1 -0
  80. package/dest/zkpassport/index.js +81 -0
  81. package/package.json +9 -8
  82. package/src/avm/message_pack.ts +1 -0
  83. package/src/block/l2_block.ts +1 -1
  84. package/src/block/l2_block_code_to_purge.ts +1 -1
  85. package/src/block/l2_block_source.ts +3 -0
  86. package/src/fees/transaction_fee.ts +5 -5
  87. package/src/gas/gas.ts +1 -1
  88. package/src/gas/gas_fees.ts +27 -23
  89. package/src/gas/gas_settings.ts +1 -5
  90. package/src/interfaces/archiver.ts +1 -0
  91. package/src/interfaces/service.ts +1 -11
  92. package/src/kernel/combined_constant_data.ts +128 -0
  93. package/src/kernel/index.ts +1 -0
  94. package/src/rollup/base_or_merge_rollup_public_inputs.ts +4 -4
  95. package/src/rollup/base_rollup_hints.ts +11 -12
  96. package/src/rollup/block_root_or_block_merge_public_inputs.ts +18 -7
  97. package/src/rollup/block_root_rollup.ts +1 -1
  98. package/src/rollup/constant_rollup_data.ts +54 -0
  99. package/src/rollup/empty_block_root_rollup_inputs.ts +3 -3
  100. package/src/rollup/index.ts +1 -2
  101. package/src/rollup/root_rollup.ts +7 -5
  102. package/src/tests/factories.ts +54 -30
  103. package/src/tests/mocks.ts +2 -2
  104. package/src/trees/append_only_tree_snapshot.ts +2 -2
  105. package/src/tx/block_header.ts +2 -2
  106. package/src/tx/global_variables.ts +2 -2
  107. package/src/tx/partial_state_reference.ts +4 -4
  108. package/src/tx/processed_tx.ts +10 -7
  109. package/src/tx/proposed_block_header.ts +1 -1
  110. package/src/tx/public_simulation_output.ts +5 -5
  111. package/src/tx/state_reference.ts +2 -2
  112. package/src/tx/tree_snapshots.ts +8 -8
  113. package/src/types/shared.ts +5 -0
  114. package/src/zkpassport/index.ts +115 -0
  115. package/dest/rollup/block_constant_data.d.ts +0 -37
  116. package/dest/rollup/block_constant_data.d.ts.map +0 -1
  117. package/dest/rollup/epoch_constant_data.d.ts +0 -39
  118. package/dest/rollup/epoch_constant_data.d.ts.map +0 -1
  119. package/dest/rollup/epoch_constant_data.js +0 -40
  120. package/src/rollup/block_constant_data.ts +0 -63
  121. package/src/rollup/epoch_constant_data.ts +0 -44
@@ -1 +1 @@
1
- {"version":3,"file":"proving-job.d.ts","sourceRoot":"","sources":["../../src/interfaces/proving-job.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oCAAoC,EACpC,6BAA6B,EAC7B,yCAAyC,EACzC,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AACzG,OAAO,EAAE,qBAA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eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -12,6 +12,5 @@ export interface Service {
12
12
  resume(): void;
13
13
  }
14
14
  /** Tries to call stop on a given object and awaits it. Logs any errors and does not rethrow. */
15
- export declare function tryStop(service?: Partial<Service>, logger?: Logger): Promise<void>;
16
- export declare function tryRestart(service?: Partial<Service>, logger?: Logger): any;
15
+ export declare function tryStop(service?: Partial<Pick<Service, 'stop'>>, logger?: Logger): Promise<void>;
17
16
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/interfaces/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,kEAAkE;AAClE,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD,yBAAyB;IACzB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtB,+CAA+C;IAC/C,MAAM,IAAI,IAAI,CAAC;CAChB;AAED,gGAAgG;AAChG,wBAAsB,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQxF;AAED,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,OAQrE"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/interfaces/service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,kEAAkE;AAClE,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,KAAK,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD,yBAAyB;IACzB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtB,+CAA+C;IAC/C,MAAM,IAAI,IAAI,CAAC;CAChB;AAED,gGAAgG;AAChG,wBAAsB,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQtG"}
@@ -5,10 +5,3 @@
5
5
  logger?.error(`Error stopping service ${service.constructor?.name}: ${err}`);
6
6
  }
7
7
  }
8
- export function tryRestart(service, logger) {
9
- try {
10
- return typeof service === 'object' && service && 'restart' in service && typeof service.restart === 'function' ? service.restart() : Promise.resolve();
11
- } catch (err) {
12
- logger?.error(`Error restarting service ${service.constructor?.name}: ${err}`);
13
- }
14
- }
@@ -0,0 +1,71 @@
1
+ import { Fr } from '@aztec/foundation/fields';
2
+ import { type ZodFor } from '@aztec/foundation/schemas';
3
+ import { BufferReader, FieldReader } from '@aztec/foundation/serialize';
4
+ import type { FieldsOf } from '@aztec/foundation/types';
5
+ import { BlockHeader } from '../tx/block_header.js';
6
+ import { GlobalVariables } from '../tx/global_variables.js';
7
+ import type { TxConstantData } from '../tx/tx_constant_data.js';
8
+ import { TxContext } from '../tx/tx_context.js';
9
+ /**
10
+ * Data that is constant/not modified by neither of the kernels.
11
+ */
12
+ export declare class CombinedConstantData {
13
+ /** Header of a block whose state is used during execution (not the block the transaction is included in). */
14
+ historicalHeader: BlockHeader;
15
+ /**
16
+ * Context of the transaction.
17
+ *
18
+ * Note: `chainId` and `version` in txContext are not redundant to the values in
19
+ * self.historical_header.global_variables because they can be different in case of a protocol upgrade. In such
20
+ * a situation we could be using header from a block before the upgrade took place but be using the updated
21
+ * protocol to execute and prove the transaction.
22
+ */
23
+ txContext: TxContext;
24
+ /**
25
+ * Root of the vk tree for the protocol circuits.
26
+ */
27
+ vkTreeRoot: Fr;
28
+ /**
29
+ * Root of the tree for the protocol contracts.
30
+ */
31
+ protocolContractTreeRoot: Fr;
32
+ /** Present when output by a public kernel, empty otherwise. */
33
+ globalVariables: GlobalVariables;
34
+ constructor(
35
+ /** Header of a block whose state is used during execution (not the block the transaction is included in). */
36
+ historicalHeader: BlockHeader,
37
+ /**
38
+ * Context of the transaction.
39
+ *
40
+ * Note: `chainId` and `version` in txContext are not redundant to the values in
41
+ * self.historical_header.global_variables because they can be different in case of a protocol upgrade. In such
42
+ * a situation we could be using header from a block before the upgrade took place but be using the updated
43
+ * protocol to execute and prove the transaction.
44
+ */
45
+ txContext: TxContext,
46
+ /**
47
+ * Root of the vk tree for the protocol circuits.
48
+ */
49
+ vkTreeRoot: Fr,
50
+ /**
51
+ * Root of the tree for the protocol contracts.
52
+ */
53
+ protocolContractTreeRoot: Fr,
54
+ /** Present when output by a public kernel, empty otherwise. */
55
+ globalVariables: GlobalVariables);
56
+ static combine(TxConstantData: TxConstantData, globalVariables: GlobalVariables): CombinedConstantData;
57
+ static get schema(): ZodFor<CombinedConstantData>;
58
+ toBuffer(): Buffer<ArrayBufferLike>;
59
+ clone(): CombinedConstantData;
60
+ getSize(): number;
61
+ static from({ historicalHeader, txContext, vkTreeRoot, protocolContractTreeRoot, globalVariables, }: FieldsOf<CombinedConstantData>): CombinedConstantData;
62
+ /**
63
+ * Deserializes from a buffer or reader, corresponding to a write in cpp.
64
+ * @param buffer - Buffer or buffer reader to read from.
65
+ * @returns A new instance of CombinedConstantData.
66
+ */
67
+ static fromBuffer(buffer: Buffer | BufferReader): CombinedConstantData;
68
+ static fromFields(fields: Fr[] | FieldReader): CombinedConstantData;
69
+ static empty(): CombinedConstantData;
70
+ }
71
+ //# sourceMappingURL=combined_constant_data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combined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AAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,oBAAoB;IAIxD;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,oBAAoB;IAWtE,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,EAAE,GAAG,WAAW,GAAG,oBAAoB;IAWnE,MAAM,CAAC,KAAK;CAGb"}
@@ -0,0 +1,73 @@
1
+ import { Fr } from '@aztec/foundation/fields';
2
+ import { hexSchemaFor, schemas } from '@aztec/foundation/schemas';
3
+ import { BufferReader, FieldReader, serializeToBuffer } from '@aztec/foundation/serialize';
4
+ import { z } from 'zod';
5
+ import { BlockHeader } from '../tx/block_header.js';
6
+ import { GlobalVariables } from '../tx/global_variables.js';
7
+ import { TxContext } from '../tx/tx_context.js';
8
+ /**
9
+ * Data that is constant/not modified by neither of the kernels.
10
+ */ export class CombinedConstantData {
11
+ historicalHeader;
12
+ txContext;
13
+ vkTreeRoot;
14
+ protocolContractTreeRoot;
15
+ globalVariables;
16
+ constructor(/** Header of a block whose state is used during execution (not the block the transaction is included in). */ historicalHeader, /**
17
+ * Context of the transaction.
18
+ *
19
+ * Note: `chainId` and `version` in txContext are not redundant to the values in
20
+ * self.historical_header.global_variables because they can be different in case of a protocol upgrade. In such
21
+ * a situation we could be using header from a block before the upgrade took place but be using the updated
22
+ * protocol to execute and prove the transaction.
23
+ */ txContext, /**
24
+ * Root of the vk tree for the protocol circuits.
25
+ */ vkTreeRoot, /**
26
+ * Root of the tree for the protocol contracts.
27
+ */ protocolContractTreeRoot, /** Present when output by a public kernel, empty otherwise. */ globalVariables){
28
+ this.historicalHeader = historicalHeader;
29
+ this.txContext = txContext;
30
+ this.vkTreeRoot = vkTreeRoot;
31
+ this.protocolContractTreeRoot = protocolContractTreeRoot;
32
+ this.globalVariables = globalVariables;
33
+ }
34
+ static combine(TxConstantData, globalVariables) {
35
+ return new CombinedConstantData(TxConstantData.historicalHeader, TxConstantData.txContext, TxConstantData.vkTreeRoot, TxConstantData.protocolContractTreeRoot, globalVariables);
36
+ }
37
+ static get schema() {
38
+ return z.object({
39
+ historicalHeader: BlockHeader.schema,
40
+ txContext: TxContext.schema,
41
+ vkTreeRoot: schemas.Fr,
42
+ protocolContractTreeRoot: schemas.Fr,
43
+ globalVariables: GlobalVariables.schema
44
+ }).transform(CombinedConstantData.from).or(hexSchemaFor(CombinedConstantData));
45
+ }
46
+ toBuffer() {
47
+ return serializeToBuffer(this.historicalHeader, this.txContext, this.vkTreeRoot, this.protocolContractTreeRoot, this.globalVariables);
48
+ }
49
+ clone() {
50
+ return CombinedConstantData.fromBuffer(this.toBuffer());
51
+ }
52
+ getSize() {
53
+ return this.historicalHeader.getSize() + this.txContext.getSize() + this.vkTreeRoot.size + this.protocolContractTreeRoot.size + this.globalVariables.getSize();
54
+ }
55
+ static from({ historicalHeader, txContext, vkTreeRoot, protocolContractTreeRoot, globalVariables }) {
56
+ return new CombinedConstantData(historicalHeader, txContext, vkTreeRoot, protocolContractTreeRoot, globalVariables);
57
+ }
58
+ /**
59
+ * Deserializes from a buffer or reader, corresponding to a write in cpp.
60
+ * @param buffer - Buffer or buffer reader to read from.
61
+ * @returns A new instance of CombinedConstantData.
62
+ */ static fromBuffer(buffer) {
63
+ const reader = BufferReader.asReader(buffer);
64
+ return new CombinedConstantData(reader.readObject(BlockHeader), reader.readObject(TxContext), Fr.fromBuffer(reader), Fr.fromBuffer(reader), reader.readObject(GlobalVariables));
65
+ }
66
+ static fromFields(fields) {
67
+ const reader = FieldReader.asReader(fields);
68
+ return new CombinedConstantData(reader.readObject(BlockHeader), reader.readObject(TxContext), reader.readField(), reader.readField(), reader.readObject(GlobalVariables));
69
+ }
70
+ static empty() {
71
+ return new CombinedConstantData(BlockHeader.empty(), TxContext.empty(), Fr.ZERO, Fr.ZERO, GlobalVariables.empty());
72
+ }
73
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './private_to_rollup_accumulated_data.js';
2
+ export * from './combined_constant_data.js';
2
3
  export * from './private_to_rollup_kernel_circuit_public_inputs.js';
3
4
  export * from './private_accumulated_data.js';
4
5
  export * from './private_call_data.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kernel/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,oCAAoC,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kernel/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qDAAqD,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,kDAAkD,CAAC;AACjE,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AACxD,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,oCAAoC,CAAC;AACnD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './private_to_rollup_accumulated_data.js';
2
+ export * from './combined_constant_data.js';
2
3
  export * from './private_to_rollup_kernel_circuit_public_inputs.js';
3
4
  export * from './private_accumulated_data.js';
4
5
  export * from './private_call_data.js';
@@ -3,7 +3,7 @@ import { Fr } from '@aztec/foundation/fields';
3
3
  import { BufferReader } from '@aztec/foundation/serialize';
4
4
  import { PartialStateReference } from '../tx/partial_state_reference.js';
5
5
  import { RollupTypes } from '../types/shared.js';
6
- import { BlockConstantData } from './block_constant_data.js';
6
+ import { ConstantRollupData } from './constant_rollup_data.js';
7
7
  /**
8
8
  * Output of the base and merge rollup circuits.
9
9
  */
@@ -19,7 +19,7 @@ export declare class BaseOrMergeRollupPublicInputs {
19
19
  /**
20
20
  * Data which is forwarded through the rollup circuits unchanged.
21
21
  */
22
- constants: BlockConstantData;
22
+ constants: ConstantRollupData;
23
23
  /**
24
24
  * Partial state reference at the start of the rollup circuit.
25
25
  */
@@ -61,7 +61,7 @@ export declare class BaseOrMergeRollupPublicInputs {
61
61
  /**
62
62
  * Data which is forwarded through the rollup circuits unchanged.
63
63
  */
64
- constants: BlockConstantData,
64
+ constants: ConstantRollupData,
65
65
  /**
66
66
  * Partial state reference at the start of the rollup circuit.
67
67
  */
@@ -1 +1 @@
1
- {"version":3,"file":"base_or_merge_rollup_public_inputs.d.ts","sourceRoot":"","sources":["../../src/rollup/base_or_merge_rollup_public_inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAqB,MAAM,6BAA6B,CAAC;AAG9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D;;GAEG;AACH,qBAAa,6BAA6B;IAEtC;;OAEG;IACI,UAAU,EAAE,WAAW;IAC9B;;OAEG;IACI,MAAM,EAAE,MAAM;IACrB;;OAEG;IACI,SAAS,EAAE,iBAAiB;IACnC;;OAEG;IACI,KAAK,EAAE,qBAAqB;IACnC;;OAEG;IACI,GAAG,EAAE,qBAAqB;IACjC;;OAEG;IACI,eAAe,EAAE,UAAU;IAClC;;OAEG;IACI,aAAa,EAAE,UAAU;IAChC;;;OAGG;IACI,OAAO,EAAE,EAAE;IAClB;;OAEG;IACI,eAAe,EAAE,EAAE;IAC1B;;OAEG;IACI,mBAAmB,EAAE,EAAE;;IAxC9B;;OAEG;IACI,UAAU,EAAE,WAAW;IAC9B;;OAEG;IACI,MAAM,EAAE,MAAM;IACrB;;OAEG;IACI,SAAS,EAAE,iBAAiB;IACnC;;OAEG;IACI,KAAK,EAAE,qBAAqB;IACnC;;OAEG;IACI,GAAG,EAAE,qBAAqB;IACjC;;OAEG;IACI,eAAe,EAAE,UAAU;IAClC;;OAEG;IACI,aAAa,EAAE,UAAU;IAChC;;;OAGG;IACI,OAAO,EAAE,EAAE;IAClB;;OAEG;IACI,eAAe,EAAE,EAAE;IAC1B;;OAEG;IACI,mBAAmB,EAAE,EAAE;IAGhC,iCAAiC;IACjC,MAAM,CAAC,KAAK;IAeZ;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,6BAA6B;IAgB/E;;;OAGG;IACH,QAAQ;IAmBR;;;OAGG;IACH,QAAQ;IAIR;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM;IAI7B,8DAA8D;IAC9D,MAAM;IAIN,6CAA6C;IAC7C,MAAM,KAAK,MAAM,sEAEhB;CACF"}
1
+ {"version":3,"file":"base_or_merge_rollup_public_inputs.d.ts","sourceRoot":"","sources":["../../src/rollup/base_or_merge_rollup_public_inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAqB,MAAM,6BAA6B,CAAC;AAG9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D;;GAEG;AACH,qBAAa,6BAA6B;IAEtC;;OAEG;IACI,UAAU,EAAE,WAAW;IAC9B;;OAEG;IACI,MAAM,EAAE,MAAM;IACrB;;OAEG;IACI,SAAS,EAAE,kBAAkB;IACpC;;OAEG;IACI,KAAK,EAAE,qBAAqB;IACnC;;OAEG;IACI,GAAG,EAAE,qBAAqB;IACjC;;OAEG;IACI,eAAe,EAAE,UAAU;IAClC;;OAEG;IACI,aAAa,EAAE,UAAU;IAChC;;;OAGG;IACI,OAAO,EAAE,EAAE;IAClB;;OAEG;IACI,eAAe,EAAE,EAAE;IAC1B;;OAEG;IACI,mBAAmB,EAAE,EAAE;;IAxC9B;;OAEG;IACI,UAAU,EAAE,WAAW;IAC9B;;OAEG;IACI,MAAM,EAAE,MAAM;IACrB;;OAEG;IACI,SAAS,EAAE,kBAAkB;IACpC;;OAEG;IACI,KAAK,EAAE,qBAAqB;IACnC;;OAEG;IACI,GAAG,EAAE,qBAAqB;IACjC;;OAEG;IACI,eAAe,EAAE,UAAU;IAClC;;OAEG;IACI,aAAa,EAAE,UAAU;IAChC;;;OAGG;IACI,OAAO,EAAE,EAAE;IAClB;;OAEG;IACI,eAAe,EAAE,EAAE;IAC1B;;OAEG;IACI,mBAAmB,EAAE,EAAE;IAGhC,iCAAiC;IACjC,MAAM,CAAC,KAAK;IAeZ;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,6BAA6B;IAgB/E;;;OAGG;IACH,QAAQ;IAmBR;;;OAGG;IACH,QAAQ;IAIR;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM;IAI7B,8DAA8D;IAC9D,MAAM;IAIN,6CAA6C;IAC7C,MAAM,KAAK,MAAM,sEAEhB;CACF"}
@@ -5,7 +5,7 @@ import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
5
5
  import { bufferToHex, hexToBuffer } from '@aztec/foundation/string';
6
6
  import { PartialStateReference } from '../tx/partial_state_reference.js';
7
7
  import { RollupTypes } from '../types/shared.js';
8
- import { BlockConstantData } from './block_constant_data.js';
8
+ import { ConstantRollupData } from './constant_rollup_data.js';
9
9
  /**
10
10
  * Output of the base and merge rollup circuits.
11
11
  */ export class BaseOrMergeRollupPublicInputs {
@@ -53,7 +53,7 @@ import { BlockConstantData } from './block_constant_data.js';
53
53
  this.accumulatedManaUsed = accumulatedManaUsed;
54
54
  }
55
55
  /** Returns an empty instance. */ static empty() {
56
- return new BaseOrMergeRollupPublicInputs(RollupTypes.Base, 0, BlockConstantData.empty(), PartialStateReference.empty(), PartialStateReference.empty(), SpongeBlob.empty(), SpongeBlob.empty(), Fr.zero(), Fr.zero(), Fr.zero());
56
+ return new BaseOrMergeRollupPublicInputs(RollupTypes.Base, 0, ConstantRollupData.empty(), PartialStateReference.empty(), PartialStateReference.empty(), SpongeBlob.empty(), SpongeBlob.empty(), Fr.zero(), Fr.zero(), Fr.zero());
57
57
  }
58
58
  /**
59
59
  * Deserializes from a buffer or reader.
@@ -62,7 +62,7 @@ import { BlockConstantData } from './block_constant_data.js';
62
62
  * @returns The deserialized public inputs.
63
63
  */ static fromBuffer(buffer) {
64
64
  const reader = BufferReader.asReader(buffer);
65
- return new BaseOrMergeRollupPublicInputs(reader.readNumber(), reader.readNumber(), reader.readObject(BlockConstantData), reader.readObject(PartialStateReference), reader.readObject(PartialStateReference), reader.readObject(SpongeBlob), reader.readObject(SpongeBlob), Fr.fromBuffer(reader), Fr.fromBuffer(reader), Fr.fromBuffer(reader));
65
+ return new BaseOrMergeRollupPublicInputs(reader.readNumber(), reader.readNumber(), reader.readObject(ConstantRollupData), reader.readObject(PartialStateReference), reader.readObject(PartialStateReference), reader.readObject(SpongeBlob), reader.readObject(SpongeBlob), Fr.fromBuffer(reader), Fr.fromBuffer(reader), Fr.fromBuffer(reader));
66
66
  }
67
67
  /**
68
68
  * Serialize this as a buffer.
@@ -5,9 +5,8 @@ import { MembershipWitness } from '@aztec/foundation/trees';
5
5
  import type { FieldsOf } from '@aztec/foundation/types';
6
6
  import { PublicDataHint } from '../avm/public_data_hint.js';
7
7
  import { ContractClassLogFields } from '../logs/index.js';
8
- import { AppendOnlyTreeSnapshot } from '../trees/index.js';
9
8
  import { PartialStateReference } from '../tx/partial_state_reference.js';
10
- import { BlockConstantData } from './block_constant_data.js';
9
+ import { ConstantRollupData } from './constant_rollup_data.js';
11
10
  import { PrivateBaseStateDiffHints } from './state_diff_hints.js';
12
11
  export type BaseRollupHints = PrivateBaseRollupHints | PublicBaseRollupHints;
13
12
  export declare class PrivateBaseRollupHints {
@@ -38,7 +37,7 @@ export declare class PrivateBaseRollupHints {
38
37
  /**
39
38
  * Data which is not modified by the base rollup circuit.
40
39
  */
41
- constants: BlockConstantData;
40
+ constants: ConstantRollupData;
42
41
  constructor(
43
42
  /**
44
43
  * Partial state reference at the start of the rollup.
@@ -67,9 +66,9 @@ export declare class PrivateBaseRollupHints {
67
66
  /**
68
67
  * Data which is not modified by the base rollup circuit.
69
68
  */
70
- constants: BlockConstantData);
69
+ constants: ConstantRollupData);
71
70
  static from(fields: FieldsOf<PrivateBaseRollupHints>): PrivateBaseRollupHints;
72
- static getFields(fields: FieldsOf<PrivateBaseRollupHints>): readonly [PartialStateReference, SpongeBlob, PrivateBaseStateDiffHints, PublicDataHint, MembershipWitness<29>, [ContractClassLogFields], BlockConstantData];
71
+ static getFields(fields: FieldsOf<PrivateBaseRollupHints>): readonly [PartialStateReference, SpongeBlob, PrivateBaseStateDiffHints, PublicDataHint, MembershipWitness<29>, [ContractClassLogFields], ConstantRollupData];
73
72
  /**
74
73
  * Serializes the inputs to a buffer.
75
74
  * @returns The inputs serialized to a buffer.
@@ -89,10 +88,6 @@ export declare class PublicBaseRollupHints {
89
88
  * Sponge state to absorb blob inputs at the start of the rollup.
90
89
  */
91
90
  startSpongeBlob: SpongeBlob;
92
- /**
93
- * Archive tree snapshot at the very beginning of the block containing this base rollup.
94
- */
95
- lastArchive: AppendOnlyTreeSnapshot;
96
91
  /**
97
92
  * Membership witnesses of blocks referred by each of the 2 kernels.
98
93
  */
@@ -101,15 +96,15 @@ export declare class PublicBaseRollupHints {
101
96
  * Preimages to the kernel's contractClassLogsHashes.
102
97
  */
103
98
  contractClassLogsFields: Tuple<ContractClassLogFields, typeof MAX_CONTRACT_CLASS_LOGS_PER_TX>;
99
+ /**
100
+ * Data which is not modified by the base rollup circuit.
101
+ */
102
+ constants: ConstantRollupData;
104
103
  constructor(
105
104
  /**
106
105
  * Sponge state to absorb blob inputs at the start of the rollup.
107
106
  */
108
107
  startSpongeBlob: SpongeBlob,
109
- /**
110
- * Archive tree snapshot at the very beginning of the block containing this base rollup.
111
- */
112
- lastArchive: AppendOnlyTreeSnapshot,
113
108
  /**
114
109
  * Membership witnesses of blocks referred by each of the 2 kernels.
115
110
  */
@@ -117,9 +112,13 @@ export declare class PublicBaseRollupHints {
117
112
  /**
118
113
  * Preimages to the kernel's contractClassLogsHashes.
119
114
  */
120
- contractClassLogsFields: Tuple<ContractClassLogFields, typeof MAX_CONTRACT_CLASS_LOGS_PER_TX>);
115
+ contractClassLogsFields: Tuple<ContractClassLogFields, typeof MAX_CONTRACT_CLASS_LOGS_PER_TX>,
116
+ /**
117
+ * Data which is not modified by the base rollup circuit.
118
+ */
119
+ constants: ConstantRollupData);
121
120
  static from(fields: FieldsOf<PublicBaseRollupHints>): PublicBaseRollupHints;
122
- static getFields(fields: FieldsOf<PublicBaseRollupHints>): readonly [SpongeBlob, AppendOnlyTreeSnapshot, MembershipWitness<29>, [ContractClassLogFields]];
121
+ static getFields(fields: FieldsOf<PublicBaseRollupHints>): readonly [SpongeBlob, MembershipWitness<29>, [ContractClassLogFields], ConstantRollupData];
123
122
  /**
124
123
  * Serializes the inputs to a buffer.
125
124
  * @returns The inputs serialized to a buffer.
@@ -1 +1 @@
1
- {"version":3,"file":"base_rollup_hints.d.ts","sourceRoot":"","sources":["../../src/rollup/base_rollup_hints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,KAAK,KAAK,EAAqB,MAAM,6BAA6B,CAAC;AAE1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ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 @@ import { bufferToHex, hexToBuffer } from '@aztec/foundation/string';
6
6
  import { MembershipWitness } from '@aztec/foundation/trees';
7
7
  import { PublicDataHint } from '../avm/public_data_hint.js';
8
8
  import { ContractClassLogFields } from '../logs/index.js';
9
- import { AppendOnlyTreeSnapshot } from '../trees/index.js';
10
9
  import { PartialStateReference } from '../tx/partial_state_reference.js';
11
- import { BlockConstantData } from './block_constant_data.js';
10
+ import { ConstantRollupData } from './constant_rollup_data.js';
12
11
  import { PrivateBaseStateDiffHints } from './state_diff_hints.js';
13
12
  export class PrivateBaseRollupHints {
14
13
  start;
@@ -69,33 +68,33 @@ export class PrivateBaseRollupHints {
69
68
  }
70
69
  static fromBuffer(buffer) {
71
70
  const reader = BufferReader.asReader(buffer);
72
- return new PrivateBaseRollupHints(reader.readObject(PartialStateReference), reader.readObject(SpongeBlob), reader.readObject(PrivateBaseStateDiffHints), reader.readObject(PublicDataHint), MembershipWitness.fromBuffer(reader, ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ()=>reader.readObject(ContractClassLogFields)), reader.readObject(BlockConstantData));
71
+ return new PrivateBaseRollupHints(reader.readObject(PartialStateReference), reader.readObject(SpongeBlob), reader.readObject(PrivateBaseStateDiffHints), reader.readObject(PublicDataHint), MembershipWitness.fromBuffer(reader, ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ()=>reader.readObject(ContractClassLogFields)), reader.readObject(ConstantRollupData));
73
72
  }
74
73
  static fromString(str) {
75
74
  return PrivateBaseRollupHints.fromBuffer(hexToBuffer(str));
76
75
  }
77
76
  static empty() {
78
- return new PrivateBaseRollupHints(PartialStateReference.empty(), SpongeBlob.empty(), PrivateBaseStateDiffHints.empty(), PublicDataHint.empty(), MembershipWitness.empty(ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ContractClassLogFields.empty), BlockConstantData.empty());
77
+ return new PrivateBaseRollupHints(PartialStateReference.empty(), SpongeBlob.empty(), PrivateBaseStateDiffHints.empty(), PublicDataHint.empty(), MembershipWitness.empty(ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ContractClassLogFields.empty), ConstantRollupData.empty());
79
78
  }
80
79
  }
81
80
  export class PublicBaseRollupHints {
82
81
  startSpongeBlob;
83
- lastArchive;
84
82
  archiveRootMembershipWitness;
85
83
  contractClassLogsFields;
84
+ constants;
86
85
  constructor(/**
87
86
  * Sponge state to absorb blob inputs at the start of the rollup.
88
87
  */ startSpongeBlob, /**
89
- * Archive tree snapshot at the very beginning of the block containing this base rollup.
90
- */ lastArchive, /**
91
88
  * Membership witnesses of blocks referred by each of the 2 kernels.
92
89
  */ archiveRootMembershipWitness, /**
93
90
  * Preimages to the kernel's contractClassLogsHashes.
94
- */ contractClassLogsFields){
91
+ */ contractClassLogsFields, /**
92
+ * Data which is not modified by the base rollup circuit.
93
+ */ constants){
95
94
  this.startSpongeBlob = startSpongeBlob;
96
- this.lastArchive = lastArchive;
97
95
  this.archiveRootMembershipWitness = archiveRootMembershipWitness;
98
96
  this.contractClassLogsFields = contractClassLogsFields;
97
+ this.constants = constants;
99
98
  }
100
99
  static from(fields) {
101
100
  return new PublicBaseRollupHints(...PublicBaseRollupHints.getFields(fields));
@@ -103,9 +102,9 @@ export class PublicBaseRollupHints {
103
102
  static getFields(fields) {
104
103
  return [
105
104
  fields.startSpongeBlob,
106
- fields.lastArchive,
107
105
  fields.archiveRootMembershipWitness,
108
- fields.contractClassLogsFields
106
+ fields.contractClassLogsFields,
107
+ fields.constants
109
108
  ];
110
109
  }
111
110
  /**
@@ -122,12 +121,12 @@ export class PublicBaseRollupHints {
122
121
  }
123
122
  static fromBuffer(buffer) {
124
123
  const reader = BufferReader.asReader(buffer);
125
- return new PublicBaseRollupHints(reader.readObject(SpongeBlob), reader.readObject(AppendOnlyTreeSnapshot), MembershipWitness.fromBuffer(reader, ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ()=>reader.readObject(ContractClassLogFields)));
124
+ return new PublicBaseRollupHints(reader.readObject(SpongeBlob), MembershipWitness.fromBuffer(reader, ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ()=>reader.readObject(ContractClassLogFields)), reader.readObject(ConstantRollupData));
126
125
  }
127
126
  static fromString(str) {
128
127
  return PublicBaseRollupHints.fromBuffer(hexToBuffer(str));
129
128
  }
130
129
  static empty() {
131
- return new PublicBaseRollupHints(SpongeBlob.empty(), AppendOnlyTreeSnapshot.empty(), MembershipWitness.empty(ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ContractClassLogFields.empty));
130
+ return new PublicBaseRollupHints(SpongeBlob.empty(), MembershipWitness.empty(ARCHIVE_HEIGHT), makeTuple(MAX_CONTRACT_CLASS_LOGS_PER_TX, ContractClassLogFields.empty), ConstantRollupData.empty());
132
131
  }
133
132
  }
@@ -6,15 +6,10 @@ import { BufferReader, type Tuple } from '@aztec/foundation/serialize';
6
6
  import type { FieldsOf } from '@aztec/foundation/types';
7
7
  import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
8
8
  import { GlobalVariables } from '../tx/global_variables.js';
9
- import { EpochConstantData } from './epoch_constant_data.js';
10
9
  /**
11
10
  * Output of the block root and block merge rollup circuits.
12
11
  */
13
12
  export declare class BlockRootOrBlockMergePublicInputs {
14
- /**
15
- * Constants for the entire epoch.
16
- */
17
- constants: EpochConstantData;
18
13
  /**
19
14
  * Archive tree immediately before this block range.
20
15
  */
@@ -44,15 +39,23 @@ export declare class BlockRootOrBlockMergePublicInputs {
44
39
  * The summed `transaction_fee`s and recipients of the constituent blocks.
45
40
  */
46
41
  fees: Tuple<FeeRecipient, typeof AZTEC_MAX_EPOCH_DURATION>;
42
+ /**
43
+ * Root of the verification key tree.
44
+ */
45
+ vkTreeRoot: Fr;
46
+ /**
47
+ * Root of the protocol contract tree.
48
+ */
49
+ protocolContractTreeRoot: Fr;
50
+ /**
51
+ * TODO(#7346): Temporarily added prover_id while we verify block-root proofs on L1
52
+ */
53
+ proverId: Fr;
47
54
  /**
48
55
  * Public inputs required to verify a blob (challenge point z, evaluation y = p(z), and the commitment to p() for each blob)
49
56
  */
50
57
  blobPublicInputs: Tuple<BlockBlobPublicInputs, typeof AZTEC_MAX_EPOCH_DURATION>;
51
58
  constructor(
52
- /**
53
- * Constants for the entire epoch.
54
- */
55
- constants: EpochConstantData,
56
59
  /**
57
60
  * Archive tree immediately before this block range.
58
61
  */
@@ -82,6 +85,18 @@ export declare class BlockRootOrBlockMergePublicInputs {
82
85
  * The summed `transaction_fee`s and recipients of the constituent blocks.
83
86
  */
84
87
  fees: Tuple<FeeRecipient, typeof AZTEC_MAX_EPOCH_DURATION>,
88
+ /**
89
+ * Root of the verification key tree.
90
+ */
91
+ vkTreeRoot: Fr,
92
+ /**
93
+ * Root of the protocol contract tree.
94
+ */
95
+ protocolContractTreeRoot: Fr,
96
+ /**
97
+ * TODO(#7346): Temporarily added prover_id while we verify block-root proofs on L1
98
+ */
99
+ proverId: Fr,
85
100
  /**
86
101
  * Public inputs required to verify a blob (challenge point z, evaluation y = p(z), and the commitment to p() for each blob)
87
102
  */
@@ -1 +1 @@
1
- {"version":3,"file":"block_root_or_block_merge_public_inputs.d.ts","sourceRoot":"","sources":["../../src/rollup/block_root_or_block_merge_public_inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,KAAK,KAAK,EAAwC,MAAM,6BAA6B,CAAC;AAE7G,OAAO,KAAK,EAAE,QAAQ,EAAE,MA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AiC;IAenF;;;OAGG;IACH,QAAQ;IAcR;;;OAGG;IACH,QAAQ;IAIR;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM;IAI7B,8DAA8D;IAC9D,MAAM;IAIN,6CAA6C;IAC7C,MAAM,KAAK,MAAM,0EAEhB;CACF;AAED,qBAAa,YAAY;IAEd,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,EAAE;gBADT,SAAS,EAAE,UAAU,EACrB,KAAK,EAAE,EAAE;IAGlB,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY;IAK9D,QAAQ;IAIR,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;IAI/C,QAAQ;IAIR,OAAO;IAIP,cAAc;;;;;;;IAOd,MAAM,CAAC,MAAM;CAGd"}
1
+ {"version":3,"file":"block_root_or_block_merge_public_inputs.d.ts","sourceRoot":"","sources":["../../src/rollup/block_root_or_block_merge_public_inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,KAAK,KAAK,EAAwC,MAAM,6BAA6B,CAAC;AAE7G,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D;;GAEG;AACH,qBAAa,iCAAiC;IAE1C;;OAEG;IACI,eAAe,EAAE,sBAAsB;IAC9C;;OAEG;IACI,UAAU,EAAE,sBAAsB;IACzC;;OAEG;IACI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CAA6C;IAC7C,MAAM,KAAK,MAAM,0EAEhB;CACF;AAED,qBAAa,YAAY;IAEd,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,EAAE;gBADT,SAAS,EAAE,UAAU,EACrB,KAAK,EAAE,EAAE;IAGlB,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY;IAK9D,QAAQ;IAIR,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC;IAI/C,QAAQ;IAIR,OAAO;IAIP,cAAc;;;;;;;IAOd,MAAM,CAAC,MAAM;CAGd"}
@@ -7,11 +7,9 @@ import { BufferReader, serializeToBuffer, serializeToFields } from '@aztec/found
7
7
  import { bufferToHex, hexToBuffer } from '@aztec/foundation/string';
8
8
  import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
9
9
  import { GlobalVariables } from '../tx/global_variables.js';
10
- import { EpochConstantData } from './epoch_constant_data.js';
11
10
  /**
12
11
  * Output of the block root and block merge rollup circuits.
13
12
  */ export class BlockRootOrBlockMergePublicInputs {
14
- constants;
15
13
  previousArchive;
16
14
  newArchive;
17
15
  startGlobalVariables;
@@ -19,10 +17,11 @@ import { EpochConstantData } from './epoch_constant_data.js';
19
17
  outHash;
20
18
  proposedBlockHeaderHashes;
21
19
  fees;
20
+ vkTreeRoot;
21
+ protocolContractTreeRoot;
22
+ proverId;
22
23
  blobPublicInputs;
23
24
  constructor(/**
24
- * Constants for the entire epoch.
25
- */ constants, /**
26
25
  * Archive tree immediately before this block range.
27
26
  */ previousArchive, /**
28
27
  * Archive tree after adding this block range.
@@ -38,9 +37,14 @@ import { EpochConstantData } from './epoch_constant_data.js';
38
37
  */ proposedBlockHeaderHashes, /**
39
38
  * The summed `transaction_fee`s and recipients of the constituent blocks.
40
39
  */ fees, /**
40
+ * Root of the verification key tree.
41
+ */ vkTreeRoot, /**
42
+ * Root of the protocol contract tree.
43
+ */ protocolContractTreeRoot, /**
44
+ * TODO(#7346): Temporarily added prover_id while we verify block-root proofs on L1
45
+ */ proverId, /**
41
46
  * Public inputs required to verify a blob (challenge point z, evaluation y = p(z), and the commitment to p() for each blob)
42
47
  */ blobPublicInputs){
43
- this.constants = constants;
44
48
  this.previousArchive = previousArchive;
45
49
  this.newArchive = newArchive;
46
50
  this.startGlobalVariables = startGlobalVariables;
@@ -48,6 +52,9 @@ import { EpochConstantData } from './epoch_constant_data.js';
48
52
  this.outHash = outHash;
49
53
  this.proposedBlockHeaderHashes = proposedBlockHeaderHashes;
50
54
  this.fees = fees;
55
+ this.vkTreeRoot = vkTreeRoot;
56
+ this.protocolContractTreeRoot = protocolContractTreeRoot;
57
+ this.proverId = proverId;
51
58
  this.blobPublicInputs = blobPublicInputs;
52
59
  }
53
60
  /**
@@ -56,13 +63,13 @@ import { EpochConstantData } from './epoch_constant_data.js';
56
63
  * @returns The deserialized public inputs.
57
64
  */ static fromBuffer(buffer) {
58
65
  const reader = BufferReader.asReader(buffer);
59
- return new BlockRootOrBlockMergePublicInputs(reader.readObject(EpochConstantData), reader.readObject(AppendOnlyTreeSnapshot), reader.readObject(AppendOnlyTreeSnapshot), reader.readObject(GlobalVariables), reader.readObject(GlobalVariables), Fr.fromBuffer(reader), reader.readArray(AZTEC_MAX_EPOCH_DURATION, Fr), reader.readArray(AZTEC_MAX_EPOCH_DURATION, FeeRecipient), reader.readArray(AZTEC_MAX_EPOCH_DURATION, BlockBlobPublicInputs));
66
+ return new BlockRootOrBlockMergePublicInputs(reader.readObject(AppendOnlyTreeSnapshot), reader.readObject(AppendOnlyTreeSnapshot), reader.readObject(GlobalVariables), reader.readObject(GlobalVariables), Fr.fromBuffer(reader), reader.readArray(AZTEC_MAX_EPOCH_DURATION, Fr), reader.readArray(AZTEC_MAX_EPOCH_DURATION, FeeRecipient), Fr.fromBuffer(reader), Fr.fromBuffer(reader), Fr.fromBuffer(reader), reader.readArray(AZTEC_MAX_EPOCH_DURATION, BlockBlobPublicInputs));
60
67
  }
61
68
  /**
62
69
  * Serialize this as a buffer.
63
70
  * @returns The buffer.
64
71
  */ toBuffer() {
65
- return serializeToBuffer(this.constants, this.previousArchive, this.newArchive, this.startGlobalVariables, this.endGlobalVariables, this.outHash, this.proposedBlockHeaderHashes, this.fees, this.blobPublicInputs);
72
+ return serializeToBuffer(this.previousArchive, this.newArchive, this.startGlobalVariables, this.endGlobalVariables, this.outHash, this.proposedBlockHeaderHashes, this.fees, this.vkTreeRoot, this.protocolContractTreeRoot, this.proverId, this.blobPublicInputs);
66
73
  }
67
74
  /**
68
75
  * Serialize this as a hex string.