diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-28 05:51:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-28 06:42:49 +0800 |
commit | b6a133cc641617bd1099ec00c62a749f548316b7 (patch) | |
tree | c230cabe28d467a9b4299c6b57b299d4152bd645 /packages/contracts/test/token_transfer_proxy | |
parent | 7aa070f9eaef734274df6e6eaa4590fe30d52899 (diff) | |
download | dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar.gz dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar.bz2 dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar.lz dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar.xz dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.tar.zst dexon-0x-contracts-b6a133cc641617bd1099ec00c62a749f548316b7.zip |
Improve an error message when an inorrect number of constructor params is passed
Diffstat (limited to 'packages/contracts/test/token_transfer_proxy')
-rw-r--r-- | packages/contracts/test/token_transfer_proxy/transfer_from.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/token_transfer_proxy/transfer_from.ts b/packages/contracts/test/token_transfer_proxy/transfer_from.ts index 6b86a0e97..a77590288 100644 --- a/packages/contracts/test/token_transfer_proxy/transfer_from.ts +++ b/packages/contracts/test/token_transfer_proxy/transfer_from.ts @@ -38,7 +38,7 @@ describe('TokenTransferProxy', () => { tokenTransferProxyInstance.abi, tokenTransferProxyInstance.address, ); - const repInstance = await deployer.deployAsync(ContractName.DummyToken); + const repInstance = await deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS); rep = new DummyTokenContract(web3Wrapper, repInstance.abi, repInstance.address); dmyBalances = new Balances([rep], [accounts[0], accounts[1]]); |