Skip to content

Commit

Permalink
Make fast wagmi abi generation
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Oct 24, 2023
1 parent edb0ba0 commit 0efa3b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/1155-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "tsup",
"build:sizes": "forge build --sizes",
"bundle-configs": "node script/bundle-chainConfigs.mjs && yarn prettier",
"wagmi": "wagmi generate",
"wagmi": "FOUNDRY_PROFILE=dev forge build && wagmi generate",
"storage-inspect:check": "./script/storage-check.sh check ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"storage-inspect:generate": "./script/storage-check.sh generate ZoraCreator1155Impl ZoraCreator1155FactoryImpl",
"js-test:watch": "vitest dev",
Expand Down
3 changes: 3 additions & 0 deletions packages/1155-contracts/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ export default defineConfig({
plugins: [
foundry({
deployments: getAddresses(),
forge: {
build: false,
},
include: contractFilesToInclude.map(
(contractName) => `${contractName}.json`
),
Expand Down

0 comments on commit 0efa3b7

Please sign in to comment.