mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 14:33:52 +00:00
new: dev: pos-398 remove merge error check on state tests
This commit is contained in:
parent
56eefc6a0b
commit
01bebeb22e
1 changed files with 1 additions and 3 deletions
|
|
@ -22,7 +22,6 @@ package tests
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/big"
|
"math/big"
|
||||||
"os"
|
"os"
|
||||||
|
|
@ -149,8 +148,7 @@ func TestState(t *testing.T) {
|
||||||
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
|
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
|
||||||
snaps, statedb, err := test.Run(subtest, vmconfig, true)
|
snaps, statedb, err := test.Run(subtest, vmconfig, true)
|
||||||
if snaps != nil && statedb != nil {
|
if snaps != nil && statedb != nil {
|
||||||
if _, err := snaps.Journal(statedb.IntermediateRoot(false)); err != nil &&
|
if _, err := snaps.Journal(statedb.IntermediateRoot(false)); err != nil {
|
||||||
!errors.Is(err, UnsupportedForkError{Name: "Merge"}) {
|
|
||||||
t.Errorf("in 'rlp_test.go', test '%s' failed with error: '%v'", name, err)
|
t.Errorf("in 'rlp_test.go', test '%s' failed with error: '%v'", name, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue