mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
TC-106 add contracts coverage
This commit is contained in:
parent
370e3892a6
commit
d6a1df502f
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,3 +5,6 @@ cache
|
||||
artifacts
|
||||
src/types
|
||||
.vscode
|
||||
coverage
|
||||
coverage.json
|
||||
|
||||
|
@ -5,4 +5,6 @@ artifacts-ovm
|
||||
cache
|
||||
cache-ovm
|
||||
contracts/Verifier*.sol
|
||||
src/types
|
||||
src/types
|
||||
coverage
|
||||
coverage.json
|
@ -19,6 +19,7 @@ yarn
|
||||
yarn download
|
||||
yarn build
|
||||
yarn test
|
||||
yarn coverage
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
@ -3,6 +3,7 @@ require('@typechain/hardhat')
|
||||
require('@nomiclabs/hardhat-ethers')
|
||||
require('@nomiclabs/hardhat-waffle')
|
||||
require('@nomiclabs/hardhat-etherscan')
|
||||
require('solidity-coverage')
|
||||
require('dotenv').config()
|
||||
|
||||
task('hasher', 'Compile Poseidon hasher', () => {
|
||||
|
@ -15,6 +15,7 @@
|
||||
"build": "npm run circuit && npm run compile",
|
||||
"deploy": "npx hardhat run scripts/deploy.js --network optimism",
|
||||
"test": "npx hardhat test",
|
||||
"coverage": "npx hardhat coverage",
|
||||
"eslint": "eslint --ext .js --ignore-path .gitignore .",
|
||||
"prettier:check": "prettier --check . --config .prettierrc",
|
||||
"prettier:fix": "prettier --write . --config .prettierrc",
|
||||
@ -58,6 +59,7 @@
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"prettier": "^2.3.1",
|
||||
"prettier-plugin-solidity": "^1.0.0-beta.13",
|
||||
"solhint-plugin-prettier": "^0.0.5"
|
||||
"solhint-plugin-prettier": "^0.0.5",
|
||||
"solidity-coverage": "^0.7.21"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user