mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +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 (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"math/big"
|
||||
"os"
|
||||
|
|
@ -149,8 +148,7 @@ func TestState(t *testing.T) {
|
|||
withTrace(t, test.gasLimit(subtest), func(vmconfig vm.Config) error {
|
||||
snaps, statedb, err := test.Run(subtest, vmconfig, true)
|
||||
if snaps != nil && statedb != nil {
|
||||
if _, err := snaps.Journal(statedb.IntermediateRoot(false)); err != nil &&
|
||||
!errors.Is(err, UnsupportedForkError{Name: "Merge"}) {
|
||||
if _, err := snaps.Journal(statedb.IntermediateRoot(false)); err != nil {
|
||||
t.Errorf("in 'rlp_test.go', test '%s' failed with error: '%v'", name, err)
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue