reduced default value of gasLimit

This commit is contained in:
Marek Kotewicz 2015-06-04 10:37:09 +02:00
parent 28632d8458
commit eb4fd7482b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ development:
minerthreads: 1
datadir: /tmp/embark
mine_when_needed: true
gas_limit: 2500000
gas_limit: 100000
console: false
account:
init: true

View File

@ -6,7 +6,7 @@ module.exports = (grunt) ->
blockchainConfig = readYaml.sync("config/blockchain.yml")
rpcHost = blockchainConfig[env || "development"].rpc_host
rpcPort = blockchainConfig[env || "development"].rpc_port
gasLimit = blockchainConfig[env || "development"].gas_limit || 1000000
gasLimit = blockchainConfig[env || "development"].gas_limit || 100000
try
web3.setProvider(new web3.providers.HttpProvider("http://#{rpcHost}:#{rpcPort}"))