mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
Fix testcode (not related error)
This commit is contained in:
parent
3e190e95b2
commit
675bd3dc29
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
|
||||||
"math/big"
|
"math/big"
|
||||||
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum"
|
"github.com/ethereum/go-ethereum"
|
||||||
|
|
@ -225,7 +225,7 @@ func testAccessList(t *testing.T, client *rpc.Client) {
|
||||||
Value: big.NewInt(1),
|
Value: big.NewInt(1),
|
||||||
}
|
}
|
||||||
al, gas, vmErr, err = ec.CreateAccessList(context.Background(), msg)
|
al, gas, vmErr, err = ec.CreateAccessList(context.Background(), msg)
|
||||||
if errors.Is(err, core.ErrBlobFeeCapTooLow) {
|
if err != nil && !strings.Contains(err.Error(), core.ErrFeeCapTooLow.Error()) {
|
||||||
t.Fatalf("unexpected error: %v", err)
|
t.Fatalf("unexpected error: %v", err)
|
||||||
}
|
}
|
||||||
if vmErr != "" {
|
if vmErr != "" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue