From d2231296c8d7959b1169f09315a36c717206346d Mon Sep 17 00:00:00 2001 From: bz888 Date: Tue, 12 Sep 2023 10:38:41 +1200 Subject: [PATCH] fix templates path --- packages/common-ethereum/src/codegen/codegen-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common-ethereum/src/codegen/codegen-controller.ts b/packages/common-ethereum/src/codegen/codegen-controller.ts index a45c804c0a..3455dddde7 100644 --- a/packages/common-ethereum/src/codegen/codegen-controller.ts +++ b/packages/common-ethereum/src/codegen/codegen-controller.ts @@ -10,7 +10,7 @@ import {runTypeChain, glob, parseContractPath} from 'typechain'; import {CUSTOM_EVM_HANDLERS} from './constants'; import {loadReadAbi} from './utils'; -const ABI_INTERFACE_TEMPLATE_PATH = path.resolve(__dirname, '../templates/abi-interface.ts.ejs'); +const ABI_INTERFACE_TEMPLATE_PATH = path.resolve(__dirname, '../../templates/abi-interface.ts.ejs'); const ABI_INTERFACES_ROOT_DIR = 'src/types/abi-interfaces'; const CONTRACTS_DIR = 'src/types/contracts'; //generated const TYPECHAIN_TARGET = 'ethers-v5';