fix: use foundry reporter instead

This commit is contained in:
rymnc 2023-03-29 14:17:14 +05:30
parent ce78e2ca63
commit 155619c632
No known key found for this signature in database
GPG Key ID: C740033EE3F41EBD
5 changed files with 38 additions and 1095 deletions

View File

@ -56,5 +56,5 @@ jobs:
uses: zgosalvez/github-actions-report-lcov@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
coverage-files: coverage/lcov.info
coverage-files: lcov.info
artifact-name: code-coverage-report

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ artifacts
#Foundry files
cache_forge
out
lcov.info

View File

@ -9,7 +9,6 @@ import "@nomiclabs/hardhat-etherscan";
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-waffle";
import "hardhat-gas-reporter";
import "solidity-coverage";
dotenv.config();
const { SEPOLIA_URL, PRIVATE_KEY, ETHERSCAN_API_KEY } = process.env;

View File

@ -13,7 +13,7 @@
"deploy:sepolia": "yarn deploy sepolia",
"deploy:localhost": "yarn deploy localhost",
"verify:sepolia": "hardhat --network sepolia etherscan-verify",
"coverage": "hardhat coverage",
"coverage": "forge coverage --report lcov",
"fmt": "prettier --write \"**/*.{js,ts}\"",
"lint": "prettier --check \"**/*.{js,ts}\"",
"prepare": "husky install"
@ -34,7 +34,6 @@
"hardhat-gas-reporter": "^1.0.8",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.8.1",
"typescript": "^4.7.4"
},

1126
yarn.lock

File diff suppressed because it is too large Load Diff