@cartesi/devnet 1.6.0 → 1.8.0

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.
@@ -14,9 +14,11 @@ const deploy = async (taskArgs, hre) => {
14
14
  fs_1.default.mkdirSync(path_1.default.dirname(dumpFile), { recursive: true });
15
15
  fs_1.default.mkdirSync(path_1.default.dirname(exportFile), { recursive: true });
16
16
  // run anvil
17
- const anvil = (0, child_process_1.spawn)("anvil", ["--dump-state", dumpFile], {
18
- stdio: silent ? "pipe" : "inherit",
19
- });
17
+ const args = ["--dump-state", dumpFile];
18
+ if (silent) {
19
+ args.push("--silent");
20
+ }
21
+ const anvil = (0, child_process_1.spawn)("anvil", args, { stdio: "inherit" });
20
22
  try {
21
23
  // run deployment
22
24
  console.log(`deploying to anvil and dumping state to ${dumpFile}`);
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "@cartesi/devnet",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "license": "Apache-2.0",
5
5
  "devDependencies": {
6
- "@nomicfoundation/hardhat-viem": "^2.0.1",
7
- "@safe-global/safe-singleton-factory": "^1.0.23",
8
6
  "@cartesi/rollups": "^1.4.0",
9
- "hardhat": "^2.22.3",
7
+ "@nomicfoundation/hardhat-viem": "^2.0.3",
8
+ "@safe-global/safe-singleton-factory": "^1.0.28",
9
+ "@types/node": "^20.14.10",
10
+ "hardhat": "^2.22.6",
10
11
  "hardhat-abi-exporter": "^2",
11
- "hardhat-deploy": "^0.12.2",
12
+ "hardhat-deploy": "^0.12.4",
12
13
  "npm-run-all": "^4",
13
- "rimraf": "^5",
14
- "typescript": "^5.4.5",
14
+ "rimraf": "^5.0.8",
15
+ "typescript": "^5.5.3",
16
+ "viem": "^2.17.5",
15
17
  "tsconfig": "0.0.0"
16
18
  },
17
19
  "dependencies": {