diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-04 16:09:08 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-04 16:09:08 +0800 |
commit | 7759e67a5a51a213e19083f63df13e80ea4aefa2 (patch) | |
tree | 9eedc8e87196c080787f0a6841bdb67199cbcfed /packages/contracts/test/utils | |
parent | 4d75689790075f734df9a2e3b80443c85e1ddc95 (diff) | |
download | dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.gz dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.zst dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.zip |
Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with caps
Diffstat (limited to 'packages/contracts/test/utils')
-rw-r--r-- | packages/contracts/test/utils/transaction_factory.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/utils/transaction_factory.ts b/packages/contracts/test/utils/transaction_factory.ts index 281c1e30d..8465a6a30 100644 --- a/packages/contracts/test/utils/transaction_factory.ts +++ b/packages/contracts/test/utils/transaction_factory.ts @@ -1,4 +1,4 @@ -import { EIP712Schema, EIP712Types, EIP712Utils, generatePseudoRandomSalt } from '@0xproject/order-utils'; +import { EIP712Schema, EIP712Types, eip712Utils, generatePseudoRandomSalt } from '@0xproject/order-utils'; import { SignatureType } from '@0xproject/types'; import * as ethUtil from 'ethereumjs-util'; @@ -31,11 +31,11 @@ export class TransactionFactory { signerAddress, data, }; - const executeTransactionHashBuff = EIP712Utils.structHash( + const executeTransactionHashBuff = eip712Utils.structHash( EIP712_ZEROEX_TRANSACTION_SCHEMA, executeTransactionData, ); - const txHash = EIP712Utils.createEIP712Message(executeTransactionHashBuff, this._exchangeAddress); + const txHash = eip712Utils.createEIP712Message(executeTransactionHashBuff, this._exchangeAddress); const signature = signingUtils.signMessage(txHash, this._privateKey, signatureType); const signedTx = { exchangeAddress: this._exchangeAddress, |