aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin/test/metacoin_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-27 16:03:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-29 22:52:51 +0800
commit5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078 (patch)
tree965a327f90a1a72b2fa68591569087a3aa0d5f11 /packages/metacoin/test/metacoin_test.ts
parent6ce151c67655605e8845136b7decbb0e23b90501 (diff)
downloaddexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar.gz
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar.bz2
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar.lz
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar.xz
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.tar.zst
dexon-sol-tools-5b685b32bdb1ab3538e0a9d2008cbbd7fad8f078.zip
Rename TransferContractEventArgs to MetacoinTransferEventArgs after changing contracts templates
Diffstat (limited to 'packages/metacoin/test/metacoin_test.ts')
-rw-r--r--packages/metacoin/test/metacoin_test.ts8
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,