@aztec/cli 0.84.0-nightly.20250407 → 0.84.0-nightly.20250409
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/cmds/misc/get_canonical_sponsored_fpc_address.d.ts +3 -0
- package/dest/cmds/misc/get_canonical_sponsored_fpc_address.d.ts.map +1 -0
- package/dest/cmds/misc/get_canonical_sponsored_fpc_address.js +4 -0
- package/dest/cmds/misc/index.d.ts.map +1 -1
- package/dest/cmds/misc/index.js +4 -0
- package/package.json +21 -21
- package/src/cmds/misc/get_canonical_sponsored_fpc_address.ts +7 -0
- package/src/cmds/misc/index.ts +8 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_canonical_sponsored_fpc_address.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/get_canonical_sponsored_fpc_address.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,wBAAsB,+BAA+B,CAAC,GAAG,EAAE,KAAK,iBAE/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cmds/misc/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,WA6F1D"}
|
package/dest/cmds/misc/index.js
CHANGED
|
@@ -35,6 +35,10 @@ export function injectCommands(program, log) {
|
|
|
35
35
|
const { generateSecretAndHash } = await import('./generate_secret_and_hash.js');
|
|
36
36
|
generateSecretAndHash(log);
|
|
37
37
|
});
|
|
38
|
+
program.command('get-canonical-sponsored-fpc-address').description('Gets the canonical SponsoredFPC address for this any testnet running on the same version as this CLI').action(async ()=>{
|
|
39
|
+
const { getCanonicalSponsoredFPCAddress } = await import('./get_canonical_sponsored_fpc_address.js');
|
|
40
|
+
await getCanonicalSponsoredFPCAddress(log);
|
|
41
|
+
});
|
|
38
42
|
program.command('update').description('Updates Nodejs and Noir dependencies').argument('[projectPath]', 'Path to the project directory', process.cwd()).option('--contract [paths...]', 'Paths to contracts to update dependencies', []).option('--aztec-version <semver>', 'The version to update Aztec packages to. Defaults to latest', 'latest').action(async (projectPath, options)=>{
|
|
39
43
|
const { updateProject } = await import('./update.js');
|
|
40
44
|
const { contract, aztecVersion } = options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "0.84.0-nightly.
|
|
3
|
+
"version": "0.84.0-nightly.20250409",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/archiver": "0.84.0-nightly.
|
|
71
|
-
"@aztec/aztec.js": "0.84.0-nightly.
|
|
72
|
-
"@aztec/constants": "0.84.0-nightly.
|
|
73
|
-
"@aztec/entrypoints": "0.84.0-nightly.
|
|
74
|
-
"@aztec/foundation": "0.84.0-nightly.
|
|
75
|
-
"@aztec/l1-artifacts": "0.84.0-nightly.
|
|
76
|
-
"@aztec/p2p": "0.84.0-nightly.
|
|
77
|
-
"@aztec/stdlib": "0.84.0-nightly.
|
|
78
|
-
"@aztec/world-state": "0.84.0-nightly.
|
|
70
|
+
"@aztec/archiver": "0.84.0-nightly.20250409",
|
|
71
|
+
"@aztec/aztec.js": "0.84.0-nightly.20250409",
|
|
72
|
+
"@aztec/constants": "0.84.0-nightly.20250409",
|
|
73
|
+
"@aztec/entrypoints": "0.84.0-nightly.20250409",
|
|
74
|
+
"@aztec/foundation": "0.84.0-nightly.20250409",
|
|
75
|
+
"@aztec/l1-artifacts": "0.84.0-nightly.20250409",
|
|
76
|
+
"@aztec/p2p": "0.84.0-nightly.20250409",
|
|
77
|
+
"@aztec/stdlib": "0.84.0-nightly.20250409",
|
|
78
|
+
"@aztec/world-state": "0.84.0-nightly.20250409",
|
|
79
79
|
"@iarna/toml": "^2.2.5",
|
|
80
80
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
81
81
|
"commander": "^12.1.0",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"viem": "2.23.7"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@aztec/accounts": "0.84.0-nightly.
|
|
91
|
-
"@aztec/ethereum": "0.84.0-nightly.
|
|
92
|
-
"@aztec/protocol-contracts": "0.84.0-nightly.
|
|
90
|
+
"@aztec/accounts": "0.84.0-nightly.20250409",
|
|
91
|
+
"@aztec/ethereum": "0.84.0-nightly.20250409",
|
|
92
|
+
"@aztec/protocol-contracts": "0.84.0-nightly.20250409",
|
|
93
93
|
"@jest/globals": "^29.5.0",
|
|
94
94
|
"@types/jest": "^29.5.0",
|
|
95
95
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
"typescript": "^5.0.4"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
|
-
"@aztec/accounts": "0.84.0-nightly.
|
|
109
|
-
"@aztec/bb-prover": "0.84.0-nightly.
|
|
110
|
-
"@aztec/ethereum": "0.84.0-nightly.
|
|
111
|
-
"@aztec/l1-artifacts": "0.84.0-nightly.
|
|
112
|
-
"@aztec/noir-contracts.js": "0.84.0-nightly.
|
|
113
|
-
"@aztec/noir-protocol-circuits-types": "0.84.0-nightly.
|
|
114
|
-
"@aztec/protocol-contracts": "0.84.0-nightly.
|
|
115
|
-
"@aztec/stdlib": "0.84.0-nightly.
|
|
108
|
+
"@aztec/accounts": "0.84.0-nightly.20250409",
|
|
109
|
+
"@aztec/bb-prover": "0.84.0-nightly.20250409",
|
|
110
|
+
"@aztec/ethereum": "0.84.0-nightly.20250409",
|
|
111
|
+
"@aztec/l1-artifacts": "0.84.0-nightly.20250409",
|
|
112
|
+
"@aztec/noir-contracts.js": "0.84.0-nightly.20250409",
|
|
113
|
+
"@aztec/noir-protocol-circuits-types": "0.84.0-nightly.20250409",
|
|
114
|
+
"@aztec/protocol-contracts": "0.84.0-nightly.20250409",
|
|
115
|
+
"@aztec/stdlib": "0.84.0-nightly.20250409"
|
|
116
116
|
},
|
|
117
117
|
"files": [
|
|
118
118
|
"dest",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LogFn } from '@aztec/foundation/log';
|
|
2
|
+
|
|
3
|
+
import { getSponsoredFPCAddress } from '../../utils/setup_contracts.js';
|
|
4
|
+
|
|
5
|
+
export async function getCanonicalSponsoredFPCAddress(log: LogFn) {
|
|
6
|
+
log(`Canonical SponsoredFPC Address: ${(await getSponsoredFPCAddress()).toString()}`);
|
|
7
|
+
}
|
package/src/cmds/misc/index.ts
CHANGED
|
@@ -77,6 +77,14 @@ export function injectCommands(program: Command, log: LogFn) {
|
|
|
77
77
|
generateSecretAndHash(log);
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
+
program
|
|
81
|
+
.command('get-canonical-sponsored-fpc-address')
|
|
82
|
+
.description('Gets the canonical SponsoredFPC address for this any testnet running on the same version as this CLI')
|
|
83
|
+
.action(async () => {
|
|
84
|
+
const { getCanonicalSponsoredFPCAddress } = await import('./get_canonical_sponsored_fpc_address.js');
|
|
85
|
+
await getCanonicalSponsoredFPCAddress(log);
|
|
86
|
+
});
|
|
87
|
+
|
|
80
88
|
program
|
|
81
89
|
.command('update')
|
|
82
90
|
.description('Updates Nodejs and Noir dependencies')
|