aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-21 05:29:30 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-22 07:09:38 +0800
commit6a073d5f866665c43ab57d7246c7ea693264ed88 (patch)
treed2afe25bc8d599c243b44e9c4542ee18bf2cbb68 /packages/contracts/test
parentc7159b2be443ff3cc123472afbce9b443cdee2d5 (diff)
downloaddexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar
dexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.gz
dexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.bz2
dexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.lz
dexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.xz
dexon-sol-tools-6a073d5f866665c43ab57d7246c7ea693264ed88.tar.zst
dexon-sol-tools-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.ts2
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);