diff --git a/lib/test.js b/lib/test.js index 651b3151a..7f5661af2 100644 --- a/lib/test.js +++ b/lib/test.js @@ -21,7 +21,7 @@ var Test = function(options) { } this.web3 = new Web3(); - this.web3.setProvider(this.sim.provider()); + this.web3.setProvider(this.sim.provider(options)); }; Test.prototype.deployAll = function(contractsConfig, cb) { @@ -39,8 +39,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) { contractsConfig: config.contractsConfig, logger: logger }); - contractsManager.build(); - callback(null, contractsManager); + contractsManager.build(callback); }, function deployContracts(contractsManager, callback) { var deploy = new Deploy({ diff --git a/package.json b/package.json index bc327d42f..ab84c1646 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "request": "^2.75.0", "serve-static": "^1.11.1", "shelljs": "^0.5.0", - "solc": "^0.4.8", + "solc": "0.4.8", "toposort": "^1.0.0", "web3": "^0.18.2", "wrench": "^1.5.8"