aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-02-06 08:25:52 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:26:13 +0800
commit218876ac196a1b1bf7eba096a7bc6a2b3b8556bf (patch)
treef184e70d5fd6fe5b69cf3cc701f8d21b5918ef2c /packages/abi-gen
parent6cda67df101feab64abf43eeb4c6263ed103528c (diff)
downloaddexon-0x-contracts-218876ac196a1b1bf7eba096a7bc6a2b3b8556bf.tar.gz
dexon-0x-contracts-218876ac196a1b1bf7eba096a7bc6a2b3b8556bf.tar.zst
dexon-0x-contracts-218876ac196a1b1bf7eba096a7bc6a2b3b8556bf.zip
Fix artifacts path
Diffstat (limited to 'packages/abi-gen')
-rw-r--r--packages/abi-gen/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts
index b6aaa03ca..6b5119ca4 100644
--- a/packages/abi-gen/src/index.ts
+++ b/packages/abi-gen/src/index.ts
@@ -99,7 +99,7 @@ for (const abiFileName of abiFileNames) {
} else if (!_.isUndefined(parsedContent.abi)) {
ABI = parsedContent.abi; // Truffle artifact
} else if (!_.isUndefined(parsedContent.networks) && !_.isUndefined(parsedContent.networks[args.networkId])) {
- ABI = parsedContent.networks[args.networkId]; // 0x contracts package artifact
+ ABI = parsedContent.networks[args.networkId].abi; // 0x contracts package artifact
}
if (_.isUndefined(ABI)) {
utils.log(`${chalk.red(`ABI not found in ${abiFileName}.`)}`);