aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-22 01:04:17 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-05-31 08:11:30 +0800
commit6d462fc961da2ba4d5502ad6b71654c1715550d9 (patch)
treeecdf0dcde1e42470d68f3c5c9ccb81bd7b23a522 /packages/contracts/test/exchange
parent4b71c65aea44bba34429e288c5411a090dd78071 (diff)
downloaddexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar.gz
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar.bz2
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar.lz
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar.xz
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.tar.zst
dexon-sol-tools-6d462fc961da2ba4d5502ad6b71654c1715550d9.zip
Remove TxOrigin signature type, modify whitelist to use Validator signature type
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/transactions.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/contracts/test/exchange/transactions.ts b/packages/contracts/test/exchange/transactions.ts
index fe6df2f75..294e3aae9 100644
--- a/packages/contracts/test/exchange/transactions.ts
+++ b/packages/contracts/test/exchange/transactions.ts
@@ -218,6 +218,10 @@ describe('Exchange transactions', () => {
txDefaults,
exchange.address,
);
+ const isApproved = true;
+ await exchange.approveSignatureValidator.sendTransactionAsync(whitelist.address, isApproved, {
+ from: takerAddress,
+ });
const defaultOrderParams = {
...constants.STATIC_ORDER_PARAMS,
senderAddress: whitelist.address,