Skip to content

Commit

Permalink
Remove the TypeChain generation of the Safe Contract v1.4.1 for Ether…
Browse files Browse the repository at this point in the history
…s.js
  • Loading branch information
tmjssz committed Nov 29, 2023
1 parent 5e73d60 commit 48f2ed5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/protocol-kit/scripts/generateTypechainFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ function generateTypes(typechainTarget: string) {
generateTypechainFiles(
typechainTarget,
`${outDirSrc}${typechainTarget}/v1.4.1`,
safeContracts_V1_4_1
// removed Safe Contract v1.4.1 for ethers-v6
typechainTarget === 'ethers-v6'
? safeContracts_V1_4_1.replace(`${safeContractsPath}/v1.4.1/safe.json `, '')
: safeContracts_V1_4_1
)
generateTypechainFiles(
typechainTarget,
Expand Down

0 comments on commit 48f2ed5

Please sign in to comment.