Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jør∂¡ <[email protected]>
  • Loading branch information
Rekard0 and brickpop authored Feb 7, 2025
1 parent ccf4d76 commit c0e13a4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion packages/artifacts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v1.4.0

## Added
### Added

- First NPM release of the Plugin's ABI (release 1, build 2)
2 changes: 1 addition & 1 deletion packages/artifacts/prepare-abi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ yarn install && yarn build
cd - > /dev/null

# Wipe the destination file
echo > $TARGET_ABI_FILE
echo "// NOTE: Do not edit this file. It is generated automatically and it will be eventually wiped." > $TARGET_ABI_FILE

# Extract the abi field and create a TS file
for SRC_CONTRACT_FILE in $(ls $CONTRACTS_FOLDER/src/*.sol )
Expand Down
7 changes: 2 additions & 5 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"docgen": "hardhat docgen",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
"clean": "rimraf ./artifacts ./cache ./coverage ./typechain ./coverage.json && yarn typechain",
"docs": "DOCS=true scripts/prepare-docs.sh",
"wagmi:generate": "wagmi generate"
"docs": "DOCS=true scripts/prepare-docs.sh"
},
"dependencies": {
"@aragon/osx-commons-contracts": "^1.4.0",
Expand Down Expand Up @@ -77,8 +76,6 @@
"tmp-promise": "^3.0.3",
"ts-node": "^10.9.1",
"typechain": "^8.3.2",
"typescript": "^5.2.2",
"@wagmi/cli": "^2.2.0",
"@wagmi/core": "^2.16.3"
"typescript": "^5.2.2"
}
}
1 change: 0 additions & 1 deletion packages/contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"exclude": ["node_modules"],
"files": ["./hardhat.config.ts"],
"include": [
"wagmi.config.ts",
"hardhat-zksync.config.ts",
"src/**/*",
"deploy/**/*",
Expand Down
14 changes: 0 additions & 14 deletions packages/contracts/wagmi.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +0,0 @@
import {defineConfig} from '@wagmi/cli';
import {hardhat} from '@wagmi/cli/plugins';

export default defineConfig({
// using abi instead of generated to avoid being ignored by git
out: 'generated/abis.ts',
plugins: [
hardhat({
project: './',
artifacts: 'artifacts/src',
exclude: ['**/test/**', '**/mocks/**'],
}),
],
});

0 comments on commit c0e13a4

Please sign in to comment.