diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 16:05:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:51 +0800 |
commit | 14047f9c7be90bedcf0c3c4b7ce66eeb2e540923 (patch) | |
tree | 383e0b8c8042ef3131a86eeebdb45c1f38df75f8 /packages/contracts/test/exchange/signature_validator.ts | |
parent | f439f162d2105f80e678c47aac6dcc46c49edc0b (diff) | |
download | dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar.gz dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar.bz2 dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar.lz dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar.xz dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.tar.zst dexon-0x-contracts-14047f9c7be90bedcf0c3c4b7ce66eeb2e540923.zip |
Change import paths from z_r_x and e_r_c to zrx and erc. Also rename event args after templates change
Diffstat (limited to 'packages/contracts/test/exchange/signature_validator.ts')
-rw-r--r-- | packages/contracts/test/exchange/signature_validator.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts index 21cc343b3..87c4779f2 100644 --- a/packages/contracts/test/exchange/signature_validator.ts +++ b/packages/contracts/test/exchange/signature_validator.ts @@ -6,8 +6,8 @@ import { LogWithDecodedArgs } from 'ethereum-types'; import ethUtil = require('ethereumjs-util'); import { - SignatureValidatorApprovalContractEventArgs, TestSignatureValidatorContract, + TestSignatureValidatorSignatureValidatorApprovalEventArgs, } from '../../src/generated_contract_wrappers/test_signature_validator'; import { TestValidatorContract } from '../../src/generated_contract_wrappers/test_validator'; import { TestWalletContract } from '../../src/generated_contract_wrappers/test_wallet'; @@ -477,7 +477,7 @@ describe('MixinSignatureValidator', () => { ), ); expect(res.logs.length).to.equal(1); - const log = res.logs[0] as LogWithDecodedArgs<SignatureValidatorApprovalContractEventArgs>; + const log = res.logs[0] as LogWithDecodedArgs<TestSignatureValidatorSignatureValidatorApprovalEventArgs>; const logArgs = log.args; expect(logArgs.signerAddress).to.equal(signerAddress); expect(logArgs.validatorAddress).to.equal(testValidator.address); @@ -495,7 +495,7 @@ describe('MixinSignatureValidator', () => { ), ); expect(res.logs.length).to.equal(1); - const log = res.logs[0] as LogWithDecodedArgs<SignatureValidatorApprovalContractEventArgs>; + const log = res.logs[0] as LogWithDecodedArgs<TestSignatureValidatorSignatureValidatorApprovalEventArgs>; const logArgs = log.args; expect(logArgs.signerAddress).to.equal(signerAddress); expect(logArgs.validatorAddress).to.equal(testValidator.address); |