aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 18:07:01 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 18:07:01 +0800
commit292aab9b1820a3eae52089e92672f12d5dfe1899 (patch)
tree154a40a5e9861c8fc6f962a76d2ea97e3c66401f /test/exchange_wrapper_test.ts
parent637183e4b214cc7a215ebf83d18c1a65263d8e7e (diff)
downloaddexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar.gz
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar.bz2
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar.lz
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar.xz
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.tar.zst
dexon-sol-tools-292aab9b1820a3eae52089e92672f12d5dfe1899.zip
Use BlockParamLiteral types
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 371f96954..afc33f1f4 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -21,7 +21,7 @@ import {
OrderFillOrKillRequest,
LogEvent,
} from '../src';
-import {DoneCallback} from '../src/types';
+import {DoneCallback, BlockParamLiteral} from '../src/types';
import {FillScenarios} from './utils/fill_scenarios';
import {TokenUtils} from './utils/token_utils';
import {assert} from '../src/utils/assert';
@@ -752,8 +752,8 @@ describe('ExchangeWrapper', () => {
const fillableAmount = new BigNumber(5);
const shouldThrowOnInsufficientBalanceOrAllowance = true;
const subscriptionOpts: SubscriptionOpts = {
- fromBlock: 'earliest',
- toBlock: 'latest',
+ fromBlock: BlockParamLiteral.Earliest,
+ toBlock: BlockParamLiteral.Latest,
};
let txHash: string;
before(async () => {