aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-22 19:41:31 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-25 19:55:56 +0800
commit036e6301af123ddc7d33f45545bdc083d1573bd8 (patch)
tree9ed4f3eec686167ef50e7df0e06223f9b08ad22c /core/chain_makers_test.go
parent5001f778aac5cf77a200da7829f8d28547208fed (diff)
downloaddexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.gz
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.bz2
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.lz
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.xz
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.zst
dexon-036e6301af123ddc7d33f45545bdc083d1573bd8.zip
cmd/geth, core, eth: Version 1.0.0
Genesis release. Closes #1402 Conflicts: cmd/geth/main.go
Diffstat (limited to 'core/chain_makers_test.go')
-rw-r--r--core/chain_makers_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go
index 715e4c7ac..deb8be93f 100644
--- a/core/chain_makers_test.go
+++ b/core/chain_makers_test.go
@@ -28,6 +28,9 @@ import (
)
func ExampleGenerateChain() {
+ params.MinGasLimit = big.NewInt(125000) // Minimum the gas limit may ever be.
+ params.GenesisGasLimit = big.NewInt(3141592) // Gas limit of the Genesis block.
+
var (
key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
key2, _ = crypto.HexToECDSA("8a1f9a8f95be41cd7ccb6168179afb4504aefe388d1e14474d32c45c72ce7b7a")