aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 07:03:44 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:34:45 +0800
commit0bad911a16dd2924e5be693710a422383aba4871 (patch)
tree7061d10b3958647e51644593cd7e0be890048576 /packages
parent6e87c9e7133d9250a861151545deb50122b16f30 (diff)
downloaddexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.gz
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.bz2
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.lz
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.xz
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.tar.zst
dexon-0x-contracts-0bad911a16dd2924e5be693710a422383aba4871.zip
Fix ABI error message
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/src/order_watcher/order_state_watcher.ts1
-rw-r--r--packages/abi-gen/src/index.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/0x.js/src/order_watcher/order_state_watcher.ts b/packages/0x.js/src/order_watcher/order_state_watcher.ts
index 9ff07b38d..e489dd5cc 100644
--- a/packages/0x.js/src/order_watcher/order_state_watcher.ts
+++ b/packages/0x.js/src/order_watcher/order_state_watcher.ts
@@ -25,7 +25,6 @@ import { TokenWrapper } from '../contract_wrappers/token_wrapper';
import { BalanceAndProxyAllowanceLazyStore } from '../stores/balance_proxy_allowance_lazy_store';
import { OrderFilledCancelledLazyStore } from '../stores/order_filled_cancelled_lazy_store';
import {
- BlockParamLiteral,
ContractEventArgs,
ExchangeContractErrs,
LogEvent,
diff --git a/packages/abi-gen/src/index.ts b/packages/abi-gen/src/index.ts
index 68beb2352..bc5a974a9 100644
--- a/packages/abi-gen/src/index.ts
+++ b/packages/abi-gen/src/index.ts
@@ -106,7 +106,9 @@ for (const abiFileName of abiFileNames) {
}
if (_.isUndefined(ABI)) {
utils.log(`${chalk.red(`ABI not found in ${abiFileName}.`)}`);
- utils.log(`Please make sure your ABI file is either an array with ABI entries or an object with the abi key`);
+ utils.log(
+ `Please make sure your ABI file is either an array with ABI entries or a truffle artifact or 0x deployer artifact`,
+ );
process.exit(1);
}