File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ cp -r ../ethereum-contracts/typechain-types ./src/typechain-types
1818# Remove the Address export from typechain-types to avoid conflict with mappedSubgraphTypes
1919# OpenZeppelin v5 added a custom error to Address library, giving it a non-empty ABI
2020# This causes typechain to generate types for it, but it's not needed for the SDK
21- sed -i ' /export type { Address } from ".\/@openzeppelin\/contracts\/utils\/Address";/d' ./src/typechain-types/index.ts
22- sed -i ' /export { Address__factory } from ".\/factories\/@openzeppelin\/contracts\/utils\/Address__factory";/d' ./src/typechain-types/index.ts
21+ sed -i ' /export type { Address } from ".\/@openzeppelin-v5 \/contracts\/utils\/Address";/d' ./src/typechain-types/index.ts
22+ sed -i ' /export { Address__factory } from ".\/factories\/@openzeppelin-v5 \/contracts\/utils\/Address__factory";/d' ./src/typechain-types/index.ts
2323
2424# compile the typechain files in sdk-core
2525tsc -p tsconfig.typechain.json
You can’t perform that action at this time.
0 commit comments