new: dev: pos-398 move testdata to last stable release via tag v10.4

This commit is contained in:
Marcello Ardizzone 2022-07-07 11:12:57 +02:00
parent f0d85e3703
commit cd366c64d8
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 27721a74131ccb6e2fa99b8a76740849d3d13fc7
Subproject commit a380655e5ffab1a5ea0f4d860224bdb19013f06a

View file

@ -20,6 +20,7 @@
package tests
import (
"errors"
"testing"
"github.com/ethereum/go-ethereum/params"
@ -50,7 +51,7 @@ func TestTransaction(t *testing.T) {
txt.skipLoad("^ttValue/TransactionWithHighValueOverflow.json")
txt.walk(t, transactionTestDir, func(t *testing.T, name string, test *TransactionTest) {
cfg := params.MainnetChainConfig
if err := txt.checkFailure(t, test.Run(cfg)); err != nil {
if err := txt.checkFailure(t, test.Run(cfg)); err != nil && !errors.Is(err, UnsupportedForkError{Name: "Merge"}) {
t.Errorf("in 'transaction_test.go', test '%s' failed with error: '%v'", name, err)
}
})