aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 21:07:19 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 21:07:19 +0800
commitfa286688ab55ba5df96303c6c456ea7b7688ba2d (patch)
tree2e4eee02d4035db5559b56c592a5600d7b29b4ec /tests/block_test.go
parentcc27be9d446764beb45ee5a771a7d23cba5c5e9c (diff)
parent03c39d4fc01d54abc3691c6c1c781d3be1ca4bb5 (diff)
downloadgo-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar.gz
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar.bz2
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar.lz
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar.xz
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.tar.zst
go-tangerine-fa286688ab55ba5df96303c6c456ea7b7688ba2d.zip
Merge pull request #1546 from obscuren/tests-update
tests: updated
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go19
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 {