diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-03 20:32:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 20:32:38 +0800 |
commit | 0e690608d39c010740d9fdb9d8e6c12d7e6c4e80 (patch) | |
tree | e03b85876abc0de57755575287b89a79e7824296 /packages/metacoin | |
parent | 518a2da0275632a5dd61f99a105163ff5a074927 (diff) | |
parent | 09e921a562bea4fa80ec19ce7a9061bbcffbd580 (diff) | |
download | dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.gz dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.bz2 dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.lz dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.xz dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.zst dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.zip |
Merge pull request #782 from 0xProject/feature/contract-wrappers-v2
@0xproject/contract-wrappers V2 refactor. Part 1
Diffstat (limited to 'packages/metacoin')
-rw-r--r-- | packages/metacoin/test/metacoin_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/metacoin/test/metacoin_test.ts b/packages/metacoin/test/metacoin_test.ts index 89c2c3b4c..803e5f786 100644 --- a/packages/metacoin/test/metacoin_test.ts +++ b/packages/metacoin/test/metacoin_test.ts @@ -5,7 +5,7 @@ import * as chai from 'chai'; import { LogWithDecodedArgs } from 'ethereum-types'; import * as MetacoinArtifact from '../artifacts/Metacoin.json'; -import { MetacoinContract, TransferContractEventArgs } from '../src/contract_wrappers/metacoin'; +import { MetacoinContract, MetacoinTransferEventArgs } from '../src/contract_wrappers/metacoin'; import { chaiSetup } from './utils/chai_setup'; import { config } from './utils/config'; @@ -55,7 +55,7 @@ describe('Metacoin', () => { ); // profiler.stop(); const txReceipt = await web3Wrapper.awaitTransactionSuccessAsync(txHash); - const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<TransferContractEventArgs>; + const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<MetacoinTransferEventArgs>; expect(transferLogs.args).to.be.deep.equal({ _to: ZERO_ADDRESS, _from: devConstants.TESTRPC_FIRST_ADDRESS, @@ -80,7 +80,7 @@ describe('Metacoin', () => { { from: devConstants.TESTRPC_FIRST_ADDRESS }, ); const txReceipt = await web3Wrapper.awaitTransactionSuccessAsync(txHash); - const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<TransferContractEventArgs>; + const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<MetacoinTransferEventArgs>; expect(transferLogs.args).to.be.deep.equal({ _to: ZERO_ADDRESS, _from: devConstants.TESTRPC_FIRST_ADDRESS, @@ -107,7 +107,7 @@ describe('Metacoin', () => { { from: devConstants.TESTRPC_FIRST_ADDRESS }, ); const txReceipt = await web3Wrapper.awaitTransactionSuccessAsync(txHash); - const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<TransferContractEventArgs>; + const transferLogs = txReceipt.logs[0] as LogWithDecodedArgs<MetacoinTransferEventArgs>; expect(transferLogs.args).to.be.deep.equal({ _to: ZERO_ADDRESS, _from: devConstants.TESTRPC_FIRST_ADDRESS, |