Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
fix: remove unused files & modify script/configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubpark committed Jan 27, 2024
1 parent 3c4f3b9 commit 011d305
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 833 deletions.
18 changes: 8 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@ snapshot :; forge snapshot

slither :; slither ./contracts

format :; npx prettier --write contracts/**/*.sol && npx prettier --write contracts/*.sol
# glob doesn't work for nested folders, so we do it manually
format:
npx prettier --write contracts/*.sol
npx prettier --write contracts/**/*.sol
npx prettier --write contracts/**/**/*.sol
npx prettier --write contracts/**/**/**/*.sol
npx prettier --write contracts/**/**/**/**/*.sol

coverage:
mkdir -p coverage
forge coverage --report lcov --fork-url https://rpc.ankr.com/eth --fork-block-number 19042069
lcov --remove lcov.info -o lcov.info 'test/*'
lcov --remove lcov.info -o lcov.info 'test/*' 'script/*' 'contracts/mocks/*'
genhtml lcov.info --output-dir coverage

abi:
Expand Down Expand Up @@ -77,11 +83,3 @@ deploy-tenderly:
rm -rf deployments/hardhat/*.json
npx hardhat run script/hardhat/post-deployment/99-revert-chain.ts --network tenderly
npx hardhat run script/hardhat/deployment/00-deploy-main.ts --network tenderly

verify-access-controller:
forge verify-contract \
--chain sepolia \
--etherscan-api-key ${ETHERSCAN_API_KEY} \
--watch 0xB76441f5802DBfA7244C904871F3747E371C3C78 \
--libraries contracts/lib/registries/IPAccountChecker.sol:IPAccountChecker:0x4a2C3Fb88aCe93224A496749Ff6c5D4Ef6Db443b \
contracts/AccessController.sol:AccessController
72 changes: 0 additions & 72 deletions hardhat.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ const COINMARKETCAP_API_KEY = process.env.COINMARKETCAP_API_KEY || "key"
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.8.18",
},
{
version: "0.8.23",
},
Expand Down
Loading

0 comments on commit 011d305

Please sign in to comment.