@aztec/cli 0.77.1 → 0.78.1

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.
@@ -1,4 +1,4 @@
1
1
  import type { EthAddress } from '@aztec/foundation/eth-address';
2
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, json: boolean, initialValidators: EthAddress[], log: LogFn, debugLogger: Logger): Promise<void>;
3
+ export declare function deployL1Contracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, testAccounts: boolean, acceleratedTestDeployments: boolean, json: boolean, initialValidators: EthAddress[], log: LogFn, debugLogger: Logger): Promise<void>;
4
4
  //# sourceMappingURL=deploy_l1_contracts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_l1_contracts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAK3D,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,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,UAAU,EAAE,EAC/B,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBA2CpB"}
1
+ {"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/deploy_l1_contracts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAK3D,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,0BAA0B,EAAE,OAAO,EACnC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,UAAU,EAAE,EAC/B,GAAG,EAAE,KAAK,EACV,WAAW,EAAE,MAAM,iBA4CpB"}
@@ -2,11 +2,11 @@ import { getInitialTestAccounts } from '@aztec/accounts/testing';
2
2
  import { getL1ContractsConfigEnvVars } from '@aztec/ethereum';
3
3
  import { getGenesisValues } from '@aztec/world-state/testing';
4
4
  import { deployAztecContracts } from '../../utils/aztec.js';
5
- export async function deployL1Contracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, testAccounts, json, initialValidators, log, debugLogger) {
5
+ export async function deployL1Contracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, testAccounts, acceleratedTestDeployments, json, initialValidators, log, debugLogger) {
6
6
  const config = getL1ContractsConfigEnvVars();
7
7
  const initialFundedAccounts = testAccounts ? await getInitialTestAccounts() : [];
8
8
  const { genesisBlockHash, genesisArchiveRoot } = await getGenesisValues(initialFundedAccounts.map((a)=>a.address));
9
- const { l1ContractAddresses } = await deployAztecContracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, initialValidators, genesisArchiveRoot, genesisBlockHash, config, debugLogger);
9
+ const { l1ContractAddresses } = await deployAztecContracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, initialValidators, genesisArchiveRoot, genesisBlockHash, acceleratedTestDeployments, config, debugLogger);
10
10
  if (json) {
11
11
  log(JSON.stringify(Object.fromEntries(Object.entries(l1ContractAddresses).map(([k, v])=>[
12
12
  k,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAC;AAsBjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAkhB/E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAC;AAsBjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WAohB/E"}
@@ -6,10 +6,10 @@ const l1RpcUrlsOption = new Option('--l1-rpc-urls <string>', 'List of Ethereum h
6
6
  ]).makeOptionMandatory(true).argParser((arg)=>arg.split(',').map((url)=>url.trim()));
7
7
  export function injectCommands(program, log, debugLogger) {
8
8
  const { BB_BINARY_PATH, BB_WORKING_DIRECTORY } = process.env;
9
- program.command('deploy-l1-contracts').description('Deploys all necessary Ethereum contracts for Aztec.').addOption(l1RpcUrlsOption).option('-pk, --private-key <string>', 'The private key to use for deployment', PRIVATE_KEY).option('--validators <string>', 'Comma separated list of validators').option('-m, --mnemonic <string>', 'The mnemonic to use in deployment', 'test test test test test test test test test test test junk').option('-i, --mnemonic-index <number>', 'The index of the mnemonic to use in deployment', (arg)=>parseInt(arg), 0).addOption(l1ChainIdOption).option('--salt <number>', 'The optional salt to use in deployment', (arg)=>parseInt(arg)).option('--json', 'Output the contract addresses in JSON format').option('--test-accounts', 'Populate genesis state with initial fee juice for test accounts').action(async (options)=>{
9
+ program.command('deploy-l1-contracts').description('Deploys all necessary Ethereum contracts for Aztec.').addOption(l1RpcUrlsOption).option('-pk, --private-key <string>', 'The private key to use for deployment', PRIVATE_KEY).option('--validators <string>', 'Comma separated list of validators').option('-m, --mnemonic <string>', 'The mnemonic to use in deployment', 'test test test test test test test test test test test junk').option('-i, --mnemonic-index <number>', 'The index of the mnemonic to use in deployment', (arg)=>parseInt(arg), 0).addOption(l1ChainIdOption).option('--salt <number>', 'The optional salt to use in deployment', (arg)=>parseInt(arg)).option('--json', 'Output the contract addresses in JSON format').option('--test-accounts', 'Populate genesis state with initial fee juice for test accounts').option('--accelerated-test-deployments', 'Fire and forget deployment transactions, use in testing only', false).action(async (options)=>{
10
10
  const { deployL1Contracts } = await import('./deploy_l1_contracts.js');
11
11
  const initialValidators = options.validators?.split(',').map((validator)=>EthAddress.fromString(validator)) || [];
12
- await deployL1Contracts(options.l1RpcUrls, options.l1ChainId, options.privateKey, options.mnemonic, options.mnemonicIndex, options.salt, options.testAccounts, options.json, initialValidators, log, debugLogger);
12
+ await deployL1Contracts(options.l1RpcUrls, options.l1ChainId, options.privateKey, options.mnemonic, options.mnemonicIndex, options.salt, options.testAccounts, options.acceleratedTestDeployments, options.json, initialValidators, log, debugLogger);
13
13
  });
14
14
  program.command('deploy-new-rollup').description('Deploys a new rollup contract and a payload to upgrade the registry with it.').requiredOption('-r, --registry-address <string>', 'The address of the registry contract', parseEthereumAddress).addOption(l1RpcUrlsOption).option('-pk, --private-key <string>', 'The private key to use for deployment', PRIVATE_KEY).option('--validators <string>', 'Comma separated list of validators').option('-m, --mnemonic <string>', 'The mnemonic to use in deployment', 'test test test test test test test test test test test junk').option('-i, --mnemonic-index <number>', 'The index of the mnemonic to use in deployment', (arg)=>parseInt(arg), 0).addOption(l1ChainIdOption).option('--salt <number>', 'The optional salt to use in deployment', (arg)=>parseInt(arg)).option('--json', 'Output the contract addresses in JSON format').option('--test-accounts', 'Populate genesis state with initial fee juice for test accounts').action(async (options)=>{
15
15
  const { deployNewRollup } = await import('./deploy_new_rollup.js');
@@ -18,7 +18,7 @@ export declare function getFunctionArtifact(artifact: ContractArtifact, fnName:
18
18
  * @param privateKey - The private key to be used in contract deployment.
19
19
  * @param mnemonic - The mnemonic to be used in contract deployment.
20
20
  */
21
- export declare function deployAztecContracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, initialValidators: EthAddress[], genesisArchiveRoot: Fr, genesisBlockHash: Fr, config: L1ContractsConfig, debugLogger: Logger): Promise<DeployL1ContractsReturnType>;
21
+ export declare function deployAztecContracts(rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, initialValidators: EthAddress[], genesisArchiveRoot: Fr, genesisBlockHash: Fr, acceleratedTestDeployments: boolean, config: L1ContractsConfig, debugLogger: Logger): Promise<DeployL1ContractsReturnType>;
22
22
  export declare function deployNewRollupContracts(registryAddress: EthAddress, rpcUrls: string[], chainId: number, privateKey: string | undefined, mnemonic: string, mnemonicIndex: number, salt: number | undefined, initialValidators: EthAddress[], genesisArchiveRoot: Fr, genesisBlockHash: Fr, config: L1ContractsConfig, logger: Logger): Promise<{
23
23
  payloadAddress: EthAddress;
24
24
  rollup: RollupContract;
@@ -1 +1 @@
1
- {"version":3,"file":"aztec.d.ts","sourceRoot":"","sources":["../../src/utils/aztec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAwB,MAAM,qBAAqB,CAAC;AACzG,OAAO,KAAK,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,KAAK,EA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G,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,iBAyB9E"}
@@ -23,7 +23,7 @@ import { encodeArgs } from './encoding.js';
23
23
  * @param chainId - The chain ID of the L1 host.
24
24
  * @param privateKey - The private key to be used in contract deployment.
25
25
  * @param mnemonic - The mnemonic to be used in contract deployment.
26
- */ export async function deployAztecContracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, initialValidators, genesisArchiveRoot, genesisBlockHash, config, debugLogger) {
26
+ */ export async function deployAztecContracts(rpcUrls, chainId, privateKey, mnemonic, mnemonicIndex, salt, initialValidators, genesisArchiveRoot, genesisBlockHash, acceleratedTestDeployments, config, debugLogger) {
27
27
  const { createEthereumChain, deployL1Contracts } = await import('@aztec/ethereum');
28
28
  const { mnemonicToAccount, privateKeyToAccount } = await import('viem/accounts');
29
29
  const account = !privateKey ? mnemonicToAccount(mnemonic, {
@@ -39,6 +39,7 @@ import { encodeArgs } from './encoding.js';
39
39
  genesisBlockHash,
40
40
  salt,
41
41
  initialValidators,
42
+ acceleratedTestDeployments,
42
43
  ...config
43
44
  }, config);
44
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "0.77.1",
3
+ "version": "0.78.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./contracts": "./dest/cmds/contracts/index.js",
@@ -67,14 +67,14 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@aztec/archiver": "0.77.1",
71
- "@aztec/aztec.js": "0.77.1",
72
- "@aztec/constants": "0.77.1",
73
- "@aztec/foundation": "0.77.1",
74
- "@aztec/l1-artifacts": "0.77.1",
75
- "@aztec/p2p": "0.77.1",
76
- "@aztec/stdlib": "0.77.1",
77
- "@aztec/world-state": "0.77.1",
70
+ "@aztec/archiver": "0.78.1",
71
+ "@aztec/aztec.js": "0.78.1",
72
+ "@aztec/constants": "0.78.1",
73
+ "@aztec/foundation": "0.78.1",
74
+ "@aztec/l1-artifacts": "0.78.1",
75
+ "@aztec/p2p": "0.78.1",
76
+ "@aztec/stdlib": "0.78.1",
77
+ "@aztec/world-state": "0.78.1",
78
78
  "@iarna/toml": "^2.2.5",
79
79
  "@libp2p/peer-id-factory": "^3.0.4",
80
80
  "commander": "^12.1.0",
@@ -86,9 +86,9 @@
86
86
  "viem": "2.22.8"
87
87
  },
88
88
  "devDependencies": {
89
- "@aztec/accounts": "0.77.1",
90
- "@aztec/ethereum": "0.77.1",
91
- "@aztec/protocol-contracts": "0.77.1",
89
+ "@aztec/accounts": "0.78.1",
90
+ "@aztec/ethereum": "0.78.1",
91
+ "@aztec/protocol-contracts": "0.78.1",
92
92
  "@jest/globals": "^29.5.0",
93
93
  "@types/jest": "^29.5.0",
94
94
  "@types/lodash.chunk": "^4.2.9",
@@ -104,14 +104,14 @@
104
104
  "typescript": "^5.0.4"
105
105
  },
106
106
  "peerDependencies": {
107
- "@aztec/accounts": "0.77.1",
108
- "@aztec/bb-prover": "0.77.1",
109
- "@aztec/ethereum": "0.77.1",
110
- "@aztec/l1-artifacts": "0.77.1",
111
- "@aztec/noir-contracts.js": "0.77.1",
112
- "@aztec/noir-protocol-circuits-types": "0.77.1",
113
- "@aztec/protocol-contracts": "0.77.1",
114
- "@aztec/stdlib": "0.77.1"
107
+ "@aztec/accounts": "0.78.1",
108
+ "@aztec/bb-prover": "0.78.1",
109
+ "@aztec/ethereum": "0.78.1",
110
+ "@aztec/l1-artifacts": "0.78.1",
111
+ "@aztec/noir-contracts.js": "0.78.1",
112
+ "@aztec/noir-protocol-circuits-types": "0.78.1",
113
+ "@aztec/protocol-contracts": "0.78.1",
114
+ "@aztec/stdlib": "0.78.1"
115
115
  },
116
116
  "files": [
117
117
  "dest",
@@ -14,6 +14,7 @@ export async function deployL1Contracts(
14
14
  mnemonicIndex: number,
15
15
  salt: number | undefined,
16
16
  testAccounts: boolean,
17
+ acceleratedTestDeployments: boolean,
17
18
  json: boolean,
18
19
  initialValidators: EthAddress[],
19
20
  log: LogFn,
@@ -34,6 +35,7 @@ export async function deployL1Contracts(
34
35
  initialValidators,
35
36
  genesisArchiveRoot,
36
37
  genesisBlockHash,
38
+ acceleratedTestDeployments,
37
39
  config,
38
40
  debugLogger,
39
41
  );
@@ -42,6 +42,7 @@ export function injectCommands(program: Command, log: LogFn, debugLogger: Logger
42
42
  .option('--salt <number>', 'The optional salt to use in deployment', arg => parseInt(arg))
43
43
  .option('--json', 'Output the contract addresses in JSON format')
44
44
  .option('--test-accounts', 'Populate genesis state with initial fee juice for test accounts')
45
+ .option('--accelerated-test-deployments', 'Fire and forget deployment transactions, use in testing only', false)
45
46
  .action(async options => {
46
47
  const { deployL1Contracts } = await import('./deploy_l1_contracts.js');
47
48
 
@@ -55,6 +56,7 @@ export function injectCommands(program: Command, log: LogFn, debugLogger: Logger
55
56
  options.mnemonicIndex,
56
57
  options.salt,
57
58
  options.testAccounts,
59
+ options.acceleratedTestDeployments,
58
60
  options.json,
59
61
  initialValidators,
60
62
  log,
@@ -44,6 +44,7 @@ export async function deployAztecContracts(
44
44
  initialValidators: EthAddress[],
45
45
  genesisArchiveRoot: Fr,
46
46
  genesisBlockHash: Fr,
47
+ acceleratedTestDeployments: boolean,
47
48
  config: L1ContractsConfig,
48
49
  debugLogger: Logger,
49
50
  ): Promise<DeployL1ContractsReturnType> {
@@ -70,6 +71,7 @@ export async function deployAztecContracts(
70
71
  genesisBlockHash,
71
72
  salt,
72
73
  initialValidators,
74
+ acceleratedTestDeployments,
73
75
  ...config,
74
76
  },
75
77
  config,