mirror of https://github.com/status-im/op-geth.git
28 lines
601 B
Go
28 lines
601 B
Go
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)
|
|
}
|
|
}
|