Skip to content

Commit c14b082

Browse files
mask-ppzfy0701
authored andcommitted
internal/ethapi: pass blob hashes to gas estimation (ethereum#29085)
1 parent 515bf4f commit c14b082

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/ethapi/transaction_args.go

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend, skipGas
156156
Value: args.Value,
157157
Data: (*hexutil.Bytes)(&data),
158158
AccessList: args.AccessList,
159+
BlobFeeCap: args.BlobFeeCap,
160+
BlobHashes: args.BlobHashes,
159161
}
160162
latestBlockNr := rpc.BlockNumberOrHashWithNumber(rpc.LatestBlockNumber)
161163
estimated, err := DoEstimateGas(ctx, b, callArgs, latestBlockNr, nil, b.RPCGasCap())

0 commit comments

Comments
 (0)