diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js index 5305558f..f74e38c2 100644 --- a/lib/contracts/contracts.js +++ b/lib/contracts/contracts.js @@ -3,7 +3,6 @@ let async = require('async'); const cloneDeep = require('clone-deep'); let utils = require('../utils/utils.js'); -const constants = require('../constants'); // TODO: create a contract object @@ -21,13 +20,6 @@ class ContractsManager { this.events = options.events; this.compileError = false; - self.events.on(constants.events.contractFilesChanged, (newContractFiles) => { - self.contractFiles = newContractFiles; - }); - self.events.on(constants.events.contractConfigChanged, (newContracts) => { - self.contractsConfig = newContracts; - }); - self.events.setCommandHandler('contracts:list', (cb) => { cb(self.compileError, self.listContracts()); });