cleanup; add todo to add other items to chains file

This commit is contained in:
Iuri Matias 2016-09-25 02:34:36 -04:00
parent 3d672a0f63
commit 2e79299f14
1 changed files with 3 additions and 6 deletions

View File

@ -17,8 +17,9 @@ var DeployTracker = function(options) {
this.currentChain = this.chainConfig[chainId];
this.currentChain.name = this.env;
// TODO: add networkId
this.currentChain.networkId = "";
// TODO: add other params
//this.currentChain.networkId = "";
//this.currentChain.networkType = "custom"
};
DeployTracker.prototype.loadConfig = function(config) {
@ -27,10 +28,6 @@ DeployTracker.prototype.loadConfig = function(config) {
};
DeployTracker.prototype.trackContract = function(contractName, code, args, address) {
//this.logger.debug("--- trackContract ---");
//this.logger.debug(this.currentChain.contracts);
//this.logger.debug(code + contractName + args.join(','));
//this.logger.debug(this.web3.sha3(code + contractName + args.join(',')));
this.currentChain.contracts[this.web3.sha3(code + contractName + args.join(','))] = {
name: contractName,
address: address