diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-06 05:55:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-10-06 21:36:21 +0800 |
commit | 1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4 (patch) | |
tree | 0d8d9cd20dc8584599209cbce1cffae0b0e0516d /tests/block_test.go | |
parent | 2acb9a6ea7ddab541122ede96f2275598ae36931 (diff) | |
download | dexon-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.gz dexon-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.zst dexon-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.zip |
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
Two new tests are skipped because they're buggy. Making some newer
random state tests work required implementing the 'compressed return
value encoding'.
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index 448f2bd76..4334a7462 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -219,3 +219,22 @@ func TestDAOBcTheDao(t *testing.T) { t.Fatal(err) } } + +func TestHomesteadBcExploit(t *testing.T) { + err := RunBlockTest(big.NewInt(0), nil, filepath.Join(blockTestDir, "Homestead", "bcExploitTest.json"), BlockSkipTests) + if err != nil { + t.Fatal(err) + } +} +func TestHomesteadBcShanghaiLove(t *testing.T) { + err := RunBlockTest(big.NewInt(0), nil, filepath.Join(blockTestDir, "Homestead", "bcShanghaiLove.json"), BlockSkipTests) + if err != nil { + t.Fatal(err) + } +} +func TestHomesteadBcSuicideIssue(t *testing.T) { + err := RunBlockTest(big.NewInt(0), nil, filepath.Join(blockTestDir, "Homestead", "bcSuicideIssue.json"), BlockSkipTests) + if err != nil { + t.Fatal(err) + } +} |