new: dev: pos-398 remove merge error check on state tests

This commit is contained in:
Marcello Ardizzone 2022-07-12 11:55:47 +02:00
parent 56eefc6a0b
commit 01bebeb22e

View file

@ -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
}