diff --git a/internal/ethapi/api_test.go b/internal/ethapi/api_test.go index 54a8e39fbb..fd68650193 100644 --- a/internal/ethapi/api_test.go +++ b/internal/ethapi/api_test.go @@ -922,7 +922,7 @@ func TestCall(t *testing.T) { blockOverrides: BlockOverrides{Number: (*hexutil.Big)(big.NewInt(11))}, want: "0x000000000000000000000000000000000000000000000000000000000000000b", }, - // Invalid blob-tx + // Invalid blob tx { blockNumber: rpc.LatestBlockNumber, call: TransactionArgs{ @@ -1039,7 +1039,7 @@ func TestSignBlobTransaction(t *testing.T) { _, err = api.SignTransaction(context.Background(), argsFromTransaction(res.Tx, b.acc.Address)) if err == nil { - t.Fatalf("should fail on blob-tx") + t.Fatalf("should fail on blob transaction") } if !errors.Is(err, errBlobTxNotSupported) { t.Errorf("error mismatch. Have: %v, want: %v", err, errBlobTxNotSupported) diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go index 3c98951669..e49a3a0a9f 100644 --- a/internal/ethapi/transaction_args.go +++ b/internal/ethapi/transaction_args.go @@ -102,7 +102,7 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend) error { return errors.New(`blob transactions cannot have the form of a create transaction`) } if args.BlobHashes != nil && len(args.BlobHashes) == 0 { - return errors.New(`need at least 1 blob for a blob-tx`) + return errors.New(`need at least 1 blob for a blob transaction`) } if args.To == nil && len(args.data()) == 0 { return errors.New(`contract creation without any data provided`) diff --git a/internal/ethapi/transaction_args_test.go b/internal/ethapi/transaction_args_test.go index a21246ca15..8651da4020 100644 --- a/internal/ethapi/transaction_args_test.go +++ b/internal/ethapi/transaction_args_test.go @@ -222,7 +222,7 @@ func TestSetFeeDefaults(t *testing.T) { errors.New("maxFeePerGas and maxPriorityFeePerGas and maxFeePerBlobGas are not valid before London is active"), }, { - "set gas price and maxFee for blob-tx", + "set gas price and maxFee for blob transaction", "cancun", &TransactionArgs{GasPrice: fortytwo, MaxFeePerGas: maxFee, BlobHashes: []common.Hash{}}, nil,