diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2019-02-02 06:55:36 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2019-02-06 01:23:09 +0800 |
commit | 1ada6796631ad4e281423407f6eb2602a16f119e (patch) | |
tree | 68739c29fe58c5959ae8c04623d7e94a171ce0ac /packages/order-utils/test/eip712_utils_test.ts | |
parent | 95526767836c81949213da7e1c44d4e02fdffc71 (diff) | |
download | dexon-0x-contracts-1ada6796631ad4e281423407f6eb2602a16f119e.tar.gz dexon-0x-contracts-1ada6796631ad4e281423407f6eb2602a16f119e.tar.zst dexon-0x-contracts-1ada6796631ad4e281423407f6eb2602a16f119e.zip |
Update ZeroExTransactionSchema
Diffstat (limited to 'packages/order-utils/test/eip712_utils_test.ts')
-rw-r--r-- | packages/order-utils/test/eip712_utils_test.ts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/packages/order-utils/test/eip712_utils_test.ts b/packages/order-utils/test/eip712_utils_test.ts index a54e49958..fb9388fcc 100644 --- a/packages/order-utils/test/eip712_utils_test.ts +++ b/packages/order-utils/test/eip712_utils_test.ts @@ -29,14 +29,12 @@ describe('EIP712 Utils', () => { }); describe('createTypedData', () => { it('adds in the EIP712DomainSeparator', () => { - const typedData = eip712Utils.createZeroExTransactionTypedData( - { - salt: new BigNumber('0'), - data: constants.NULL_BYTES, - signerAddress: constants.NULL_ADDRESS, - }, - constants.NULL_ADDRESS, - ); + const typedData = eip712Utils.createZeroExTransactionTypedData({ + salt: new BigNumber('0'), + data: constants.NULL_BYTES, + signerAddress: constants.NULL_ADDRESS, + verifyingContractAddress: constants.NULL_ADDRESS, + }); expect(typedData.primaryType).to.eq(constants.EIP712_ZEROEX_TRANSACTION_SCHEMA.name); expect(typedData.types.EIP712Domain).to.not.be.undefined(); }); |