@aztec/cli 0.0.1-fake-c83136db25 → 0.0.1-private.3d175340d2

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 (187) hide show
  1. package/README.md +1 -1
  2. package/dest/cmds/aztec_node/block_number.d.ts +1 -1
  3. package/dest/cmds/aztec_node/block_number.js +1 -1
  4. package/dest/cmds/aztec_node/get_block.d.ts +1 -1
  5. package/dest/cmds/aztec_node/get_block.d.ts.map +1 -1
  6. package/dest/cmds/aztec_node/get_block.js +2 -1
  7. package/dest/cmds/aztec_node/get_current_min_fee.d.ts +3 -0
  8. package/dest/cmds/aztec_node/get_current_min_fee.d.ts.map +1 -0
  9. package/dest/cmds/aztec_node/{get_current_base_fee.js → get_current_min_fee.js} +2 -2
  10. package/dest/cmds/aztec_node/get_l1_to_l2_message_witness.d.ts +1 -1
  11. package/dest/cmds/aztec_node/get_logs.d.ts +30 -3
  12. package/dest/cmds/aztec_node/get_logs.d.ts.map +1 -1
  13. package/dest/cmds/aztec_node/get_logs.js +39 -29
  14. package/dest/cmds/aztec_node/get_node_info.d.ts +1 -1
  15. package/dest/cmds/aztec_node/get_node_info.d.ts.map +1 -1
  16. package/dest/cmds/aztec_node/get_node_info.js +0 -2
  17. package/dest/cmds/aztec_node/index.d.ts +1 -1
  18. package/dest/cmds/aztec_node/index.d.ts.map +1 -1
  19. package/dest/cmds/aztec_node/index.js +16 -6
  20. package/dest/cmds/contracts/index.d.ts +1 -1
  21. package/dest/cmds/contracts/inspect_contract.d.ts +1 -1
  22. package/dest/cmds/contracts/inspect_contract.d.ts.map +1 -1
  23. package/dest/cmds/contracts/inspect_contract.js +4 -10
  24. package/dest/cmds/contracts/parse_parameter_struct.d.ts +1 -1
  25. package/dest/cmds/infrastructure/index.d.ts +1 -1
  26. package/dest/cmds/infrastructure/index.d.ts.map +1 -1
  27. package/dest/cmds/infrastructure/index.js +0 -1
  28. package/dest/cmds/infrastructure/sequencers.d.ts +1 -2
  29. package/dest/cmds/infrastructure/sequencers.d.ts.map +1 -1
  30. package/dest/cmds/infrastructure/sequencers.js +11 -4
  31. package/dest/cmds/infrastructure/setup_l2_contract.d.ts +1 -1
  32. package/dest/cmds/infrastructure/setup_l2_contract.d.ts.map +1 -1
  33. package/dest/cmds/infrastructure/setup_l2_contract.js +4 -3
  34. package/dest/cmds/l1/advance_epoch.d.ts +1 -1
  35. package/dest/cmds/l1/assume_proven_through.d.ts +3 -2
  36. package/dest/cmds/l1/assume_proven_through.d.ts.map +1 -1
  37. package/dest/cmds/l1/assume_proven_through.js +3 -4
  38. package/dest/cmds/l1/bridge_erc20.d.ts +1 -1
  39. package/dest/cmds/l1/bridge_erc20.d.ts.map +1 -1
  40. package/dest/cmds/l1/bridge_erc20.js +2 -1
  41. package/dest/cmds/l1/compute_genesis_values.d.ts +4 -0
  42. package/dest/cmds/l1/compute_genesis_values.d.ts.map +1 -0
  43. package/dest/cmds/l1/compute_genesis_values.js +17 -0
  44. package/dest/cmds/l1/create_l1_account.d.ts +1 -1
  45. package/dest/cmds/l1/deploy_l1_contracts_cmd.d.ts +4 -0
  46. package/dest/cmds/l1/deploy_l1_contracts_cmd.d.ts.map +1 -0
  47. package/dest/cmds/l1/{deploy_l1_contracts.js → deploy_l1_contracts_cmd.js} +39 -5
  48. package/dest/cmds/l1/deploy_new_rollup.d.ts +4 -4
  49. package/dest/cmds/l1/deploy_new_rollup.d.ts.map +1 -1
  50. package/dest/cmds/l1/deploy_new_rollup.js +4 -6
  51. package/dest/cmds/l1/get_l1_addresses.d.ts +1 -1
  52. package/dest/cmds/l1/get_l1_addresses.d.ts.map +1 -1
  53. package/dest/cmds/l1/get_l1_addresses.js +5 -2
  54. package/dest/cmds/l1/get_l1_balance.d.ts +1 -1
  55. package/dest/cmds/l1/get_l1_balance.js +4 -2
  56. package/dest/cmds/l1/governance_utils.d.ts +5 -5
  57. package/dest/cmds/l1/governance_utils.d.ts.map +1 -1
  58. package/dest/cmds/l1/governance_utils.js +3 -1
  59. package/dest/cmds/l1/index.d.ts +1 -2
  60. package/dest/cmds/l1/index.d.ts.map +1 -1
  61. package/dest/cmds/l1/index.js +17 -10
  62. package/dest/cmds/l1/prover_stats.d.ts +1 -1
  63. package/dest/cmds/l1/prover_stats.d.ts.map +1 -1
  64. package/dest/cmds/l1/prover_stats.js +32 -30
  65. package/dest/cmds/l1/trigger_seed_snapshot.d.ts +2 -2
  66. package/dest/cmds/l1/trigger_seed_snapshot.d.ts.map +1 -1
  67. package/dest/cmds/l1/trigger_seed_snapshot.js +2 -1
  68. package/dest/cmds/l1/update_l1_validators.d.ts +7 -7
  69. package/dest/cmds/l1/update_l1_validators.d.ts.map +1 -1
  70. package/dest/cmds/l1/update_l1_validators.js +58 -20
  71. package/dest/cmds/misc/compute_selector.d.ts +1 -1
  72. package/dest/cmds/misc/example_contracts.d.ts +1 -1
  73. package/dest/cmds/misc/generate_bootnode_enr.d.ts +1 -1
  74. package/dest/cmds/misc/generate_p2p_private_key.d.ts +1 -1
  75. package/dest/cmds/misc/generate_secret_and_hash.d.ts +1 -1
  76. package/dest/cmds/misc/generate_secret_and_hash.js +1 -1
  77. package/dest/cmds/misc/generate_secret_key.d.ts +1 -1
  78. package/dest/cmds/misc/get_canonical_sponsored_fpc_address.d.ts +1 -1
  79. package/dest/cmds/misc/index.d.ts +1 -1
  80. package/dest/cmds/misc/index.d.ts.map +1 -1
  81. package/dest/cmds/misc/index.js +1 -1
  82. package/dest/cmds/misc/update/common.d.ts +1 -1
  83. package/dest/cmds/misc/update/github.d.ts +1 -1
  84. package/dest/cmds/misc/update/noir.d.ts +1 -1
  85. package/dest/cmds/misc/update/npm.d.ts +1 -1
  86. package/dest/cmds/misc/update/npm.js +1 -1
  87. package/dest/cmds/misc/update/utils.d.ts +1 -1
  88. package/dest/cmds/misc/update.d.ts +1 -1
  89. package/dest/cmds/validator_keys/add.d.ts +5 -0
  90. package/dest/cmds/validator_keys/add.d.ts.map +1 -0
  91. package/dest/cmds/validator_keys/add.js +83 -0
  92. package/dest/cmds/validator_keys/generate_bls_keypair.d.ts +12 -0
  93. package/dest/cmds/validator_keys/generate_bls_keypair.d.ts.map +1 -0
  94. package/dest/cmds/validator_keys/generate_bls_keypair.js +27 -0
  95. package/dest/cmds/validator_keys/index.d.ts +4 -0
  96. package/dest/cmds/validator_keys/index.d.ts.map +1 -0
  97. package/dest/cmds/validator_keys/index.js +32 -0
  98. package/dest/cmds/validator_keys/new.d.ts +29 -0
  99. package/dest/cmds/validator_keys/new.d.ts.map +1 -0
  100. package/dest/cmds/validator_keys/new.js +134 -0
  101. package/dest/cmds/validator_keys/shared.d.ts +68 -0
  102. package/dest/cmds/validator_keys/shared.d.ts.map +1 -0
  103. package/dest/cmds/validator_keys/shared.js +274 -0
  104. package/dest/cmds/validator_keys/staker.d.ts +38 -0
  105. package/dest/cmds/validator_keys/staker.d.ts.map +1 -0
  106. package/dest/cmds/validator_keys/staker.js +210 -0
  107. package/dest/cmds/validator_keys/utils.d.ts +25 -0
  108. package/dest/cmds/validator_keys/utils.d.ts.map +1 -0
  109. package/dest/cmds/validator_keys/utils.js +52 -0
  110. package/dest/config/cached_fetch.d.ts +19 -10
  111. package/dest/config/cached_fetch.d.ts.map +1 -1
  112. package/dest/config/cached_fetch.js +110 -32
  113. package/dest/config/chain_l2_config.d.ts +13 -38
  114. package/dest/config/chain_l2_config.d.ts.map +1 -1
  115. package/dest/config/chain_l2_config.js +35 -440
  116. package/dest/config/enrich_env.d.ts +1 -1
  117. package/dest/config/generated/networks.d.ts +221 -0
  118. package/dest/config/generated/networks.d.ts.map +1 -0
  119. package/dest/config/generated/networks.js +222 -0
  120. package/dest/config/get_l1_config.d.ts +3 -2
  121. package/dest/config/get_l1_config.d.ts.map +1 -1
  122. package/dest/config/get_l1_config.js +3 -1
  123. package/dest/config/index.d.ts +1 -1
  124. package/dest/config/network_config.d.ts +7 -4
  125. package/dest/config/network_config.d.ts.map +1 -1
  126. package/dest/config/network_config.js +70 -30
  127. package/dest/utils/aztec.d.ts +7 -14
  128. package/dest/utils/aztec.d.ts.map +1 -1
  129. package/dest/utils/aztec.js +19 -41
  130. package/dest/utils/commands.d.ts +30 -12
  131. package/dest/utils/commands.d.ts.map +1 -1
  132. package/dest/utils/commands.js +54 -16
  133. package/dest/utils/encoding.d.ts +1 -1
  134. package/dest/utils/encoding.js +1 -1
  135. package/dest/utils/github.d.ts +1 -1
  136. package/dest/utils/index.d.ts +1 -1
  137. package/dest/utils/inspect.d.ts +3 -2
  138. package/dest/utils/inspect.d.ts.map +1 -1
  139. package/dest/utils/inspect.js +10 -6
  140. package/dest/utils/setup_contracts.d.ts +1 -1
  141. package/package.json +47 -30
  142. package/public_include_metric_prefixes.json +1 -0
  143. package/src/cmds/aztec_node/block_number.ts +1 -1
  144. package/src/cmds/aztec_node/get_block.ts +2 -1
  145. package/src/cmds/aztec_node/{get_current_base_fee.ts → get_current_min_fee.ts} +2 -2
  146. package/src/cmds/aztec_node/get_logs.ts +70 -37
  147. package/src/cmds/aztec_node/get_node_info.ts +0 -2
  148. package/src/cmds/aztec_node/index.ts +16 -11
  149. package/src/cmds/contracts/inspect_contract.ts +4 -11
  150. package/src/cmds/infrastructure/index.ts +0 -1
  151. package/src/cmds/infrastructure/sequencers.ts +7 -5
  152. package/src/cmds/infrastructure/setup_l2_contract.ts +5 -4
  153. package/src/cmds/l1/assume_proven_through.ts +4 -4
  154. package/src/cmds/l1/bridge_erc20.ts +2 -1
  155. package/src/cmds/l1/compute_genesis_values.ts +29 -0
  156. package/src/cmds/l1/{deploy_l1_contracts.ts → deploy_l1_contracts_cmd.ts} +39 -23
  157. package/src/cmds/l1/deploy_new_rollup.ts +5 -12
  158. package/src/cmds/l1/get_l1_addresses.ts +4 -2
  159. package/src/cmds/l1/get_l1_balance.ts +2 -2
  160. package/src/cmds/l1/governance_utils.ts +3 -8
  161. package/src/cmds/l1/index.ts +30 -21
  162. package/src/cmds/l1/prover_stats.ts +42 -31
  163. package/src/cmds/l1/trigger_seed_snapshot.ts +2 -1
  164. package/src/cmds/l1/update_l1_validators.ts +52 -32
  165. package/src/cmds/misc/generate_secret_and_hash.ts +1 -1
  166. package/src/cmds/misc/index.ts +1 -1
  167. package/src/cmds/misc/update/npm.ts +1 -1
  168. package/src/cmds/validator_keys/add.ts +123 -0
  169. package/src/cmds/validator_keys/generate_bls_keypair.ts +34 -0
  170. package/src/cmds/validator_keys/index.ts +142 -0
  171. package/src/cmds/validator_keys/new.ts +207 -0
  172. package/src/cmds/validator_keys/shared.ts +326 -0
  173. package/src/cmds/validator_keys/staker.ts +301 -0
  174. package/src/cmds/validator_keys/utils.ts +81 -0
  175. package/src/config/cached_fetch.ts +119 -31
  176. package/src/config/chain_l2_config.ts +36 -574
  177. package/src/config/generated/networks.ts +226 -0
  178. package/src/config/get_l1_config.ts +4 -1
  179. package/src/config/network_config.ts +80 -31
  180. package/src/utils/aztec.ts +30 -95
  181. package/src/utils/commands.ts +68 -16
  182. package/src/utils/encoding.ts +1 -1
  183. package/src/utils/inspect.ts +10 -7
  184. package/dest/cmds/aztec_node/get_current_base_fee.d.ts +0 -3
  185. package/dest/cmds/aztec_node/get_current_base_fee.d.ts.map +0 -1
  186. package/dest/cmds/l1/deploy_l1_contracts.d.ts +0 -4
  187. package/dest/cmds/l1/deploy_l1_contracts.d.ts.map +0 -1
@@ -1,16 +1,19 @@
1
- import { FunctionSelector } from '@aztec/aztec.js/abi';
2
- import { AztecAddress, EthAddress } from '@aztec/aztec.js/addresses';
3
- import { Fr } from '@aztec/aztec.js/fields';
4
- import { LogId } from '@aztec/aztec.js/log';
5
- import { TxHash } from '@aztec/aztec.js/tx';
1
+ import { Fr } from '@aztec/foundation/curves/bn254';
2
+ import { EthAddress } from '@aztec/foundation/eth-address';
6
3
  import type { LogFn } from '@aztec/foundation/log';
7
4
  import type { PXE } from '@aztec/pxe/server';
5
+ import { FunctionSelector } from '@aztec/stdlib/abi/function-selector';
6
+ import { AztecAddress } from '@aztec/stdlib/aztec-address';
8
7
  import { PublicKeys } from '@aztec/stdlib/keys';
8
+ import { LogCursor, Tag } from '@aztec/stdlib/logs';
9
+ import { TxHash } from '@aztec/stdlib/tx/tx-hash';
9
10
 
10
11
  import { type Command, CommanderError, InvalidArgumentError, Option } from 'commander';
11
12
  import { lookup } from 'dns/promises';
12
13
  import { rename, writeFile } from 'fs/promises';
13
14
 
15
+ export { LogCursor };
16
+
14
17
  /**
15
18
  * If we can successfully resolve 'host.docker.internal', then we are running in a container, and we should treat
16
19
  * localhost as being host.docker.internal.
@@ -112,6 +115,34 @@ export async function getTxSender(pxe: PXE, _from?: string) {
112
115
  return from;
113
116
  }
114
117
 
118
+ /**
119
+ * Parses and validates a hex string. Removes leading 0x if present, checks for hex validity,
120
+ * and enforces an optional minimum length.
121
+ * @param hex - The hex string to validate.
122
+ * @param minLen - Optional minimum length (in hex characters, after stripping '0x').
123
+ * @returns The normalized hex string (without leading 0x).
124
+ * @throws InvalidArgumentError if the string is not valid hex or does not meet the minimum length.
125
+ */
126
+ // minLen is now interpreted as the minimum number of bytes (2 hex characters per byte)
127
+ export function parseHex(hex: string, minLen?: number): `0x${string}` {
128
+ const normalized = hex.startsWith('0x') ? hex.slice(2) : hex;
129
+
130
+ if (!/^[0-9a-fA-F]*$/.test(normalized)) {
131
+ throw new InvalidArgumentError('Invalid hex string');
132
+ }
133
+
134
+ if (minLen !== undefined) {
135
+ const minHexLen = minLen * 2;
136
+ if (normalized.length < minHexLen) {
137
+ throw new InvalidArgumentError(
138
+ `Hex string is too short (length ${normalized.length}), minimum byte length is ${minLen} (hex chars: ${minHexLen})`,
139
+ );
140
+ }
141
+ }
142
+
143
+ return `0x${normalized}`;
144
+ }
145
+
115
146
  /**
116
147
  * Removes the leading 0x from a hex string. If no leading 0x is found the string is returned unchanged.
117
148
  * @param hex - A hex string
@@ -166,7 +197,7 @@ export function parseAztecAddress(address: string): AztecAddress {
166
197
  try {
167
198
  return AztecAddress.fromString(address);
168
199
  } catch {
169
- throw new InvalidArgumentError(`Invalid address: ${address}`);
200
+ throw new InvalidArgumentError(`Invalid Aztec address: ${address}`);
170
201
  }
171
202
  }
172
203
 
@@ -180,7 +211,7 @@ export function parseEthereumAddress(address: string): EthAddress {
180
211
  try {
181
212
  return EthAddress.fromString(address);
182
213
  } catch {
183
- throw new InvalidArgumentError(`Invalid address: ${address}`);
214
+ throw new InvalidArgumentError(`Invalid Ethereumaddress: ${address}`);
184
215
  }
185
216
  }
186
217
 
@@ -198,16 +229,27 @@ export function parseOptionalAztecAddress(address: string): AztecAddress | undef
198
229
  }
199
230
 
200
231
  /**
201
- * Parses an optional log ID string into a LogId object.
202
- *
203
- * @param logId - The log ID string to parse.
204
- * @returns The parsed LogId object, or undefined if the log ID is missing or empty.
232
+ * Parses an optional `<blockNumber>-<txIndexWithinBlock>-<logIndexWithinTx>` triple into a {@link LogCursor},
233
+ * used as the `--after-log` argument of `get-logs` to resume pagination strictly after a previously-seen log.
234
+ * Thin wrapper over {@link LogCursor.parseOptional} that surfaces parse errors as commander's
235
+ * {@link InvalidArgumentError}.
205
236
  */
206
- export function parseOptionalLogId(logId: string): LogId | undefined {
207
- if (!logId) {
208
- return undefined;
237
+ export function parseOptionalLogCursor(value: string): LogCursor | undefined {
238
+ try {
239
+ return LogCursor.parseOptional(value);
240
+ } catch (err) {
241
+ throw new InvalidArgumentError(err instanceof Error ? err.message : String(err));
209
242
  }
210
- return LogId.fromString(logId);
243
+ }
244
+
245
+ /**
246
+ * Parses a log tag from a string. Tags are field-element values; we delegate to the {@link parseField} parser.
247
+ *
248
+ * @param tag - A hex string, integer, or boolean string representing the tag.
249
+ * @returns A {@link Tag} wrapping the parsed field.
250
+ */
251
+ export function parseTag(tag: string): Tag {
252
+ return new Tag(parseField(tag));
211
253
  }
212
254
 
213
255
  /**
@@ -234,7 +276,11 @@ export function parseOptionalSelector(selector: string): FunctionSelector | unde
234
276
  * @returns The parsed integer, or undefined if the input string is falsy.
235
277
  * @throws If the input is not a valid integer.
236
278
  */
237
- export function parseOptionalInteger(value: string): number | undefined {
279
+ export function parseOptionalInteger(
280
+ value: string,
281
+ min: number = Number.MIN_SAFE_INTEGER,
282
+ max: number = Number.MAX_SAFE_INTEGER,
283
+ ): number | undefined {
238
284
  if (!value) {
239
285
  return undefined;
240
286
  }
@@ -242,6 +288,12 @@ export function parseOptionalInteger(value: string): number | undefined {
242
288
  if (!Number.isInteger(parsed)) {
243
289
  throw new InvalidArgumentError('Invalid integer.');
244
290
  }
291
+ if (parsed < min) {
292
+ throw new InvalidArgumentError(`Value must be greater than ${min}.`);
293
+ }
294
+ if (parsed > max) {
295
+ throw new InvalidArgumentError(`Value must be less than ${max}.`);
296
+ }
245
297
  return parsed;
246
298
  }
247
299
 
@@ -1,4 +1,4 @@
1
- import { Fr } from '@aztec/foundation/fields';
1
+ import { Fr } from '@aztec/foundation/curves/bn254';
2
2
  import type { ABIParameter, AbiType, StructType } from '@aztec/stdlib/abi';
3
3
 
4
4
  /**
@@ -1,21 +1,21 @@
1
+ import { BlockNumber } from '@aztec/foundation/branded-types';
1
2
  import type { LogFn } from '@aztec/foundation/log';
2
3
  import type { AztecNode } from '@aztec/stdlib/interfaces/client';
3
4
  import type { TxHash } from '@aztec/stdlib/tx';
4
5
 
5
6
  export async function inspectBlock(
6
7
  aztecNode: AztecNode,
7
- blockNumber: number,
8
+ blockNumber: BlockNumber,
8
9
  log: LogFn,
9
10
  opts: { showTxs?: boolean } = {},
10
11
  ) {
11
- const block = await aztecNode.getBlock(blockNumber);
12
+ const block = await aztecNode.getBlock(blockNumber, { includeTransactions: opts.showTxs });
12
13
  if (!block) {
13
14
  log(`No block found for block number ${blockNumber}`);
14
15
  return;
15
16
  }
16
17
 
17
- const blockHash = await block.hash();
18
- log(`Block ${blockNumber} (${blockHash.toString()})`);
18
+ log(`Block ${blockNumber} (${block.hash.toString()})`);
19
19
  log(` Total fees: ${block.header.totalFees.toBigInt()}`);
20
20
  log(` Total mana used: ${block.header.totalManaUsed.toBigInt()}`);
21
21
  log(
@@ -24,12 +24,12 @@ export async function inspectBlock(
24
24
  log(` Coinbase: ${block.header.globalVariables.coinbase}`);
25
25
  log(` Fee recipient: ${block.header.globalVariables.feeRecipient}`);
26
26
  log(` Timestamp: ${new Date(Number(block.header.globalVariables.timestamp) * 500)}`);
27
- if (opts.showTxs) {
27
+ if (opts.showTxs && block.body) {
28
28
  log(``);
29
29
  for (const txHash of block.body.txEffects.map(tx => tx.txHash)) {
30
30
  await inspectTx(aztecNode, txHash, log, { includeBlockInfo: false });
31
31
  }
32
- } else {
32
+ } else if (block.body) {
33
33
  log(` Transactions: ${block.body.txEffects.length}`);
34
34
  }
35
35
  }
@@ -43,7 +43,10 @@ export async function inspectTx(
43
43
  const [receipt, effectsInBlock] = await Promise.all([aztecNode.getTxReceipt(txHash), aztecNode.getTxEffect(txHash)]);
44
44
  // Base tx data
45
45
  log(`Tx ${txHash.toString()}`);
46
- log(` Status: ${receipt.status} ${effectsInBlock ? `(${effectsInBlock.data.revertCode.getDescription()})` : ''}`);
46
+ log(` Status: ${receipt.status}`);
47
+ if (receipt.executionResult) {
48
+ log(` Execution result: ${receipt.executionResult}`);
49
+ }
47
50
  if (receipt.error) {
48
51
  log(` Error: ${receipt.error}`);
49
52
  }
@@ -1,3 +0,0 @@
1
- import type { LogFn, Logger } from '@aztec/foundation/log';
2
- export declare function getCurrentBaseFee(nodeUrl: string, debugLogger: Logger, log: LogFn): Promise<void>;
3
- //# sourceMappingURL=get_current_base_fee.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_current_base_fee.d.ts","sourceRoot":"","sources":["../../../src/cmds/aztec_node/get_current_base_fee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAIvF"}
@@ -1,4 +0,0 @@
1
- import type { EthAddress } from '@aztec/aztec.js/addresses';
2
- import type { LogFn, Logger } from '@aztec/foundation/log';
3
- export declare function deployL1Contracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, testAccounts: boolean, sponsoredFPC: boolean, acceleratedTestDeployments: boolean, json: boolean, createVerificationJson: string | false, initialValidators: EthAddress[], realVerifier: boolean, existingToken: EthAddress | undefined, log: LogFn, debugLogger: Logger): Promise<void>;
4
- //# sourceMappingURL=deploy_l1_contracts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_l1_contracts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAM3D,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,YAAY,EAAE,OAAO,EACrB,YAAY,EAAE,OAAO,EACrB,0BAA0B,EAAE,OAAO,EACnC,IAAI,EAAE,OAAO,EACb,sBAAsB,EAAE,MAAM,GAAG,KAAK,EACtC,iBAAiB,EAAE,UAAU,EAAE,EAC/B,YAAY,EAAE,OAAO,EACrB,aAAa,EAAE,UAAU,GAAG,SAAS,EACrC,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBA8DpB"}