aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_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/token_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/token_wrapper_test.ts')
-rw-r--r--test/token_wrapper_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index 17f4ac875..50f2db2ac 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -19,7 +19,7 @@ import {
} from '../src';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
import {TokenUtils} from './utils/token_utils';
-import {DoneCallback} from '../src/types';
+import {DoneCallback, BlockParamLiteral} from '../src/types';
chaiSetup.configure();
const expect = chai.expect;
@@ -421,8 +421,8 @@ describe('TokenWrapper', () => {
let tokenAddress: string;
let tokenTransferProxyAddress: string;
const subscriptionOpts: SubscriptionOpts = {
- fromBlock: 'earliest',
- toBlock: 'latest',
+ fromBlock: BlockParamLiteral.Earliest,
+ toBlock: BlockParamLiteral.Latest,
};
let txHash: string;
before(async () => {