mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
new: dev: pos-398 move testdata to last stable release via tag v10.4
This commit is contained in:
parent
f0d85e3703
commit
cd366c64d8
2 changed files with 3 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 27721a74131ccb6e2fa99b8a76740849d3d13fc7
|
Subproject commit a380655e5ffab1a5ea0f4d860224bdb19013f06a
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
package tests
|
package tests
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/params"
|
"github.com/ethereum/go-ethereum/params"
|
||||||
|
|
@ -50,7 +51,7 @@ func TestTransaction(t *testing.T) {
|
||||||
txt.skipLoad("^ttValue/TransactionWithHighValueOverflow.json")
|
txt.skipLoad("^ttValue/TransactionWithHighValueOverflow.json")
|
||||||
txt.walk(t, transactionTestDir, func(t *testing.T, name string, test *TransactionTest) {
|
txt.walk(t, transactionTestDir, func(t *testing.T, name string, test *TransactionTest) {
|
||||||
cfg := params.MainnetChainConfig
|
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)
|
t.Errorf("in 'transaction_test.go', test '%s' failed with error: '%v'", name, err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue