Skip to content

Commit

Permalink
internal/ethapi: fix gas estimation bug in eth_fillTransaction for bl…
Browse files Browse the repository at this point in the history
…ob tx (ethereum#28929)
  • Loading branch information
mask-pp authored Feb 9, 2024
1 parent 1a79089 commit f1c27c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/ethapi/transaction_args.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend) error {
Value: args.Value,
Data: (*hexutil.Bytes)(&data),
AccessList: args.AccessList,
BlobFeeCap: args.BlobFeeCap,
BlobHashes: args.BlobHashes,
}
latestBlockNr := rpc.BlockNumberOrHashWithNumber(rpc.LatestBlockNumber)
estimated, err := DoEstimateGas(ctx, b, callArgs, latestBlockNr, nil, b.RPCGasCap())
Expand Down

0 comments on commit f1c27c2

Please sign in to comment.