aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test.go
blob: 70aa65cddb9bdfb3aecf7302cb076fcb74c2e721 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package tests

import (
    "path/filepath"
    "testing"
)

func TestTransactions(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}

func TestWrongRLPTransactions(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}

func Test10MBtx(t *testing.T) {
    err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), TransSkipTests)
    if err != nil {
        t.Fatal(err)
    }
}