aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test.go
blob: 41a20a1bbe1091b0c6bb65c59c73da5594abbd08 (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"))
    if err != nil {
        t.Fatal(err)
    }
}

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

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