@cartesi/devnet 1.7.0 → 2.0.0-alpha.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.
Files changed (31) hide show
  1. package/build/anvil_state.json +1 -1
  2. package/deployments/localhost/ApplicationFactory.json +227 -0
  3. package/deployments/localhost/AuthorityFactory.json +55 -44
  4. package/deployments/localhost/ERC1155BatchPortal.json +26 -26
  5. package/deployments/localhost/ERC1155SinglePortal.json +25 -25
  6. package/deployments/localhost/ERC20Portal.json +35 -23
  7. package/deployments/localhost/ERC721Portal.json +23 -23
  8. package/deployments/localhost/EtherPortal.json +21 -21
  9. package/deployments/localhost/InputBox.json +64 -58
  10. package/deployments/localhost/QuorumFactory.json +188 -0
  11. package/deployments/localhost/SafeERC20Transfer.json +118 -0
  12. package/deployments/localhost/SelfHostedApplicationFactory.json +71 -70
  13. package/deployments/localhost/TestMultiToken.json +7 -7
  14. package/deployments/localhost/TestNFT.json +7 -7
  15. package/deployments/localhost/TestToken.json +10 -10
  16. package/dist/deploy/04_4337.js +342 -0
  17. package/dist/src/aa/constants.d.ts +31 -0
  18. package/dist/src/aa/constants.d.ts.map +1 -0
  19. package/dist/src/aa/constants.js +65 -0
  20. package/dist/src/tasks/deploy-anvil.js +5 -3
  21. package/export/abi/localhost.json +231 -599
  22. package/package.json +9 -8
  23. package/build/anvil_state copy.json +0 -229
  24. package/deployments/localhost/AuthorityHistoryPairFactory.json +0 -276
  25. package/deployments/localhost/Bitmask.json +0 -44
  26. package/deployments/localhost/CartesiDAppFactory.json +0 -231
  27. package/deployments/localhost/CartesiMathV2.json +0 -213
  28. package/deployments/localhost/DAppAddressRelay.json +0 -102
  29. package/deployments/localhost/HistoryFactory.json +0 -177
  30. package/deployments/localhost/MerkleV2.json +0 -217
  31. package/deployments/localhost/UnrolledCordic.json +0 -54
@@ -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}`);