@aztec/cli 0.86.0-nightly.20250515 → 0.86.0-nightly.20250517
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.
- package/dest/utils/aztec.d.ts.map +1 -1
- package/dest/utils/aztec.js +4 -4
- package/package.json +22 -22
- package/src/utils/aztec.ts +3 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aztec.d.ts","sourceRoot":"","sources":["../../src/utils/aztec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAIjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,
|
|
1
|
+
{"version":3,"file":"aztec.d.ts","sourceRoot":"","sources":["../../src/utils/aztec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAIjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,2BAA2B,EAAE,KAAK,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC3G,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAShE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,CAMtF;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,MAAM,EAAE,EACjB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,Q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wBAAsB,kBAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,iBAyB9E"}
|
package/dest/utils/aztec.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EthAddress } from '@aztec/aztec.js';
|
|
2
2
|
import { FunctionType, getAllFunctionAbis, loadContractArtifact } from '@aztec/aztec.js/abi';
|
|
3
|
-
import { RegistryContract, RollupContract } from '@aztec/ethereum';
|
|
4
3
|
import { protocolContractTreeRoot } from '@aztec/protocol-contracts';
|
|
5
4
|
import TOML from '@iarna/toml';
|
|
6
5
|
import { readFile } from 'fs/promises';
|
|
@@ -53,9 +52,10 @@ export async function deployNewRollupContracts(registryAddress, rpcUrls, chainId
|
|
|
53
52
|
const chain = createEthereumChain(rpcUrls, chainId);
|
|
54
53
|
const client = createExtendedL1Client(rpcUrls, account, chain.chainInfo, undefined, mnemonicIndex);
|
|
55
54
|
if (!initialValidators || initialValidators.length === 0) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
// initialize the new rollup with Amin's validator address.
|
|
56
|
+
initialValidators = [
|
|
57
|
+
EthAddress.fromString('0x3b218d0F26d15B36C715cB06c949210a0d630637')
|
|
58
|
+
];
|
|
59
59
|
logger.info('Initializing new rollup with old attesters', {
|
|
60
60
|
initialValidators
|
|
61
61
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "0.86.0-nightly.
|
|
3
|
+
"version": "0.86.0-nightly.20250517",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@aztec/archiver": "0.86.0-nightly.
|
|
69
|
-
"@aztec/aztec.js": "0.86.0-nightly.
|
|
70
|
-
"@aztec/constants": "0.86.0-nightly.
|
|
71
|
-
"@aztec/entrypoints": "0.86.0-nightly.
|
|
72
|
-
"@aztec/foundation": "0.86.0-nightly.
|
|
73
|
-
"@aztec/l1-artifacts": "0.86.0-nightly.
|
|
74
|
-
"@aztec/p2p": "0.86.0-nightly.
|
|
75
|
-
"@aztec/stdlib": "0.86.0-nightly.
|
|
76
|
-
"@aztec/world-state": "0.86.0-nightly.
|
|
68
|
+
"@aztec/archiver": "0.86.0-nightly.20250517",
|
|
69
|
+
"@aztec/aztec.js": "0.86.0-nightly.20250517",
|
|
70
|
+
"@aztec/constants": "0.86.0-nightly.20250517",
|
|
71
|
+
"@aztec/entrypoints": "0.86.0-nightly.20250517",
|
|
72
|
+
"@aztec/foundation": "0.86.0-nightly.20250517",
|
|
73
|
+
"@aztec/l1-artifacts": "0.86.0-nightly.20250517",
|
|
74
|
+
"@aztec/p2p": "0.86.0-nightly.20250517",
|
|
75
|
+
"@aztec/stdlib": "0.86.0-nightly.20250517",
|
|
76
|
+
"@aztec/world-state": "0.86.0-nightly.20250517",
|
|
77
77
|
"@iarna/toml": "^2.2.5",
|
|
78
78
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
79
79
|
"commander": "^12.1.0",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"viem": "2.23.7"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@aztec/accounts": "0.86.0-nightly.
|
|
89
|
-
"@aztec/ethereum": "0.86.0-nightly.
|
|
90
|
-
"@aztec/protocol-contracts": "0.86.0-nightly.
|
|
88
|
+
"@aztec/accounts": "0.86.0-nightly.20250517",
|
|
89
|
+
"@aztec/ethereum": "0.86.0-nightly.20250517",
|
|
90
|
+
"@aztec/protocol-contracts": "0.86.0-nightly.20250517",
|
|
91
91
|
"@jest/globals": "^29.5.0",
|
|
92
92
|
"@types/jest": "^29.5.0",
|
|
93
93
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -103,15 +103,15 @@
|
|
|
103
103
|
"typescript": "^5.0.4"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@aztec/accounts": "0.86.0-nightly.
|
|
107
|
-
"@aztec/bb-prover": "0.86.0-nightly.
|
|
108
|
-
"@aztec/ethereum": "0.86.0-nightly.
|
|
109
|
-
"@aztec/l1-artifacts": "0.86.0-nightly.
|
|
110
|
-
"@aztec/noir-contracts.js": "0.86.0-nightly.
|
|
111
|
-
"@aztec/noir-protocol-circuits-types": "0.86.0-nightly.
|
|
112
|
-
"@aztec/noir-test-contracts.js": "0.86.0-nightly.
|
|
113
|
-
"@aztec/protocol-contracts": "0.86.0-nightly.
|
|
114
|
-
"@aztec/stdlib": "0.86.0-nightly.
|
|
106
|
+
"@aztec/accounts": "0.86.0-nightly.20250517",
|
|
107
|
+
"@aztec/bb-prover": "0.86.0-nightly.20250517",
|
|
108
|
+
"@aztec/ethereum": "0.86.0-nightly.20250517",
|
|
109
|
+
"@aztec/l1-artifacts": "0.86.0-nightly.20250517",
|
|
110
|
+
"@aztec/noir-contracts.js": "0.86.0-nightly.20250517",
|
|
111
|
+
"@aztec/noir-protocol-circuits-types": "0.86.0-nightly.20250517",
|
|
112
|
+
"@aztec/noir-test-contracts.js": "0.86.0-nightly.20250517",
|
|
113
|
+
"@aztec/protocol-contracts": "0.86.0-nightly.20250517",
|
|
114
|
+
"@aztec/stdlib": "0.86.0-nightly.20250517"
|
|
115
115
|
},
|
|
116
116
|
"files": [
|
|
117
117
|
"dest",
|
package/src/utils/aztec.ts
CHANGED
|
@@ -6,12 +6,7 @@ import {
|
|
|
6
6
|
getAllFunctionAbis,
|
|
7
7
|
loadContractArtifact,
|
|
8
8
|
} from '@aztec/aztec.js/abi';
|
|
9
|
-
import {
|
|
10
|
-
type DeployL1ContractsReturnType,
|
|
11
|
-
type L1ContractsConfig,
|
|
12
|
-
RegistryContract,
|
|
13
|
-
RollupContract,
|
|
14
|
-
} from '@aztec/ethereum';
|
|
9
|
+
import { type DeployL1ContractsReturnType, type L1ContractsConfig, RollupContract } from '@aztec/ethereum';
|
|
15
10
|
import type { Fr } from '@aztec/foundation/fields';
|
|
16
11
|
import type { LogFn, Logger } from '@aztec/foundation/log';
|
|
17
12
|
import type { NoirPackageConfig } from '@aztec/foundation/noir';
|
|
@@ -112,9 +107,8 @@ export async function deployNewRollupContracts(
|
|
|
112
107
|
const client = createExtendedL1Client(rpcUrls, account, chain.chainInfo, undefined, mnemonicIndex);
|
|
113
108
|
|
|
114
109
|
if (!initialValidators || initialValidators.length === 0) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
initialValidators = (await rollup.getAttesters()).map(str => EthAddress.fromString(str));
|
|
110
|
+
// initialize the new rollup with Amin's validator address.
|
|
111
|
+
initialValidators = [EthAddress.fromString('0x3b218d0F26d15B36C715cB06c949210a0d630637')];
|
|
118
112
|
logger.info('Initializing new rollup with old attesters', { initialValidators });
|
|
119
113
|
}
|
|
120
114
|
|