@cofhe/mock-contracts 0.1.1 → 0.2.1

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/foundry.toml CHANGED
@@ -4,4 +4,7 @@ out = "out"
4
4
  libs = ["node_modules"]
5
5
  auto_detect_remappings = false
6
6
 
7
+ [lint]
8
+ lint_on_build = false
9
+
7
10
  # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofhe/mock-contracts",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Mock smart contracts for testing CoFHE with FHE primitives locally",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -44,18 +44,18 @@
44
44
  "forge-std": "github:foundry-rs/forge-std",
45
45
  "tsup": "^8.0.2",
46
46
  "hardhat": "^2.24.1",
47
- "@cofhe/tsconfig": "0.1.0"
47
+ "@cofhe/sdk": "0.2.1",
48
+ "@cofhe/tsconfig": "0.1.1"
48
49
  },
49
50
  "publishConfig": {
50
51
  "access": "public"
51
52
  },
52
53
  "scripts": {
53
- "build": "forge build && npx tsx scripts/build-artifacts.ts && tsup",
54
- "test": "forge test -vvv",
54
+ "build": "forge build -q && npx tsx scripts/build-artifacts.ts && prettier --write src/*.ts && tsup",
55
+ "test": "forge build -q && forge test -vvv",
55
56
  "test:coverage": "forge coverage",
56
57
  "anvil": "anvil --code-size-limit 100000",
57
58
  "lint": "echo 'No linting configured for Solidity'",
58
- "type-check": "echo 'No type checking for Solidity'",
59
59
  "clean": "rm -rf out && rm -rf cache",
60
60
  "dev": "anvil --code-size-limit 100000"
61
61
  }