diff --git a/foundry.toml b/foundry.toml index 4f3bf9f..19f9b5c 100644 --- a/foundry.toml +++ b/foundry.toml @@ -2,5 +2,5 @@ src = 'contracts' out = 'out' libs = ['node_modules', 'lib'] -test = 'test' +test = 'forge-test' cache_path = 'cache_forge' \ No newline at end of file diff --git a/package.json b/package.json index d070adf..9394cf9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,10 @@ "build": "npm run clean && npm run compile", "clean": "npx hardhat clean", "compile": "npx hardhat compile", - "test": "npx hardhat test" + "test": "npx hardhat test", + "forge:install": "forge install", + "forge:build": "forge build --via-ir", + "forge:test": "forge test --via-ir" }, "repository": { "type": "git", @@ -24,7 +27,7 @@ "dependencies": { "@connext/interfaces": "^2.0.5", "@openzeppelin/contracts": "^4.8.3" - }, + }, "devDependencies": { "@nomicfoundation/hardhat-foundry": "^1.0.1", "@nomicfoundation/hardhat-toolbox": "^2.0.2",