@aztec/stdlib 0.0.1-commit.2ed92850 → 0.0.1-commit.43c09e3f

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 (131) hide show
  1. package/dest/block/block_hash.d.ts +16 -19
  2. package/dest/block/block_hash.d.ts.map +1 -1
  3. package/dest/block/block_hash.js +21 -34
  4. package/dest/block/block_parameter.d.ts +4 -4
  5. package/dest/block/block_parameter.d.ts.map +1 -1
  6. package/dest/block/block_parameter.js +2 -2
  7. package/dest/block/in_block.d.ts +9 -9
  8. package/dest/block/in_block.d.ts.map +1 -1
  9. package/dest/block/in_block.js +4 -4
  10. package/dest/block/l2_block.d.ts +3 -2
  11. package/dest/block/l2_block.d.ts.map +1 -1
  12. package/dest/block/l2_block.js +2 -3
  13. package/dest/block/l2_block_source.d.ts +5 -4
  14. package/dest/block/l2_block_source.d.ts.map +1 -1
  15. package/dest/contract/contract_address.js +1 -1
  16. package/dest/contract/contract_class_id.d.ts +1 -1
  17. package/dest/contract/contract_class_id.js +1 -1
  18. package/dest/contract/private_function.js +1 -1
  19. package/dest/contract/private_function_membership_proof.d.ts +1 -1
  20. package/dest/contract/private_function_membership_proof.js +1 -1
  21. package/dest/database-version/database_version.d.ts +58 -0
  22. package/dest/database-version/database_version.d.ts.map +1 -0
  23. package/dest/database-version/database_version.js +69 -0
  24. package/dest/database-version/version_manager.d.ts +2 -50
  25. package/dest/database-version/version_manager.d.ts.map +1 -1
  26. package/dest/database-version/version_manager.js +1 -66
  27. package/dest/epoch-helpers/index.d.ts +3 -1
  28. package/dest/epoch-helpers/index.d.ts.map +1 -1
  29. package/dest/epoch-helpers/index.js +4 -0
  30. package/dest/hash/hash.js +2 -2
  31. package/dest/hash/map_slot.d.ts +1 -1
  32. package/dest/hash/map_slot.d.ts.map +1 -1
  33. package/dest/hash/map_slot.js +4 -3
  34. package/dest/interfaces/archiver.d.ts +1 -1
  35. package/dest/interfaces/archiver.d.ts.map +1 -1
  36. package/dest/interfaces/archiver.js +4 -3
  37. package/dest/interfaces/aztec-node-admin.d.ts +8 -2
  38. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
  39. package/dest/interfaces/aztec-node-admin.js +3 -1
  40. package/dest/interfaces/aztec-node.d.ts +33 -54
  41. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  42. package/dest/interfaces/aztec-node.js +6 -10
  43. package/dest/interfaces/block-builder.d.ts +10 -4
  44. package/dest/interfaces/block-builder.d.ts.map +1 -1
  45. package/dest/interfaces/block-builder.js +7 -0
  46. package/dest/interfaces/get_logs_response.d.ts +15 -8
  47. package/dest/interfaces/get_logs_response.d.ts.map +1 -1
  48. package/dest/interfaces/prover-broker.d.ts +16 -1
  49. package/dest/interfaces/prover-broker.d.ts.map +1 -1
  50. package/dest/interfaces/prover-broker.js +4 -1
  51. package/dest/interfaces/prover-client.d.ts +6 -1
  52. package/dest/interfaces/prover-client.d.ts.map +1 -1
  53. package/dest/interfaces/prover-client.js +5 -0
  54. package/dest/interfaces/proving-job.d.ts +34 -34
  55. package/dest/interfaces/validator.d.ts +34 -2
  56. package/dest/interfaces/validator.d.ts.map +1 -1
  57. package/dest/keys/derivation.d.ts +3 -3
  58. package/dest/keys/derivation.js +8 -8
  59. package/dest/keys/key_types.d.ts +1 -1
  60. package/dest/keys/utils.d.ts +1 -1
  61. package/dest/keys/utils.d.ts.map +1 -1
  62. package/dest/keys/utils.js +7 -3
  63. package/dest/l1-contracts/slash_factory.d.ts +1 -1
  64. package/dest/l1-contracts/slash_factory.d.ts.map +1 -1
  65. package/dest/l1-contracts/slash_factory.js +1 -0
  66. package/dest/logs/extended_public_log.d.ts +13 -7
  67. package/dest/logs/extended_public_log.d.ts.map +1 -1
  68. package/dest/logs/log_id.d.ts +17 -14
  69. package/dest/logs/log_id.d.ts.map +1 -1
  70. package/dest/logs/log_id.js +20 -17
  71. package/dest/logs/siloed_tag.d.ts +1 -1
  72. package/dest/logs/siloed_tag.d.ts.map +1 -1
  73. package/dest/logs/siloed_tag.js +4 -3
  74. package/dest/p2p/block_proposal.d.ts +10 -3
  75. package/dest/p2p/block_proposal.d.ts.map +1 -1
  76. package/dest/p2p/checkpoint_proposal.d.ts +10 -3
  77. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -1
  78. package/dest/stats/stats.d.ts +1 -3
  79. package/dest/stats/stats.d.ts.map +1 -1
  80. package/dest/tests/mocks.d.ts +6 -2
  81. package/dest/tests/mocks.d.ts.map +1 -1
  82. package/dest/tests/mocks.js +4 -3
  83. package/dest/tx/block_header.d.ts +3 -3
  84. package/dest/tx/block_header.d.ts.map +1 -1
  85. package/dest/tx/block_header.js +3 -3
  86. package/dest/tx/in_tx.d.ts +3 -3
  87. package/dest/tx/indexed_tx_effect.d.ts +5 -5
  88. package/dest/tx/indexed_tx_effect.d.ts.map +1 -1
  89. package/dest/tx/indexed_tx_effect.js +3 -2
  90. package/dest/tx/tx_receipt.d.ts +5 -5
  91. package/dest/tx/tx_receipt.d.ts.map +1 -1
  92. package/dest/tx/tx_receipt.js +2 -2
  93. package/package.json +22 -11
  94. package/src/block/block_hash.ts +25 -50
  95. package/src/block/block_parameter.ts +3 -3
  96. package/src/block/in_block.ts +5 -5
  97. package/src/block/l2_block.ts +3 -3
  98. package/src/block/l2_block_source.ts +4 -3
  99. package/src/contract/contract_address.ts +1 -1
  100. package/src/contract/contract_class_id.ts +1 -1
  101. package/src/contract/private_function.ts +1 -1
  102. package/src/contract/private_function_membership_proof.ts +1 -1
  103. package/src/database-version/database_version.ts +87 -0
  104. package/src/database-version/version_manager.ts +1 -77
  105. package/src/epoch-helpers/index.ts +9 -0
  106. package/src/hash/hash.ts +2 -2
  107. package/src/hash/map_slot.ts +3 -2
  108. package/src/interfaces/archiver.ts +4 -3
  109. package/src/interfaces/aztec-node-admin.ts +3 -2
  110. package/src/interfaces/aztec-node.ts +42 -93
  111. package/src/interfaces/block-builder.ts +12 -2
  112. package/src/interfaces/prover-broker.ts +22 -0
  113. package/src/interfaces/prover-client.ts +7 -0
  114. package/src/interfaces/validator.ts +1 -2
  115. package/src/keys/derivation.ts +8 -8
  116. package/src/keys/key_types.ts +1 -1
  117. package/src/keys/utils.ts +7 -3
  118. package/src/l1-contracts/slash_factory.ts +1 -0
  119. package/src/logs/log_id.ts +22 -18
  120. package/src/logs/siloed_tag.ts +3 -2
  121. package/src/p2p/block_proposal.ts +9 -2
  122. package/src/p2p/checkpoint_proposal.ts +9 -2
  123. package/src/stats/stats.ts +0 -2
  124. package/src/tests/mocks.ts +6 -4
  125. package/src/tx/block_header.ts +6 -6
  126. package/src/tx/indexed_tx_effect.ts +3 -2
  127. package/src/tx/tx_receipt.ts +4 -4
  128. package/dest/database-version/index.d.ts +0 -2
  129. package/dest/database-version/index.d.ts.map +0 -1
  130. package/dest/database-version/index.js +0 -1
  131. package/src/database-version/index.ts +0 -1
@@ -1,26 +1,24 @@
1
1
  import { INITIAL_L2_BLOCK_NUM } from '@aztec/constants';
2
2
  import { toBufferBE } from '@aztec/foundation/bigint-buffer';
3
3
  import { BlockNumber, BlockNumberSchema } from '@aztec/foundation/branded-types';
4
+ import { Fr } from '@aztec/foundation/curves/bn254';
4
5
  import { BufferReader } from '@aztec/foundation/serialize';
5
6
 
6
7
  import { z } from 'zod';
7
8
 
8
- import { L2BlockHash } from '../block/block_hash.js';
9
+ import { BlockHash } from '../block/block_hash.js';
9
10
  import { schemas } from '../schemas/index.js';
11
+ import { TxHash } from '../tx/tx_hash.js';
10
12
 
11
13
  /** A globally unique log id. */
12
14
  export class LogId {
13
- /**
14
- * Parses a log id from a string.
15
- * @param blockNumber - The block number.
16
- * @param txIndex - The transaction index.
17
- * @param logIndex - The log index.
18
- */
19
15
  constructor(
20
16
  /** The block number the log was emitted in. */
21
17
  public readonly blockNumber: BlockNumber,
22
18
  /** The hash of the block the log was emitted in. */
23
- public readonly blockHash: L2BlockHash,
19
+ public readonly blockHash: BlockHash,
20
+ /** The hash of the transaction the log was emitted in. */
21
+ public readonly txHash: TxHash,
24
22
  /** The index of a tx in a block the log was emitted in. */
25
23
  public readonly txIndex: number,
26
24
  /** The index of a log the tx was emitted in. */
@@ -40,7 +38,8 @@ export class LogId {
40
38
  static random() {
41
39
  return new LogId(
42
40
  BlockNumber(Math.floor(Math.random() * 1000) + 1),
43
- L2BlockHash.random(),
41
+ BlockHash.random(),
42
+ TxHash.random(),
44
43
  Math.floor(Math.random() * 1000),
45
44
  Math.floor(Math.random() * 100),
46
45
  );
@@ -50,12 +49,14 @@ export class LogId {
50
49
  return z
51
50
  .object({
52
51
  blockNumber: BlockNumberSchema,
53
- blockHash: L2BlockHash.schema,
52
+ blockHash: BlockHash.schema,
53
+ txHash: TxHash.schema,
54
54
  txIndex: schemas.Integer,
55
55
  logIndex: schemas.Integer,
56
56
  })
57
57
  .transform(
58
- ({ blockNumber, blockHash, txIndex, logIndex }) => new LogId(blockNumber, blockHash, txIndex, logIndex),
58
+ ({ blockNumber, blockHash, txHash, txIndex, logIndex }) =>
59
+ new LogId(blockNumber, blockHash, txHash, txIndex, logIndex),
59
60
  );
60
61
  }
61
62
 
@@ -67,6 +68,7 @@ export class LogId {
67
68
  return Buffer.concat([
68
69
  toBufferBE(BigInt(this.blockNumber), 4),
69
70
  this.blockHash.toBuffer(),
71
+ this.txHash.toBuffer(),
70
72
  toBufferBE(BigInt(this.txIndex), 4),
71
73
  toBufferBE(BigInt(this.logIndex), 4),
72
74
  ]);
@@ -81,11 +83,12 @@ export class LogId {
81
83
  const reader = BufferReader.asReader(buffer);
82
84
 
83
85
  const blockNumber = BlockNumber(reader.readNumber());
84
- const blockHash = reader.readObject(L2BlockHash);
86
+ const blockHash = new BlockHash(reader.readObject(Fr));
87
+ const txHash = reader.readObject(TxHash);
85
88
  const txIndex = reader.readNumber();
86
89
  const logIndex = reader.readNumber();
87
90
 
88
- return new LogId(blockNumber, blockHash, txIndex, logIndex);
91
+ return new LogId(blockNumber, blockHash, txHash, txIndex, logIndex);
89
92
  }
90
93
 
91
94
  /**
@@ -93,7 +96,7 @@ export class LogId {
93
96
  * @returns A string representation of the log id.
94
97
  */
95
98
  public toString(): string {
96
- return `${this.blockNumber}-${this.txIndex}-${this.logIndex}-${this.blockHash.toString()}`;
99
+ return `${this.blockNumber}-${this.txIndex}-${this.logIndex}-${this.blockHash.toString()}-${this.txHash.toString()}`;
97
100
  }
98
101
 
99
102
  /**
@@ -102,13 +105,14 @@ export class LogId {
102
105
  * @returns A log id.
103
106
  */
104
107
  static fromString(data: string): LogId {
105
- const [rawBlockNumber, rawTxIndex, rawLogIndex, rawBlockHash] = data.split('-');
108
+ const [rawBlockNumber, rawTxIndex, rawLogIndex, rawBlockHash, rawTxHash] = data.split('-');
106
109
  const blockNumber = BlockNumber(Number(rawBlockNumber));
107
- const blockHash = L2BlockHash.fromString(rawBlockHash);
110
+ const blockHash = BlockHash.fromString(rawBlockHash);
111
+ const txHash = TxHash.fromString(rawTxHash);
108
112
  const txIndex = Number(rawTxIndex);
109
113
  const logIndex = Number(rawLogIndex);
110
114
 
111
- return new LogId(blockNumber, blockHash, txIndex, logIndex);
115
+ return new LogId(blockNumber, blockHash, txHash, txIndex, logIndex);
112
116
  }
113
117
 
114
118
  /**
@@ -116,6 +120,6 @@ export class LogId {
116
120
  * @returns A human readable representation of the log id.
117
121
  */
118
122
  public toHumanReadable(): string {
119
- return `logId: (blockNumber: ${this.blockNumber}, blockHash: ${this.blockHash.toString()}, txIndex: ${this.txIndex}, logIndex: ${this.logIndex})`;
123
+ return `logId: (blockNumber: ${this.blockNumber}, blockHash: ${this.blockHash.toString()}, txHash: ${this.txHash.toString()}, txIndex: ${this.txIndex}, logIndex: ${this.logIndex})`;
120
124
  }
121
125
  }
@@ -1,4 +1,5 @@
1
- import { poseidon2Hash } from '@aztec/foundation/crypto/poseidon';
1
+ import { GeneratorIndex } from '@aztec/constants';
2
+ import { poseidon2HashWithSeparator } from '@aztec/foundation/crypto/poseidon';
2
3
  import type { Fr } from '@aztec/foundation/curves/bn254';
3
4
  import type { ZodFor } from '@aztec/foundation/schemas';
4
5
 
@@ -22,7 +23,7 @@ export class SiloedTag {
22
23
  constructor(public readonly value: Fr) {}
23
24
 
24
25
  static async compute(tag: Tag, app: AztecAddress): Promise<SiloedTag> {
25
- const siloedTag = await poseidon2Hash([app, tag.value]);
26
+ const siloedTag = await poseidon2HashWithSeparator([app, tag.value], GeneratorIndex.PRIVATE_LOG_FIRST_FIELD);
26
27
  return new SiloedTag(siloedTag);
27
28
  }
28
29
 
@@ -30,8 +30,15 @@ export class BlockProposalHash extends Buffer32 {
30
30
  }
31
31
 
32
32
  export type BlockProposalOptions = {
33
- publishFullTxs: boolean;
34
- /** Whether to generate an invalid block proposal for broadcasting. Use only for testing. */
33
+ /**
34
+ * Whether to include the tx objects along with the block proposal.
35
+ * Dramatically increases size of the payload but eliminates failed reexecutions due to missing txs.
36
+ */
37
+ publishFullTxs?: boolean;
38
+ /**
39
+ * Whether to generate an invalid block proposal for broadcasting.
40
+ * Use only for testing.
41
+ */
35
42
  broadcastInvalidBlockProposal?: boolean;
36
43
  };
37
44
 
@@ -32,8 +32,15 @@ export class CheckpointProposalHash extends Buffer32 {
32
32
  }
33
33
 
34
34
  export type CheckpointProposalOptions = {
35
- publishFullTxs: boolean;
36
- /** Whether to generate an invalid checkpoint proposal for broadcasting. Use only for testing. */
35
+ /**
36
+ * Whether to include the tx objects along with the block proposal.
37
+ * Dramatically increases size of the payload but eliminates failed reexecutions due to missing txs.
38
+ */
39
+ publishFullTxs?: boolean;
40
+ /**
41
+ * Whether to generate an invalid checkpoint proposal for broadcasting.
42
+ * Use only for testing.
43
+ */
37
44
  broadcastInvalidCheckpointProposal?: boolean;
38
45
  };
39
46
 
@@ -202,8 +202,6 @@ export type L2BlockBuiltStats = {
202
202
  duration: number;
203
203
  /** Time for processing public txs in ms. */
204
204
  publicProcessDuration: number;
205
- /** Time for running rollup circuits in ms. */
206
- rollupCircuitsDuration: number;
207
205
  } & L2BlockStats;
208
206
 
209
207
  /** Stats for an L2 block processed by the world state synchronizer. */
@@ -97,12 +97,14 @@ export const mockTx = async (
97
97
  publicCalldataSize = 2,
98
98
  feePayer,
99
99
  chonkProof = ChonkProof.random(),
100
+ maxFeesPerGas = new GasFees(10, 10),
100
101
  maxPriorityFeesPerGas,
101
102
  gasUsed = Gas.empty(),
102
103
  chainId = Fr.ZERO,
103
104
  version = Fr.ZERO,
104
105
  vkTreeRoot = Fr.ZERO,
105
106
  protocolContractsHash = Fr.ZERO,
107
+ anchorBlockHeader = BlockHeader.empty(),
106
108
  }: {
107
109
  numberOfNonRevertiblePublicCallRequests?: number;
108
110
  numberOfRevertiblePublicCallRequests?: number;
@@ -111,12 +113,14 @@ export const mockTx = async (
111
113
  publicCalldataSize?: number;
112
114
  feePayer?: AztecAddress;
113
115
  chonkProof?: ChonkProof;
116
+ maxFeesPerGas?: GasFees;
114
117
  maxPriorityFeesPerGas?: GasFees;
115
118
  gasUsed?: Gas;
116
119
  chainId?: Fr;
117
120
  version?: Fr;
118
121
  vkTreeRoot?: Fr;
119
122
  protocolContractsHash?: Fr;
123
+ anchorBlockHeader?: BlockHeader;
120
124
  } = {},
121
125
  ) => {
122
126
  const totalPublicCallRequests =
@@ -126,10 +130,8 @@ export const mockTx = async (
126
130
  const isForPublic = totalPublicCallRequests > 0;
127
131
  const data = PrivateKernelTailCircuitPublicInputs.empty();
128
132
  const firstNullifier = new Nullifier(new Fr(seed + 1), Fr.ZERO, 0);
129
- data.constants.txContext.gasSettings = GasSettings.default({
130
- maxFeesPerGas: new GasFees(10, 10),
131
- maxPriorityFeesPerGas,
132
- });
133
+ data.constants.anchorBlockHeader = anchorBlockHeader;
134
+ data.constants.txContext.gasSettings = GasSettings.default({ maxFeesPerGas, maxPriorityFeesPerGas });
133
135
  data.feePayer = feePayer ?? (await AztecAddress.random());
134
136
  data.gasUsed = gasUsed;
135
137
  data.constants.txContext.chainId = chainId;
@@ -11,14 +11,14 @@ import type { FieldsOf } from '@aztec/foundation/types';
11
11
  import { inspect } from 'util';
12
12
  import { z } from 'zod';
13
13
 
14
- import { L2BlockHash } from '../block/block_hash.js';
14
+ import { BlockHash } from '../block/block_hash.js';
15
15
  import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
16
16
  import { GlobalVariables } from './global_variables.js';
17
17
  import { StateReference } from './state_reference.js';
18
18
 
19
19
  /** A header of an L2 block. */
20
20
  export class BlockHeader {
21
- private _cachedHash?: Promise<L2BlockHash>;
21
+ private _cachedHash?: Promise<BlockHash>;
22
22
 
23
23
  constructor(
24
24
  /** Snapshot of archive before the block is applied. */
@@ -162,10 +162,10 @@ export class BlockHeader {
162
162
  return BlockHeader.fromBuffer(hexToBuffer(str));
163
163
  }
164
164
 
165
- hash(): Promise<L2BlockHash> {
165
+ hash(): Promise<BlockHash> {
166
166
  if (!this._cachedHash) {
167
- this._cachedHash = poseidon2HashWithSeparator(this.toFields(), GeneratorIndex.BLOCK_HASH).then(fr =>
168
- L2BlockHash.fromField(fr),
167
+ this._cachedHash = poseidon2HashWithSeparator(this.toFields(), GeneratorIndex.BLOCK_HEADER_HASH).then(
168
+ fr => new BlockHash(fr),
169
169
  );
170
170
  }
171
171
  return this._cachedHash;
@@ -173,7 +173,7 @@ export class BlockHeader {
173
173
 
174
174
  /** Manually set the hash for this block header if already computed */
175
175
  setHash(hashed: Fr) {
176
- this._cachedHash = Promise.resolve(L2BlockHash.fromField(hashed));
176
+ this._cachedHash = Promise.resolve(new BlockHash(hashed));
177
177
  }
178
178
 
179
179
  static random(overrides: Partial<FieldsOf<BlockHeader>> & Partial<FieldsOf<GlobalVariables>> = {}): BlockHeader {
@@ -1,8 +1,9 @@
1
1
  import { BlockNumber } from '@aztec/foundation/branded-types';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
2
3
  import { schemas } from '@aztec/foundation/schemas';
3
4
  import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';
4
5
 
5
- import { L2BlockHash } from '../block/block_hash.js';
6
+ import { BlockHash } from '../block/block_hash.js';
6
7
  import { type DataInBlock, dataInBlockSchemaFor, randomDataInBlock } from '../block/in_block.js';
7
8
  import { TxEffect } from './tx_effect.js';
8
9
 
@@ -26,7 +27,7 @@ export function serializeIndexedTxEffect(effect: IndexedTxEffect): Buffer {
26
27
  export function deserializeIndexedTxEffect(buffer: Buffer): IndexedTxEffect {
27
28
  const reader = BufferReader.asReader(buffer);
28
29
 
29
- const l2BlockHash = reader.readObject(L2BlockHash);
30
+ const l2BlockHash = new BlockHash(reader.readObject(Fr));
30
31
  const l2BlockNumber = BlockNumber(reader.readNumber());
31
32
  const txIndexInBlock = reader.readNumber();
32
33
  const data = reader.readObject(TxEffect);
@@ -3,7 +3,7 @@ import { BlockNumber, BlockNumberSchema } from '@aztec/foundation/branded-types'
3
3
  import { z } from 'zod';
4
4
 
5
5
  import { RevertCode } from '../avm/revert_code.js';
6
- import { L2BlockHash } from '../block/block_hash.js';
6
+ import { BlockHash } from '../block/block_hash.js';
7
7
  import { type ZodFor, schemas } from '../schemas/schemas.js';
8
8
  import { TxHash } from './tx_hash.js';
9
9
 
@@ -54,7 +54,7 @@ export class TxReceipt {
54
54
  /** The transaction fee paid for the transaction. */
55
55
  public transactionFee?: bigint,
56
56
  /** The hash of the block containing the transaction. */
57
- public blockHash?: L2BlockHash,
57
+ public blockHash?: BlockHash,
58
58
  /** The block number in which the transaction was included. */
59
59
  public blockNumber?: BlockNumber,
60
60
  ) {}
@@ -100,7 +100,7 @@ export class TxReceipt {
100
100
  status: z.nativeEnum(TxStatus),
101
101
  executionResult: z.nativeEnum(TxExecutionResult).optional(),
102
102
  error: z.string().optional(),
103
- blockHash: L2BlockHash.schema.optional(),
103
+ blockHash: BlockHash.schema.optional(),
104
104
  blockNumber: BlockNumberSchema.optional(),
105
105
  transactionFee: schemas.BigInt.optional(),
106
106
  })
@@ -113,7 +113,7 @@ export class TxReceipt {
113
113
  executionResult?: TxExecutionResult;
114
114
  error?: string;
115
115
  transactionFee?: bigint;
116
- blockHash?: L2BlockHash;
116
+ blockHash?: BlockHash;
117
117
  blockNumber?: BlockNumber;
118
118
  }) {
119
119
  return new TxReceipt(
@@ -1,2 +0,0 @@
1
- export * from './version_manager.js';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kYXRhYmFzZS12ZXJzaW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUMifQ==
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database-version/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1 +0,0 @@
1
- export * from './version_manager.js';
@@ -1 +0,0 @@
1
- export * from './version_manager.js';