aboutsummaryrefslogtreecommitdiffstats
path: root/core/block_validator_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-03-31 23:43:41 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-04-01 07:01:10 +0800
commit9055c16efad80d0c69992e7992083f967733aa9c (patch)
tree41de92819a7aa8182779e964cec75c0e54d8801f /core/block_validator_test.go
parentf0cbebb19f3137ee3ba0e66dadd1b5b9dbf98b1c (diff)
downloadgo-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.gz
go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.zst
go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.zip
accounts/a/b/backends, core: chain maker homestead block set to 0
The chain maker and the simulated backend now run with a homestead phase beginning at block 0 (i.e. there's no frontier). This commit also fixes up #2388
Diffstat (limited to 'core/block_validator_test.go')
-rw-r--r--core/block_validator_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/block_validator_test.go b/core/block_validator_test.go
index aa29717b1..c6daf9e7f 100644
--- a/core/block_validator_test.go
+++ b/core/block_validator_test.go
@@ -27,12 +27,11 @@ import (
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
- "github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/pow/ezp"
)
func testChainConfig() *ChainConfig {
- return &ChainConfig{HomesteadBlock: params.MainNetHomesteadBlock}
+ return &ChainConfig{HomesteadBlock: big.NewInt(0)}
}
func proc() (Validator, *BlockChain) {