From f5b38d92656263514f86ca6201c6434ef3db41e7 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 4 Jun 2015 07:14:46 -0400 Subject: [PATCH] set minimal amount of gas to avoid issues with slighter bigger contracts; to be configurable in 0.2.0 --- tasks/deploy.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/deploy.coffee b/tasks/deploy.coffee index 59b6359c..94658376 100644 --- a/tasks/deploy.coffee +++ b/tasks/deploy.coffee @@ -30,7 +30,7 @@ module.exports = (grunt) -> #TODO: refactor this into a common method if compiled_contracts.info is undefined for className, contract of compiled_contracts - contractAddress = web3.eth.sendTransaction({from: primaryAddress, data: contract.code}) + contractAddress = web3.eth.sendTransaction({from: primaryAddress, data: contract.code, gas: 100000}) grunt.log.writeln("deployed #{className} at #{contractAddress}") abi = JSON.stringify(contract.info.abiDefinition)