aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go19
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)
+ }
+}