cleanup; add todo to add other items to chains file
This commit is contained in:
parent
3d672a0f63
commit
2e79299f14
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue