diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-29 21:01:42 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-29 21:01:42 +0800 |
commit | 03c39d4fc01d54abc3691c6c1c781d3be1ca4bb5 (patch) | |
tree | 8eba8f2ad9867121aee319fba2b98ea1e2d1d37d /tests/block_test.go | |
parent | a281df783d32270c188d05872b8008eb0b74d042 (diff) | |
download | dexon-03c39d4fc01d54abc3691c6c1c781d3be1ca4bb5.tar.gz dexon-03c39d4fc01d54abc3691c6c1c781d3be1ca4bb5.tar.zst dexon-03c39d4fc01d54abc3691c6c1c781d3be1ca4bb5.zip |
tests: updated
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index 6bb123184..f42b474b7 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -17,18 +17,10 @@ package tests import ( - "math/big" "path/filepath" "testing" - - "github.com/ethereum/go-ethereum/core" ) -func init() { - // XXX remove me when block tests have been updated - core.BlockReward = big.NewInt(1.5e+18) -} - func TestBcValidBlockTests(t *testing.T) { err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests) if err != nil { @@ -36,17 +28,6 @@ func TestBcValidBlockTests(t *testing.T) { } } -func TestBcUncleTests(t *testing.T) { - err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests) - if err != nil { - t.Fatal(err) - } - err = RunBlockTest(filepath.Join(blockTestDir, "bcBruncleTest.json"), BlockSkipTests) - if err != nil { - t.Fatal(err) - } -} - func TestBcUncleHeaderValidityTests(t *testing.T) { err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleHeaderValiditiy.json"), BlockSkipTests) if err != nil { |