mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-27 23:45:18 +00:00
reduced default value of gasLimit
This commit is contained in:
parent
28632d8458
commit
eb4fd7482b
@ -5,7 +5,7 @@ development:
|
|||||||
minerthreads: 1
|
minerthreads: 1
|
||||||
datadir: /tmp/embark
|
datadir: /tmp/embark
|
||||||
mine_when_needed: true
|
mine_when_needed: true
|
||||||
gas_limit: 2500000
|
gas_limit: 100000
|
||||||
console: false
|
console: false
|
||||||
account:
|
account:
|
||||||
init: true
|
init: true
|
||||||
|
@ -6,7 +6,7 @@ module.exports = (grunt) ->
|
|||||||
blockchainConfig = readYaml.sync("config/blockchain.yml")
|
blockchainConfig = readYaml.sync("config/blockchain.yml")
|
||||||
rpcHost = blockchainConfig[env || "development"].rpc_host
|
rpcHost = blockchainConfig[env || "development"].rpc_host
|
||||||
rpcPort = blockchainConfig[env || "development"].rpc_port
|
rpcPort = blockchainConfig[env || "development"].rpc_port
|
||||||
gasLimit = blockchainConfig[env || "development"].gas_limit || 1000000
|
gasLimit = blockchainConfig[env || "development"].gas_limit || 100000
|
||||||
|
|
||||||
try
|
try
|
||||||
web3.setProvider(new web3.providers.HttpProvider("http://#{rpcHost}:#{rpcPort}"))
|
web3.setProvider(new web3.providers.HttpProvider("http://#{rpcHost}:#{rpcPort}"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user