@aztec/ethereum 3.0.0-nightly.20251207 → 3.0.0-nightly.20251209

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.
@@ -6,7 +6,7 @@ import { EthAddress } from '@aztec/foundation/eth-address';
6
6
  import { jsonStringify } from '@aztec/foundation/json-rpc';
7
7
  import { createLogger } from '@aztec/foundation/log';
8
8
  import { DateProvider } from '@aztec/foundation/timer';
9
- import { mkdir, writeFile } from 'fs/promises';
9
+ import fs from 'fs';
10
10
  import chunk from 'lodash.chunk';
11
11
  import { concatHex, encodeAbiParameters, encodeDeployData, encodeFunctionData, getAddress, getContract, getContractAddress, numberToHex, padHex } from 'viem';
12
12
  import { foundry } from 'viem/chains';
@@ -561,7 +561,7 @@ const getZkPassportVerifierAddress = async (deployer, args)=>{
561
561
  const date = new Date();
562
562
  const formattedDate = date.toISOString().slice(2, 19).replace(/[-T:]/g, '');
563
563
  // Ensure the verification output directory exists
564
- await mkdir(outputDirectory, {
564
+ await fs.promises.mkdir(outputDirectory, {
565
565
  recursive: true
566
566
  });
567
567
  const suffix = filenameSuffix ? `-${filenameSuffix}` : '';
@@ -572,7 +572,7 @@ const getZkPassportVerifierAddress = async (deployer, args)=>{
572
572
  network: networkName,
573
573
  records: deployer.verificationRecords
574
574
  };
575
- await writeFile(verificationOutputPath, JSON.stringify(verificationData, null, 2));
575
+ await fs.promises.writeFile(verificationOutputPath, JSON.stringify(verificationData, null, 2));
576
576
  logger.info(`Wrote L1 verification data to ${verificationOutputPath}`);
577
577
  } catch (e) {
578
578
  logger.warn(`Failed to write L1 verification data file: ${String(e)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/ethereum",
3
- "version": "3.0.0-nightly.20251207",
3
+ "version": "3.0.0-nightly.20251209",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -31,10 +31,10 @@
31
31
  "../package.common.json"
32
32
  ],
33
33
  "dependencies": {
34
- "@aztec/blob-lib": "3.0.0-nightly.20251207",
35
- "@aztec/constants": "3.0.0-nightly.20251207",
36
- "@aztec/foundation": "3.0.0-nightly.20251207",
37
- "@aztec/l1-artifacts": "3.0.0-nightly.20251207",
34
+ "@aztec/blob-lib": "3.0.0-nightly.20251209",
35
+ "@aztec/constants": "3.0.0-nightly.20251209",
36
+ "@aztec/foundation": "3.0.0-nightly.20251209",
37
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251209",
38
38
  "@viem/anvil": "^0.0.10",
39
39
  "dotenv": "^16.0.3",
40
40
  "lodash.chunk": "^4.2.0",
@@ -10,7 +10,7 @@ import { DateProvider } from '@aztec/foundation/timer';
10
10
  import { RollupAbi } from '@aztec/l1-artifacts/RollupAbi';
11
11
 
12
12
  import type { Abi, Narrow } from 'abitype';
13
- import { mkdir, writeFile } from 'fs/promises';
13
+ import fs from 'fs';
14
14
  import chunk from 'lodash.chunk';
15
15
  import {
16
16
  type Chain,
@@ -719,7 +719,7 @@ async function writeVerificationJson(
719
719
  const date = new Date();
720
720
  const formattedDate = date.toISOString().slice(2, 19).replace(/[-T:]/g, '');
721
721
  // Ensure the verification output directory exists
722
- await mkdir(outputDirectory, { recursive: true });
722
+ await fs.promises.mkdir(outputDirectory, { recursive: true });
723
723
  const suffix = filenameSuffix ? `-${filenameSuffix}` : '';
724
724
  const verificationOutputPath = `${outputDirectory}/l1-verify${suffix}-${chainId}-${formattedDate.slice(0, 6)}-${formattedDate.slice(6)}.json`;
725
725
  const networkName = getActiveNetworkName();
@@ -728,7 +728,7 @@ async function writeVerificationJson(
728
728
  network: networkName,
729
729
  records: deployer.verificationRecords,
730
730
  };
731
- await writeFile(verificationOutputPath, JSON.stringify(verificationData, null, 2));
731
+ await fs.promises.writeFile(verificationOutputPath, JSON.stringify(verificationData, null, 2));
732
732
  logger.info(`Wrote L1 verification data to ${verificationOutputPath}`);
733
733
  } catch (e) {
734
734
  logger.warn(`Failed to write L1 verification data file: ${String(e)}`);