@aztec-labs/cli 6.0.0-nightly.20260923 → 6.0.0-nightly.20260929

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 { LogFn, Logger } from '@aztec-labs/foundation/log';
2
2
  import { type Command } from 'commander';
3
3
  export declare function injectCommands(program: Command, log: LogFn, debugLogger: Logger): Command;
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jbWRzL2wxL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sS0FBSyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsS0FBSyxPQUFPLEVBQVUsTUFBTSxXQUFXLENBQUM7QUF1QmpELHdCQUFnQixjQUFjLENBQUMsT0FBTyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLFdBNmdCL0UifQ==
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jbWRzL2wxL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sS0FBSyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsS0FBSyxPQUFPLEVBQVUsTUFBTSxXQUFXLENBQUM7QUF1QmpELHdCQUFnQixjQUFjLENBQUMsT0FBTyxFQUFFLE9BQU8sRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLFdBOGdCL0UifQ==
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAC;AAuBjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WA6gB/E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/l1/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,OAAO,EAAU,MAAM,WAAW,CAAC;AAuBjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,WA8gB/E"}
@@ -99,7 +99,7 @@ export function injectCommands(program, log, debugLogger) {
99
99
  const account = generateL1Account();
100
100
  log(JSON.stringify(account, null, 2));
101
101
  });
102
- program.command('add-l1-validator').description('Adds a validator to the L1 rollup contract via a direct deposit.').addOption(l1RpcUrlsOption).addOption(networkOption).option('-pk, --private-key <string>', 'The private key to use sending the transaction', PRIVATE_KEY).option('-m, --mnemonic <string>', 'The mnemonic to use sending the transaction', 'test test test test test test test test test test test junk').addOption(l1ChainIdOption).option('--attester <address>', 'ethereum address of the attester', parseEthereumAddress).option('--withdrawer <address>', 'ethereum address of the withdrawer', parseEthereumAddress).option('--bls-secret-key <string>', 'The BN254 scalar field element used as a secret key for BLS signatures. Will be associated with the attester address.', parseBigint).option('--move-with-latest-rollup', 'Whether to move with the latest rollup', true).option('--rollup <string>', 'Rollup contract address', parseEthereumAddress).action(async (options)=>{
102
+ program.command('add-l1-validator').description('Adds a validator to the L1 rollup contract via a direct deposit.').addOption(l1RpcUrlsOption).addOption(networkOption).option('-pk, --private-key <string>', 'The private key to use sending the transaction', PRIVATE_KEY).option('-m, --mnemonic <string>', 'The mnemonic to use sending the transaction', 'test test test test test test test test test test test junk').addOption(l1ChainIdOption).option('--attester <address>', 'ethereum address of the attester', parseEthereumAddress).option('--withdrawer <address>', 'ethereum address of the withdrawer', parseEthereumAddress).option('--bls-secret-key <string>', 'The BN254 scalar field element used as a secret key for BLS signatures. Will be associated with the attester address.', parseBigint).option('--move-with-latest-rollup', 'Whether to move with the latest rollup', true).option('--no-move-with-latest-rollup', 'Keep the stake on this rollup after an upgrade').option('--rollup <string>', 'Rollup contract address', parseEthereumAddress).action(async (options)=>{
103
103
  const { addL1ValidatorViaRollup } = await import('./update_l1_validators.js');
104
104
  let rollupAddress = options.rollup;
105
105
  if (!rollupAddress) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec-labs/cli",
3
- "version": "6.0.0-nightly.20260923",
3
+ "version": "6.0.0-nightly.20260929",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./devnet": "./dest/cmds/devnet/index.js",
@@ -76,19 +76,19 @@
76
76
  ]
77
77
  },
78
78
  "dependencies": {
79
- "@aztec-foundation/l1-artifacts": "6.0.0-nightly.20260921",
80
- "@aztec-labs/accounts": "6.0.0-nightly.20260923",
81
- "@aztec-labs/archiver": "6.0.0-nightly.20260923",
82
- "@aztec-labs/aztec.js": "6.0.0-nightly.20260923",
83
- "@aztec-labs/constants": "6.0.0-nightly.20260923",
84
- "@aztec-labs/ethereum": "6.0.0-nightly.20260923",
85
- "@aztec-labs/foundation": "6.0.0-nightly.20260923",
86
- "@aztec-labs/node-keystore": "6.0.0-nightly.20260923",
87
- "@aztec-labs/p2p": "6.0.0-nightly.20260923",
88
- "@aztec-labs/protocol-contracts": "6.0.0-nightly.20260923",
89
- "@aztec-labs/stdlib": "6.0.0-nightly.20260923",
90
- "@aztec-labs/wallets": "6.0.0-nightly.20260923",
91
- "@aztec-labs/world-state": "6.0.0-nightly.20260923",
79
+ "@aztec-foundation/l1-artifacts": "6.0.0-rc.1",
80
+ "@aztec-labs/accounts": "6.0.0-nightly.20260929",
81
+ "@aztec-labs/archiver": "6.0.0-nightly.20260929",
82
+ "@aztec-labs/aztec.js": "6.0.0-nightly.20260929",
83
+ "@aztec-labs/constants": "6.0.0-nightly.20260929",
84
+ "@aztec-labs/ethereum": "6.0.0-nightly.20260929",
85
+ "@aztec-labs/foundation": "6.0.0-nightly.20260929",
86
+ "@aztec-labs/node-keystore": "6.0.0-nightly.20260929",
87
+ "@aztec-labs/p2p": "6.0.0-nightly.20260929",
88
+ "@aztec-labs/protocol-contracts": "6.0.0-nightly.20260929",
89
+ "@aztec-labs/stdlib": "6.0.0-nightly.20260929",
90
+ "@aztec-labs/wallets": "6.0.0-nightly.20260929",
91
+ "@aztec-labs/world-state": "6.0.0-nightly.20260929",
92
92
  "@ethersproject/wallet": "^5.8.0",
93
93
  "@iarna/toml": "^2.2.5",
94
94
  "@libp2p/peer-id-factory": "^3.0.4",
@@ -118,15 +118,15 @@
118
118
  "typescript": "^5.3.3"
119
119
  },
120
120
  "peerDependencies": {
121
- "@aztec-foundation/l1-artifacts": "6.0.0-nightly.20260921",
122
- "@aztec-labs/accounts": "6.0.0-nightly.20260923",
123
- "@aztec-labs/bb-prover": "6.0.0-nightly.20260923",
124
- "@aztec-labs/ethereum": "6.0.0-nightly.20260923",
125
- "@aztec-labs/noir-contracts.js": "6.0.0-nightly.20260923",
126
- "@aztec-labs/noir-protocol-circuits-types": "6.0.0-nightly.20260923",
127
- "@aztec-labs/noir-test-contracts.js": "6.0.0-nightly.20260923",
128
- "@aztec-labs/protocol-contracts": "6.0.0-nightly.20260923",
129
- "@aztec-labs/stdlib": "6.0.0-nightly.20260923"
121
+ "@aztec-foundation/l1-artifacts": "6.0.0-rc.1",
122
+ "@aztec-labs/accounts": "6.0.0-nightly.20260929",
123
+ "@aztec-labs/bb-prover": "6.0.0-nightly.20260929",
124
+ "@aztec-labs/ethereum": "6.0.0-nightly.20260929",
125
+ "@aztec-labs/noir-contracts.js": "6.0.0-nightly.20260929",
126
+ "@aztec-labs/noir-protocol-circuits-types": "6.0.0-nightly.20260929",
127
+ "@aztec-labs/noir-test-contracts.js": "6.0.0-nightly.20260929",
128
+ "@aztec-labs/protocol-contracts": "6.0.0-nightly.20260929",
129
+ "@aztec-labs/stdlib": "6.0.0-nightly.20260929"
130
130
  },
131
131
  "files": [
132
132
  "dest",
@@ -312,6 +312,7 @@ export function injectCommands(program: Command, log: LogFn, debugLogger: Logger
312
312
  parseBigint,
313
313
  )
314
314
  .option('--move-with-latest-rollup', 'Whether to move with the latest rollup', true)
315
+ .option('--no-move-with-latest-rollup', 'Keep the stake on this rollup after an upgrade')
315
316
  .option('--rollup <string>', 'Rollup contract address', parseEthereumAddress)
316
317
  .action(async options => {
317
318
  const { addL1ValidatorViaRollup } = await import('./update_l1_validators.js');