aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-01-20 06:48:50 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-18 17:08:18 +0800
commit4f4d2b647488eaa056613fa6f026229ac91f066a (patch)
tree3c5cfa2e5bf6da15a806a575921fe04263538375 /tests/transaction_test.go
parent371871d685d54b916aef28de689d6f0af7822083 (diff)
downloaddexon-4f4d2b647488eaa056613fa6f026229ac91f066a.tar.gz
dexon-4f4d2b647488eaa056613fa6f026229ac91f066a.tar.zst
dexon-4f4d2b647488eaa056613fa6f026229ac91f066a.zip
tests: updated homestead tests
Diffstat (limited to 'tests/transaction_test.go')
-rw-r--r--tests/transaction_test.go24
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/transaction_test.go b/tests/transaction_test.go
index f1dfbd0a7..ea105c37b 100644
--- a/tests/transaction_test.go
+++ b/tests/transaction_test.go
@@ -35,9 +35,31 @@ func TestWrongRLPTransactions(t *testing.T) {
}
}
-func Test10MBtx(t *testing.T) {
+func Test10MBTransactions(t *testing.T) {
err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), TransSkipTests)
if err != nil {
t.Fatal(err)
}
}
+
+// homestead tests
+func TestHomesteadTransactions(t *testing.T) {
+ err := RunTransactionTests(filepath.Join(transactionTestDir, "Homestead", "ttTransactionTest.json"), TransSkipTests)
+ if err != nil {
+ t.Fatal(err)
+ }
+}
+
+func TestHomesteadWrongRLPTransactions(t *testing.T) {
+ err := RunTransactionTests(filepath.Join(transactionTestDir, "Homestead", "ttWrongRLPTransaction.json"), TransSkipTests)
+ if err != nil {
+ t.Fatal(err)
+ }
+}
+
+func TestHomestead10MBTransactions(t *testing.T) {
+ err := RunTransactionTests(filepath.Join(transactionTestDir, "Homestead", "tt10mbDataField.json"), TransSkipTests)
+ if err != nil {
+ t.Fatal(err)
+ }
+}