@aztec/cli 5.0.0-nightly.20260629 → 5.0.0-nightly.20260630
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/commands.js +2 -2
- package/package.json +30 -30
- package/src/utils/commands.ts +2 -2
package/dest/utils/commands.js
CHANGED
|
@@ -62,7 +62,7 @@ export const logJson = (log)=>(obj)=>log(JSON.stringify(obj, null, 2));
|
|
|
62
62
|
let from;
|
|
63
63
|
if (_from) {
|
|
64
64
|
try {
|
|
65
|
-
from = AztecAddress.
|
|
65
|
+
from = AztecAddress.fromStringUnsafe(_from);
|
|
66
66
|
} catch {
|
|
67
67
|
throw new InvalidArgumentError(`Invalid option 'from' passed: ${_from}`);
|
|
68
68
|
}
|
|
@@ -138,7 +138,7 @@ export function parseBigint(bigint) {
|
|
|
138
138
|
* @throws InvalidArgumentError if the input string is not valid.
|
|
139
139
|
*/ export function parseAztecAddress(address) {
|
|
140
140
|
try {
|
|
141
|
-
return AztecAddress.
|
|
141
|
+
return AztecAddress.fromStringUnsafe(address);
|
|
142
142
|
} catch {
|
|
143
143
|
throw new InvalidArgumentError(`Invalid Aztec address: ${address}`);
|
|
144
144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli",
|
|
3
|
-
"version": "5.0.0-nightly.
|
|
3
|
+
"version": "5.0.0-nightly.20260630",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./contracts": "./dest/cmds/contracts/index.js",
|
|
@@ -77,23 +77,23 @@
|
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aztec/accounts": "5.0.0-nightly.
|
|
81
|
-
"@aztec/archiver": "5.0.0-nightly.
|
|
82
|
-
"@aztec/aztec.js": "5.0.0-nightly.
|
|
83
|
-
"@aztec/constants": "5.0.0-nightly.
|
|
84
|
-
"@aztec/entrypoints": "5.0.0-nightly.
|
|
85
|
-
"@aztec/ethereum": "5.0.0-nightly.
|
|
86
|
-
"@aztec/foundation": "5.0.0-nightly.
|
|
87
|
-
"@aztec/l1-artifacts": "5.0.0-nightly.
|
|
88
|
-
"@aztec/node-keystore": "5.0.0-nightly.
|
|
89
|
-
"@aztec/node-lib": "5.0.0-nightly.
|
|
90
|
-
"@aztec/p2p": "5.0.0-nightly.
|
|
91
|
-
"@aztec/protocol-contracts": "5.0.0-nightly.
|
|
92
|
-
"@aztec/sequencer-client": "5.0.0-nightly.
|
|
93
|
-
"@aztec/slasher": "5.0.0-nightly.
|
|
94
|
-
"@aztec/stdlib": "5.0.0-nightly.
|
|
95
|
-
"@aztec/wallets": "5.0.0-nightly.
|
|
96
|
-
"@aztec/world-state": "5.0.0-nightly.
|
|
80
|
+
"@aztec/accounts": "5.0.0-nightly.20260630",
|
|
81
|
+
"@aztec/archiver": "5.0.0-nightly.20260630",
|
|
82
|
+
"@aztec/aztec.js": "5.0.0-nightly.20260630",
|
|
83
|
+
"@aztec/constants": "5.0.0-nightly.20260630",
|
|
84
|
+
"@aztec/entrypoints": "5.0.0-nightly.20260630",
|
|
85
|
+
"@aztec/ethereum": "5.0.0-nightly.20260630",
|
|
86
|
+
"@aztec/foundation": "5.0.0-nightly.20260630",
|
|
87
|
+
"@aztec/l1-artifacts": "5.0.0-nightly.20260630",
|
|
88
|
+
"@aztec/node-keystore": "5.0.0-nightly.20260630",
|
|
89
|
+
"@aztec/node-lib": "5.0.0-nightly.20260630",
|
|
90
|
+
"@aztec/p2p": "5.0.0-nightly.20260630",
|
|
91
|
+
"@aztec/protocol-contracts": "5.0.0-nightly.20260630",
|
|
92
|
+
"@aztec/sequencer-client": "5.0.0-nightly.20260630",
|
|
93
|
+
"@aztec/slasher": "5.0.0-nightly.20260630",
|
|
94
|
+
"@aztec/stdlib": "5.0.0-nightly.20260630",
|
|
95
|
+
"@aztec/wallets": "5.0.0-nightly.20260630",
|
|
96
|
+
"@aztec/world-state": "5.0.0-nightly.20260630",
|
|
97
97
|
"@ethersproject/wallet": "^5.8.0",
|
|
98
98
|
"@iarna/toml": "^2.2.5",
|
|
99
99
|
"@libp2p/peer-id-factory": "^3.0.4",
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
"viem": "npm:@aztec/viem@2.38.2"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@aztec/aztec-node": "5.0.0-nightly.
|
|
111
|
-
"@aztec/kv-store": "5.0.0-nightly.
|
|
112
|
-
"@aztec/telemetry-client": "5.0.0-nightly.
|
|
110
|
+
"@aztec/aztec-node": "5.0.0-nightly.20260630",
|
|
111
|
+
"@aztec/kv-store": "5.0.0-nightly.20260630",
|
|
112
|
+
"@aztec/telemetry-client": "5.0.0-nightly.20260630",
|
|
113
113
|
"@jest/globals": "^30.0.0",
|
|
114
114
|
"@types/jest": "^30.0.0",
|
|
115
115
|
"@types/lodash.chunk": "^4.2.9",
|
|
@@ -126,15 +126,15 @@
|
|
|
126
126
|
"typescript": "^5.3.3"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
|
-
"@aztec/accounts": "5.0.0-nightly.
|
|
130
|
-
"@aztec/bb-prover": "5.0.0-nightly.
|
|
131
|
-
"@aztec/ethereum": "5.0.0-nightly.
|
|
132
|
-
"@aztec/l1-artifacts": "5.0.0-nightly.
|
|
133
|
-
"@aztec/noir-contracts.js": "5.0.0-nightly.
|
|
134
|
-
"@aztec/noir-protocol-circuits-types": "5.0.0-nightly.
|
|
135
|
-
"@aztec/noir-test-contracts.js": "5.0.0-nightly.
|
|
136
|
-
"@aztec/protocol-contracts": "5.0.0-nightly.
|
|
137
|
-
"@aztec/stdlib": "5.0.0-nightly.
|
|
129
|
+
"@aztec/accounts": "5.0.0-nightly.20260630",
|
|
130
|
+
"@aztec/bb-prover": "5.0.0-nightly.20260630",
|
|
131
|
+
"@aztec/ethereum": "5.0.0-nightly.20260630",
|
|
132
|
+
"@aztec/l1-artifacts": "5.0.0-nightly.20260630",
|
|
133
|
+
"@aztec/noir-contracts.js": "5.0.0-nightly.20260630",
|
|
134
|
+
"@aztec/noir-protocol-circuits-types": "5.0.0-nightly.20260630",
|
|
135
|
+
"@aztec/noir-test-contracts.js": "5.0.0-nightly.20260630",
|
|
136
|
+
"@aztec/protocol-contracts": "5.0.0-nightly.20260630",
|
|
137
|
+
"@aztec/stdlib": "5.0.0-nightly.20260630"
|
|
138
138
|
},
|
|
139
139
|
"files": [
|
|
140
140
|
"dest",
|
package/src/utils/commands.ts
CHANGED
|
@@ -101,7 +101,7 @@ export async function getTxSender(pxe: PXE, _from?: string) {
|
|
|
101
101
|
let from: AztecAddress;
|
|
102
102
|
if (_from) {
|
|
103
103
|
try {
|
|
104
|
-
from = AztecAddress.
|
|
104
|
+
from = AztecAddress.fromStringUnsafe(_from);
|
|
105
105
|
} catch {
|
|
106
106
|
throw new InvalidArgumentError(`Invalid option 'from' passed: ${_from}`);
|
|
107
107
|
}
|
|
@@ -195,7 +195,7 @@ export function parseFieldFromHexString(str: string): Fr {
|
|
|
195
195
|
*/
|
|
196
196
|
export function parseAztecAddress(address: string): AztecAddress {
|
|
197
197
|
try {
|
|
198
|
-
return AztecAddress.
|
|
198
|
+
return AztecAddress.fromStringUnsafe(address);
|
|
199
199
|
} catch {
|
|
200
200
|
throw new InvalidArgumentError(`Invalid Aztec address: ${address}`);
|
|
201
201
|
}
|