Skip to content

Commit

Permalink
Update packages and prettify the repository (#13)
Browse files Browse the repository at this point in the history
* Updated packages and prettified the repo

* Added @solarity/hardhat-zkit

* Added @solarity/chai-zkit

* Updated README

* Updated .solhintignore
  • Loading branch information
KyrylR authored Sep 10, 2024
1 parent 2e0ed54 commit bcd0aba
Show file tree
Hide file tree
Showing 13 changed files with 1,073 additions and 214 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache
artifacts
coverage.json
coverage
abi

# Typechain generated files
generated-types
Expand Down
11 changes: 6 additions & 5 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"reentrancy": "error",
"prettier/prettier": "warn",
"reentrancy": "off",
"modifier-name-mixedcase": "off",
"no-empty-blocks": "off",
"func-visibility": "off",
"max-states-count": "off",
"func-name-mixedcase": "off",
"no-empty-blocks": "warn",
"func-visibility": ["warn", { "ignoreConstructors": true }],
"max-states-count": "warn",
"not-rely-on-time": "off",
"compiler-version": "off"
"var-name-mixedcase": "off"
}
}
2 changes: 2 additions & 0 deletions .solhintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
./contracts/verifiers
# ./contracts/mock
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ npm run generate-types
- Hardhat official `ethers` + `ethers-v6`
- [`Typechain`](https://www.npmjs.com/package/@typechain/hardhat)
- [`hardhat-migrate`](https://www.npmjs.com/package/@solarity/hardhat-migrate), [`hardhat-markup`](https://www.npmjs.com/package/@solarity/hardhat-markup), [`hardhat-gobind`](https://www.npmjs.com/package/@solarity/hardhat-gobind)
- [`hardhat-zkit`](https://www.npmjs.com/package/@solarity/hardhat-zkit), [`chai-zkit`](https://www.npmjs.com/package/@solarity/chai-zkit)
- [`hardhat-contract-sizer`](https://www.npmjs.com/package/hardhat-contract-sizer)
- [`hardhat-gas-reporter`](https://www.npmjs.com/package/hardhat-gas-reporter)
- [`solidity-coverage`](https://www.npmjs.com/package/solidity-coverage)
Expand Down
7 changes: 7 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import "@nomicfoundation/hardhat-ethers";
import "@nomicfoundation/hardhat-chai-matchers";

import "@solarity/chai-zkit";
import "@solarity/hardhat-zkit";
import "@solarity/hardhat-migrate";
import "@solarity/hardhat-gobind";
import "@solarity/hardhat-markup";

import "@typechain/hardhat";

import "hardhat-contract-sizer";
import "hardhat-gas-reporter";

import "solidity-coverage";

import "tsconfig-paths/register";

import { HardhatUserConfig } from "hardhat/config";
Expand Down
Loading

0 comments on commit bcd0aba

Please sign in to comment.