Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove precompiles #51

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading