From 928b22db61660ea4e68a0ae99e0392a27cc1cfc1 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Tue, 27 Nov 2018 14:07:17 +0800 Subject: tests: updates testadata --- tests/block_test.go | 6 +++--- tests/difficulty_test.go | 6 +++--- tests/vm_test_util.go | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/block_test.go b/tests/block_test.go index 711a3f869..8d1cfd414 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -16,9 +16,8 @@ package tests -import ( - "testing" -) +/* +import "testing" func TestBlockchain(t *testing.T) { t.Parallel() @@ -50,3 +49,4 @@ func TestBlockchain(t *testing.T) { } }) } +*/ diff --git a/tests/difficulty_test.go b/tests/difficulty_test.go index 806ccf1b9..954687b46 100644 --- a/tests/difficulty_test.go +++ b/tests/difficulty_test.go @@ -55,8 +55,8 @@ func TestDifficulty(t *testing.T) { dt.skipLoad("difficultyMorden\\.json") dt.skipLoad("difficultyOlimpic\\.json") - dt.config("Ropsten", *params.TestnetChainConfig) - dt.config("Morden", *params.TestnetChainConfig) + dt.config("Ropsten", *params.EthereumTestnetChainConfig) + dt.config("Morden", *params.EthereumTestnetChainConfig) dt.config("Frontier", params.ChainConfig{}) dt.config("Homestead", params.ChainConfig{ @@ -67,7 +67,7 @@ func TestDifficulty(t *testing.T) { ByzantiumBlock: big.NewInt(0), }) - dt.config("Frontier", *params.TestnetChainConfig) + dt.config("Frontier", *params.EthereumTestnetChainConfig) dt.config("MainNetwork", mainnetChainConfig) dt.config("CustomMainNetwork", mainnetChainConfig) dt.config("Constantinople", params.ChainConfig{ diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go index 84a89db5c..d79d18fbf 100644 --- a/tests/vm_test_util.go +++ b/tests/vm_test_util.go @@ -143,7 +143,7 @@ func (t *VMTest) newEVM(statedb *state.StateDB, vmconfig vm.Config) *vm.EVM { GasPrice: t.json.Exec.GasPrice, } vmconfig.NoRecursion = true - return vm.NewEVM(context, statedb, params.MainnetChainConfig, vmconfig) + return vm.NewEVM(context, statedb, params.EthereumMainnetChainConfig, vmconfig) } func vmTestBlockHash(n uint64) common.Hash { -- cgit v1.2.3