diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-14 16:22:58 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 2c2e389b778b490fcaf14d9cc45a750647ca5c68 (patch) | |
tree | 0534f50f26ce5f62b1acaf0c18667b6cc0998103 /tests/block_test.go | |
parent | 3291235711082759cd7b70253c02150a80d57011 (diff) | |
download | dexon-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.gz dexon-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.zst dexon-2c2e389b778b490fcaf14d9cc45a750647ca5c68.zip |
cmd, core, eth, miner, params, tests: finalize the DAO fork
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index 9b2fedceb..448f2bd76 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -20,9 +20,6 @@ import ( "math/big" "path/filepath" "testing" - - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/params" ) func TestBcValidBlockTests(t *testing.T) { @@ -217,10 +214,6 @@ func TestHomesteadBcState(t *testing.T) { // DAO hard-fork tests func TestDAOBcTheDao(t *testing.T) { - // Temporarilly override the hard-fork specs - defer func(old common.Address) { params.DAORefundContract = old }(params.DAORefundContract) - params.DAORefundContract = common.HexToAddress("0xabcabcabcabcabcabcabcabcabcabcabcabcabca") - err := RunBlockTest(big.NewInt(5), big.NewInt(8), filepath.Join(blockTestDir, "TestNetwork", "bcTheDaoTest.json"), BlockSkipTests) if err != nil { t.Fatal(err) |