Add tests for ERC20Token and EtherToken_v2

This commit is contained in:
Amir Bandeali
2017-12-05 12:45:08 -08:00
parent e6862e9739
commit b58bf8259d
8 changed files with 183 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ const {
MultiSigWalletWithTimeLock,
TokenTransferProxy,
EtherToken,
EtherTokenV2,
TokenRegistry,
} = new Artifacts(artifacts);
@@ -28,11 +29,13 @@ module.exports = (deployer: any, network: string, accounts: string[]) => {
deployer.deploy(MultiSigWalletWithTimeLock, config.owners,
config.confirmationsRequired, config.secondsRequired)
.then(() => {
return deployer.deploy(TokenTransferProxy);
return deployer.deploy(TokenTransferProxy);
}).then(() => {
return deployer.deploy(TokenRegistry);
return deployer.deploy(TokenRegistry);
}).then(() => {
return deployer.deploy(EtherToken);
return deployer.deploy(EtherToken);
}).then(() => {
return deployer.deploy(EtherTokenV2);
});
} else {
deployer.deploy([