diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-06 22:19:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 22:19:53 +0800 |
commit | eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad (patch) | |
tree | 092de74597c335d666af44b44f645b2ed597174f /tests/block_test.go | |
parent | 7335a70a020517cc9cebe7ae82c0e49ba133abf1 (diff) | |
parent | 1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4 (diff) | |
download | go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar.gz go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar.bz2 go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar.lz go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar.xz go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.tar.zst go-tangerine-eeb2a1a6e3c7a0c77ee6836f3103708cff4102ad.zip |
Merge pull request #3094 from fjl/tests-update
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
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) + } +} |