diff --git a/packages/1155-contracts/package.json b/packages/1155-contracts/package.json index 6621b5c83..b54d00e11 100644 --- a/packages/1155-contracts/package.json +++ b/packages/1155-contracts/package.json @@ -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", diff --git a/packages/1155-contracts/wagmi.config.ts b/packages/1155-contracts/wagmi.config.ts index 2d0133b17..321a69a31 100644 --- a/packages/1155-contracts/wagmi.config.ts +++ b/packages/1155-contracts/wagmi.config.ts @@ -107,6 +107,9 @@ export default defineConfig({ plugins: [ foundry({ deployments: getAddresses(), + forge: { + build: false, + }, include: contractFilesToInclude.map( (contractName) => `${contractName}.json` ),