Skip to content

Commit 57cf1b0

Browse files
committed
Update gas parameters
1 parent 04dc464 commit 57cf1b0

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ Ganache sometimes is not enough.
4141
[parity:devchain]: https://wiki.parity.io/Private-development-chain
4242
[remix]: http://remix.ethereum.org/
4343
[geth-testnet]: https://hackernoon.com/setup-your-own-private-proof-of-authority-ethereum-network-with-geth-9a0a3750cda8
44+
[hudson:gas]: https://hudsonjameson.com/2017-06-27-accounts-transactions-gas-ethereum/

cli.js

100644100755
File mode changed.

genesis.geth.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"nonce": "0x0",
1818
"timestamp": "0x5c5c5fff",
1919
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
20-
"gasLimit": "0x47b760",
20+
"gasLimit": "0x7A1200",
2121
"difficulty": "0x1",
2222
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
2323
"coinbase": "0x0000000000000000000000000000000000000000",

main.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ function run(client, workdir) {
139139
"--rpcapi",
140140
"personal,db,eth,net,web3,txpool,miner,debug",
141141
"--gasprice",
142-
"1",
142+
"4000000000",
143+
"--targetgaslimit",
144+
"4712388",
143145
"--rpccorsdomain",
144146
"*",
145147
"--keystore",
@@ -157,6 +159,8 @@ function run(client, workdir) {
157159
paths.genesis,
158160
"--keys-path",
159161
paths.keys,
162+
"--gasprice",
163+
"4000000000",
160164
"--jsonrpc-cors",
161165
"all",
162166
"--jsonrpc-apis",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethnode",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Run an Ethereum node for development.",
55
"homepage": "https://github.com/vrde/ethnode",
66
"main": "main.js",

0 commit comments

Comments
 (0)