diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-12-04 09:35:45 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-12-19 05:36:05 +0800 |
commit | 5863a29a913e6418c5ae9cbec146ad30c3eee6cc (patch) | |
tree | df78c08d5180568abc0095ba8226068c84cc0ce9 /packages/contracts/test | |
parent | df0de071841e2953f6843a86bbce4ecb3ad7b04f (diff) | |
download | dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar.gz dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar.bz2 dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar.lz dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar.xz dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.tar.zst dexon-sol-tools-5863a29a913e6418c5ae9cbec146ad30c3eee6cc.zip |
cleaning
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/extensions/compliant_forwarder.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/contracts/test/extensions/compliant_forwarder.ts b/packages/contracts/test/extensions/compliant_forwarder.ts index e995e5435..cc05f9981 100644 --- a/packages/contracts/test/extensions/compliant_forwarder.ts +++ b/packages/contracts/test/extensions/compliant_forwarder.ts @@ -221,9 +221,7 @@ describe.only(ContractName.CompliantForwarder, () => { const tx = await decoder.getTxWithDecodedLogsAsync(txHash); console.log(JSON.stringify(tx, null, 4)); console.log('****** MAKER ADDRESS = ', compliantSignedOrder.makerAddress); - - - /*const newBalances = await erc20Wrapper.getBalancesAsync(); + const newBalances = await erc20Wrapper.getBalancesAsync(); const makerAssetFillAmount = takerAssetFillAmount .times(compliantSignedOrder.makerAssetAmount) .dividedToIntegerBy(compliantSignedOrder.takerAssetAmount); @@ -253,7 +251,7 @@ describe.only(ContractName.CompliantForwarder, () => { ); expect(newBalances[feeRecipientAddress][zrxToken.address]).to.be.bignumber.equal( erc20Balances[feeRecipientAddress][zrxToken.address].add(makerFeePaid.add(takerFeePaid)), - );*/ + ); }); it('should revert if the signed transaction is not intended for fillOrder', async () => { // Create signed order without the fillOrder function selector |