mirror of https://github.com/embarklabs/embark.git
reduced default value of gasLimit
This commit is contained in:
parent
28632d8458
commit
eb4fd7482b
|
@ -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
|
||||
|
|
|
@ -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}"))
|
||||
|
|
Loading…
Reference in New Issue