@aztec-labs/cli 6.1.0-nightly.20261027 → 6.1.0-nightly.20261029

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,5 +1,5 @@
1
1
  import { getInitialTestAccountsData } from '@aztec-labs/accounts/testing';
2
- import { Fr } from '@aztec-labs/aztec.js/fields';
2
+ import { randomStakeableBn254SecretKey } from '@aztec-labs/ethereum/bn254';
3
3
  import { getL1ContractsConfigEnvVars } from '@aztec-labs/ethereum/config';
4
4
  import { deployAztecL1Contracts } from '@aztec-labs/ethereum/deploy-aztec-l1-contracts';
5
5
  import { SecretValue } from '@aztec-labs/foundation/config';
@@ -33,7 +33,7 @@ export async function deployL1ContractsCmd(rpcUrls, chainId, privateKey, mnemoni
33
33
  const initialValidatorOperators = initialValidators.map((a)=>({
34
34
  attester: a,
35
35
  withdrawer: a,
36
- bn254SecretKey: new SecretValue(Fr.random().toBigInt())
36
+ bn254SecretKey: new SecretValue(randomStakeableBn254SecretKey())
37
37
  }));
38
38
  debugLogger.info('Deploying L1 contracts via Forge...');
39
39
  // Deploy using l1-contracts Forge scripts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec-labs/cli",
3
- "version": "6.1.0-nightly.20261027",
3
+ "version": "6.1.0-nightly.20261029",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./devnet": "./dest/cmds/devnet/index.js",
@@ -77,18 +77,18 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@aztec-foundation/l1-artifacts": "6.0.0-rc.7",
80
- "@aztec-labs/accounts": "6.1.0-nightly.20261027",
81
- "@aztec-labs/archiver": "6.1.0-nightly.20261027",
82
- "@aztec-labs/aztec.js": "6.1.0-nightly.20261027",
83
- "@aztec-labs/constants": "6.1.0-nightly.20261027",
84
- "@aztec-labs/ethereum": "6.1.0-nightly.20261027",
85
- "@aztec-labs/foundation": "6.1.0-nightly.20261027",
86
- "@aztec-labs/node-keystore": "6.1.0-nightly.20261027",
87
- "@aztec-labs/p2p": "6.1.0-nightly.20261027",
88
- "@aztec-labs/protocol-contracts": "6.1.0-nightly.20261027",
89
- "@aztec-labs/stdlib": "6.1.0-nightly.20261027",
90
- "@aztec-labs/wallets": "6.1.0-nightly.20261027",
91
- "@aztec-labs/world-state": "6.1.0-nightly.20261027",
80
+ "@aztec-labs/accounts": "6.1.0-nightly.20261029",
81
+ "@aztec-labs/archiver": "6.1.0-nightly.20261029",
82
+ "@aztec-labs/aztec.js": "6.1.0-nightly.20261029",
83
+ "@aztec-labs/constants": "6.1.0-nightly.20261029",
84
+ "@aztec-labs/ethereum": "6.1.0-nightly.20261029",
85
+ "@aztec-labs/foundation": "6.1.0-nightly.20261029",
86
+ "@aztec-labs/node-keystore": "6.1.0-nightly.20261029",
87
+ "@aztec-labs/p2p": "6.1.0-nightly.20261029",
88
+ "@aztec-labs/protocol-contracts": "6.1.0-nightly.20261029",
89
+ "@aztec-labs/stdlib": "6.1.0-nightly.20261029",
90
+ "@aztec-labs/wallets": "6.1.0-nightly.20261029",
91
+ "@aztec-labs/world-state": "6.1.0-nightly.20261029",
92
92
  "@ethersproject/wallet": "^5.8.0",
93
93
  "@iarna/toml": "^2.2.5",
94
94
  "@libp2p/peer-id-factory": "^3.0.4",
@@ -119,14 +119,14 @@
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@aztec-foundation/l1-artifacts": "6.0.0-rc.7",
122
- "@aztec-labs/accounts": "6.1.0-nightly.20261027",
123
- "@aztec-labs/bb-prover": "6.1.0-nightly.20261027",
124
- "@aztec-labs/ethereum": "6.1.0-nightly.20261027",
125
- "@aztec-labs/noir-contracts.js": "6.1.0-nightly.20261027",
126
- "@aztec-labs/noir-protocol-circuits-types": "6.1.0-nightly.20261027",
127
- "@aztec-labs/noir-test-contracts.js": "6.1.0-nightly.20261027",
128
- "@aztec-labs/protocol-contracts": "6.1.0-nightly.20261027",
129
- "@aztec-labs/stdlib": "6.1.0-nightly.20261027"
122
+ "@aztec-labs/accounts": "6.1.0-nightly.20261029",
123
+ "@aztec-labs/bb-prover": "6.1.0-nightly.20261029",
124
+ "@aztec-labs/ethereum": "6.1.0-nightly.20261029",
125
+ "@aztec-labs/noir-contracts.js": "6.1.0-nightly.20261029",
126
+ "@aztec-labs/noir-protocol-circuits-types": "6.1.0-nightly.20261029",
127
+ "@aztec-labs/noir-test-contracts.js": "6.1.0-nightly.20261029",
128
+ "@aztec-labs/protocol-contracts": "6.1.0-nightly.20261029",
129
+ "@aztec-labs/stdlib": "6.1.0-nightly.20261029"
130
130
  },
131
131
  "files": [
132
132
  "dest",
@@ -1,6 +1,6 @@
1
1
  import { getInitialTestAccountsData } from '@aztec-labs/accounts/testing';
2
2
  import type { EthAddress } from '@aztec-labs/aztec.js/addresses';
3
- import { Fr } from '@aztec-labs/aztec.js/fields';
3
+ import { randomStakeableBn254SecretKey } from '@aztec-labs/ethereum/bn254';
4
4
  import { getL1ContractsConfigEnvVars } from '@aztec-labs/ethereum/config';
5
5
  import { type Operator, deployAztecL1Contracts } from '@aztec-labs/ethereum/deploy-aztec-l1-contracts';
6
6
  import { SecretValue } from '@aztec-labs/foundation/config';
@@ -53,7 +53,7 @@ export async function deployL1ContractsCmd(
53
53
  const initialValidatorOperators: Operator[] = initialValidators.map(a => ({
54
54
  attester: a,
55
55
  withdrawer: a,
56
- bn254SecretKey: new SecretValue(Fr.random().toBigInt()),
56
+ bn254SecretKey: new SecretValue(randomStakeableBn254SecretKey()),
57
57
  }));
58
58
 
59
59
  debugLogger.info('Deploying L1 contracts via Forge...');