@aztec/cli 4.0.0-nightly.20260107 → 4.0.0-nightly.20260110

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.
@@ -0,0 +1,3 @@
1
+ import type { LogFn, Logger } from '@aztec/foundation/log';
2
+ export declare function getCurrentMinFee(nodeUrl: string, debugLogger: Logger, log: LogFn): Promise<void>;
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0X2N1cnJlbnRfbWluX2ZlZS5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NtZHMvYXp0ZWNfbm9kZS9nZXRfY3VycmVudF9taW5fZmVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sS0FBSyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUUzRCx3QkFBc0IsZ0JBQWdCLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxLQUFLLGlCQUl0RiJ9
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_current_min_fee.d.ts","sourceRoot":"","sources":["../../../src/cmds/aztec_node/get_current_min_fee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAItF"}
@@ -1,7 +1,7 @@
1
1
  import { createAztecNodeClient } from '@aztec/aztec.js/node';
2
2
  import { jsonStringify } from '@aztec/foundation/json-rpc';
3
- export async function getCurrentBaseFee(nodeUrl, debugLogger, log) {
3
+ export async function getCurrentMinFee(nodeUrl, debugLogger, log) {
4
4
  const node = createAztecNodeClient(nodeUrl);
5
- const fees = await node.getCurrentBaseFees();
5
+ const fees = await node.getCurrentMinFees();
6
6
  log(`Current fees: ${jsonStringify(fees)}`);
7
7
  }
@@ -4,9 +4,9 @@ export function injectCommands(program, log, debugLogger) {
4
4
  const { getBlock } = await import('./get_block.js');
5
5
  await getBlock(options.nodeUrl, blockNumber, log);
6
6
  });
7
- program.command('get-current-base-fee').description('Gets the current base fee.').addOption(nodeOption).action(async (options)=>{
8
- const { getCurrentBaseFee } = await import('./get_current_base_fee.js');
9
- await getCurrentBaseFee(options.rpcUrl, debugLogger, log);
7
+ program.command('get-current-min-fee').description('Gets the current base fee.').addOption(nodeOption).action(async (options)=>{
8
+ const { getCurrentMinFee } = await import('./get_current_min_fee.js');
9
+ await getCurrentMinFee(options.rpcUrl, debugLogger, log);
10
10
  });
11
11
  program.command('get-l1-to-l2-message-witness').description('Gets a L1 to L2 message witness.').requiredOption('-ca, --contract-address <address>', 'Aztec address of the contract.', parseAztecAddress).requiredOption('--message-hash <messageHash>', 'The L1 to L2 message hash.', parseField).requiredOption('--secret <secret>', 'The secret used to claim the L1 to L2 message', parseField).addOption(nodeOption).action(async ({ contractAddress, messageHash, secret, nodeUrl })=>{
12
12
  const { getL1ToL2MessageWitness } = await import('./get_l1_to_l2_message_witness.js');
@@ -205,7 +205,7 @@ export const testnetL2ChainConfig = {
205
205
  testAccounts: false,
206
206
  sponsoredFPC: true,
207
207
  p2pEnabled: true,
208
- disableTransactions: true,
208
+ disableTransactions: false,
209
209
  bootstrapNodes: [],
210
210
  minTxsPerBlock: 0,
211
211
  maxTxsPerBlock: 20,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli",
3
- "version": "4.0.0-nightly.20260107",
3
+ "version": "4.0.0-nightly.20260110",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./contracts": "./dest/cmds/contracts/index.js",
@@ -74,21 +74,21 @@
74
74
  ]
75
75
  },
76
76
  "dependencies": {
77
- "@aztec/accounts": "4.0.0-nightly.20260107",
78
- "@aztec/archiver": "4.0.0-nightly.20260107",
79
- "@aztec/aztec.js": "4.0.0-nightly.20260107",
80
- "@aztec/constants": "4.0.0-nightly.20260107",
81
- "@aztec/entrypoints": "4.0.0-nightly.20260107",
82
- "@aztec/ethereum": "4.0.0-nightly.20260107",
83
- "@aztec/foundation": "4.0.0-nightly.20260107",
84
- "@aztec/l1-artifacts": "4.0.0-nightly.20260107",
85
- "@aztec/node-keystore": "4.0.0-nightly.20260107",
86
- "@aztec/node-lib": "4.0.0-nightly.20260107",
87
- "@aztec/p2p": "4.0.0-nightly.20260107",
88
- "@aztec/protocol-contracts": "4.0.0-nightly.20260107",
89
- "@aztec/stdlib": "4.0.0-nightly.20260107",
90
- "@aztec/test-wallet": "4.0.0-nightly.20260107",
91
- "@aztec/world-state": "4.0.0-nightly.20260107",
77
+ "@aztec/accounts": "4.0.0-nightly.20260110",
78
+ "@aztec/archiver": "4.0.0-nightly.20260110",
79
+ "@aztec/aztec.js": "4.0.0-nightly.20260110",
80
+ "@aztec/constants": "4.0.0-nightly.20260110",
81
+ "@aztec/entrypoints": "4.0.0-nightly.20260110",
82
+ "@aztec/ethereum": "4.0.0-nightly.20260110",
83
+ "@aztec/foundation": "4.0.0-nightly.20260110",
84
+ "@aztec/l1-artifacts": "4.0.0-nightly.20260110",
85
+ "@aztec/node-keystore": "4.0.0-nightly.20260110",
86
+ "@aztec/node-lib": "4.0.0-nightly.20260110",
87
+ "@aztec/p2p": "4.0.0-nightly.20260110",
88
+ "@aztec/protocol-contracts": "4.0.0-nightly.20260110",
89
+ "@aztec/stdlib": "4.0.0-nightly.20260110",
90
+ "@aztec/test-wallet": "4.0.0-nightly.20260110",
91
+ "@aztec/world-state": "4.0.0-nightly.20260110",
92
92
  "@ethersproject/wallet": "^5.8.0",
93
93
  "@iarna/toml": "^2.2.5",
94
94
  "@libp2p/peer-id-factory": "^3.0.4",
@@ -102,9 +102,9 @@
102
102
  "viem": "npm:@aztec/viem@2.38.2"
103
103
  },
104
104
  "devDependencies": {
105
- "@aztec/aztec-node": "4.0.0-nightly.20260107",
106
- "@aztec/kv-store": "4.0.0-nightly.20260107",
107
- "@aztec/telemetry-client": "4.0.0-nightly.20260107",
105
+ "@aztec/aztec-node": "4.0.0-nightly.20260110",
106
+ "@aztec/kv-store": "4.0.0-nightly.20260110",
107
+ "@aztec/telemetry-client": "4.0.0-nightly.20260110",
108
108
  "@jest/globals": "^30.0.0",
109
109
  "@types/jest": "^30.0.0",
110
110
  "@types/lodash.chunk": "^4.2.9",
@@ -121,15 +121,15 @@
121
121
  "typescript": "^5.3.3"
122
122
  },
123
123
  "peerDependencies": {
124
- "@aztec/accounts": "4.0.0-nightly.20260107",
125
- "@aztec/bb-prover": "4.0.0-nightly.20260107",
126
- "@aztec/ethereum": "4.0.0-nightly.20260107",
127
- "@aztec/l1-artifacts": "4.0.0-nightly.20260107",
128
- "@aztec/noir-contracts.js": "4.0.0-nightly.20260107",
129
- "@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20260107",
130
- "@aztec/noir-test-contracts.js": "4.0.0-nightly.20260107",
131
- "@aztec/protocol-contracts": "4.0.0-nightly.20260107",
132
- "@aztec/stdlib": "4.0.0-nightly.20260107"
124
+ "@aztec/accounts": "4.0.0-nightly.20260110",
125
+ "@aztec/bb-prover": "4.0.0-nightly.20260110",
126
+ "@aztec/ethereum": "4.0.0-nightly.20260110",
127
+ "@aztec/l1-artifacts": "4.0.0-nightly.20260110",
128
+ "@aztec/noir-contracts.js": "4.0.0-nightly.20260110",
129
+ "@aztec/noir-protocol-circuits-types": "4.0.0-nightly.20260110",
130
+ "@aztec/noir-test-contracts.js": "4.0.0-nightly.20260110",
131
+ "@aztec/protocol-contracts": "4.0.0-nightly.20260110",
132
+ "@aztec/stdlib": "4.0.0-nightly.20260110"
133
133
  },
134
134
  "files": [
135
135
  "dest",
@@ -2,8 +2,8 @@ import { createAztecNodeClient } from '@aztec/aztec.js/node';
2
2
  import { jsonStringify } from '@aztec/foundation/json-rpc';
3
3
  import type { LogFn, Logger } from '@aztec/foundation/log';
4
4
 
5
- export async function getCurrentBaseFee(nodeUrl: string, debugLogger: Logger, log: LogFn) {
5
+ export async function getCurrentMinFee(nodeUrl: string, debugLogger: Logger, log: LogFn) {
6
6
  const node = createAztecNodeClient(nodeUrl);
7
- const fees = await node.getCurrentBaseFees();
7
+ const fees = await node.getCurrentMinFees();
8
8
  log(`Current fees: ${jsonStringify(fees)}`);
9
9
  }
@@ -25,12 +25,12 @@ export function injectCommands(program: Command, log: LogFn, debugLogger: Logger
25
25
  });
26
26
 
27
27
  program
28
- .command('get-current-base-fee')
28
+ .command('get-current-min-fee')
29
29
  .description('Gets the current base fee.')
30
30
  .addOption(nodeOption)
31
31
  .action(async options => {
32
- const { getCurrentBaseFee } = await import('./get_current_base_fee.js');
33
- await getCurrentBaseFee(options.rpcUrl, debugLogger, log);
32
+ const { getCurrentMinFee } = await import('./get_current_min_fee.js');
33
+ await getCurrentMinFee(options.rpcUrl, debugLogger, log);
34
34
  });
35
35
 
36
36
  program
@@ -308,7 +308,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
308
308
  testAccounts: false,
309
309
  sponsoredFPC: true,
310
310
  p2pEnabled: true,
311
- disableTransactions: true,
311
+ disableTransactions: false,
312
312
  bootstrapNodes: [],
313
313
  minTxsPerBlock: 0,
314
314
  maxTxsPerBlock: 20,
@@ -1,3 +0,0 @@
1
- import type { LogFn, Logger } from '@aztec/foundation/log';
2
- export declare function getCurrentBaseFee(nodeUrl: string, debugLogger: Logger, log: LogFn): Promise<void>;
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0X2N1cnJlbnRfYmFzZV9mZWUuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jbWRzL2F6dGVjX25vZGUvZ2V0X2N1cnJlbnRfYmFzZV9mZWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxLQUFLLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRTNELHdCQUFzQixpQkFBaUIsQ0FBQyxPQUFPLEVBQUUsTUFBTSxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsR0FBRyxFQUFFLEtBQUssaUJBSXZGIn0=
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_current_base_fee.d.ts","sourceRoot":"","sources":["../../../src/cmds/aztec_node/get_current_base_fee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,iBAIvF"}