diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-21 05:29:30 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-22 07:09:38 +0800 |
commit | 6a073d5f866665c43ab57d7246c7ea693264ed88 (patch) | |
tree | d2afe25bc8d599c243b44e9c4542ee18bf2cbb68 /packages/contracts/test | |
parent | c7159b2be443ff3cc123472afbce9b443cdee2d5 (diff) | |
download | dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.gz dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.bz2 dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.lz dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.xz dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.zst dexon-0x-contracts-6a073d5f866665c43ab57d7246c7ea693264ed88.zip |
Add senderAddress to Fill and Cancel logs, add comments to events and types
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/exchange/core.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts index ea37a1e99..89a1c6492 100644 --- a/packages/contracts/test/exchange/core.ts +++ b/packages/contracts/test/exchange/core.ts @@ -399,6 +399,7 @@ describe('Exchange core', () => { expect(signedOrder.makerAddress).to.be.equal(logArgs.makerAddress); expect(takerAddress).to.be.equal(logArgs.takerAddress); + expect(takerAddress).to.be.equal(logArgs.senderAddress); expect(signedOrder.feeRecipientAddress).to.be.equal(logArgs.feeRecipientAddress); expect(signedOrder.makerAssetData).to.be.equal(logArgs.makerAssetData); expect(signedOrder.takerAssetData).to.be.equal(logArgs.takerAssetData); @@ -577,6 +578,7 @@ describe('Exchange core', () => { const logArgs = log.args; expect(signedOrder.makerAddress).to.be.equal(logArgs.makerAddress); + expect(signedOrder.makerAddress).to.be.equal(logArgs.senderAddress); expect(signedOrder.feeRecipientAddress).to.be.equal(logArgs.feeRecipientAddress); expect(signedOrder.makerAssetData).to.be.equal(logArgs.makerAssetData); expect(signedOrder.takerAssetData).to.be.equal(logArgs.takerAssetData); |