Skip to content

Commit

Permalink
refactor: remove precompiles (#51)
Browse files Browse the repository at this point in the history
* refactor: remove precompiles

* chore: add more dirs in .gitignore file
  • Loading branch information
andreivladbrg authored Jan 29, 2025
1 parent 2d1ba19 commit 5b06824
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 80 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# directories
artifacts
artifacts-zk
broadcast
cache
cache_hardhat-zk
coverage
deployments
deployments-zk
docs
node_modules
out
out-optimized
typechain-types

# files
*.env
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"*.{json,md,yml}": "prettier --write"
"*.sol":
- "bun solhint {precompiles,script,src,tests}/**/*.sol --fix --noPrompt"
- "bun solhint {script,src,tests}/**/*.sol --fix --noPrompt"
- "forge fmt"
1 change: 0 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ coverage:
status:
patch: off
ignore:
- "precompiles"
- "script"
- "tests"
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"files": [
"artifacts",
"precompiles",
"src",
"tests/utils",
"CHANGELOG.md",
Expand Down Expand Up @@ -71,8 +70,8 @@
"clean": "rm -rf artifacts broadcast cache docs out out-optimized",
"lint": "bun run lint:sol && bun run prettier:check",
"lint:fix": "bun run lint:sol:fix && forge fmt",
"lint:sol": "forge fmt --check && bun solhint \"{precompiles,script,src,tests}/**/*.sol\"",
"lint:sol:fix": "bun solhint \"{precompiles,script,src,tests}/**/*.sol\" --fix --noPrompt",
"lint:sol": "forge fmt --check && bun solhint \"{script,src,tests}/**/*.sol\"",
"lint:sol:fix": "bun solhint \"{script,src,tests}/**/*.sol\" --fix --noPrompt",
"prepack": "bun install && bash ./shell/prepare-artifacts.sh",
"prepare": "husky",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
Expand Down
24 changes: 0 additions & 24 deletions precompiles/Precompiles.sol

This file was deleted.

27 changes: 0 additions & 27 deletions shell/update-precompiles.sh

This file was deleted.

24 changes: 0 additions & 24 deletions tests/utils/Precompiles.t.sol

This file was deleted.

0 comments on commit 5b06824

Please sign in to comment.