Skip to content

Commit 0d95f41

Browse files
mask-ppjorgemmsilva
authored andcommitted
internal/ethapi: fix gas estimation bug in eth_fillTransaction for blob tx (ethereum#28929)
1 parent 3e0456e commit 0d95f41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/ethapi/transaction_args.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend) error {
150150
Value: args.Value,
151151
Data: (*hexutil.Bytes)(&data),
152152
AccessList: args.AccessList,
153+
BlobFeeCap: args.BlobFeeCap,
154+
BlobHashes: args.BlobHashes,
153155
}
154156
latestBlockNr := rpc.BlockNumberOrHashWithNumber(rpc.LatestBlockNumber)
155157
estimated, err := DoEstimateGas(ctx, b, callArgs, latestBlockNr, nil, b.RPCGasCap())

0 commit comments

Comments
 (0)