Skip to content

Commit

Permalink
generate ts files at top level
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Dec 6, 2023
1 parent c01197d commit a50a543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ try {

let exports = processRawJsonsAndPrepareExports()

// Generate wagmi friendly ts files
// Generate ts abi files
log('Running yarn wagmi generate')
child_process.execSync(`yarn wagmi generate`, { stdio: 'inherit' })

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for (const contractName of new Set(CoreContracts)) {

export default defineConfig(
contracts.map(({ name, abi }) => ({
out: path.join(ABIS_BUILD_DIR, `wagmi/${name}.ts`),
out: path.join(ABIS_BUILD_DIR, `${name}.ts`),
contracts: [{ name, abi }],
plugins: [],
}))
Expand Down

0 comments on commit a50a543

Please sign in to comment.