We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9cc4f4 + a76c3fc commit aec59edCopy full SHA for aec59ed
yarn-project/ethereum/src/l1_tx_utils/readonly_l1_tx_utils.ts
@@ -282,11 +282,17 @@ export class ReadOnlyL1TxUtils {
282
..._blobInputs,
283
maxFeePerBlobGas: gasPrice.maxFeePerBlobGas!,
284
gas: LARGE_GAS_LIMIT,
285
+ blockTag: 'latest',
286
});
287
288
this.logger?.trace(`Estimated gas for blob tx: ${initialEstimate}`);
289
} else {
- initialEstimate = await this.client.estimateGas({ account, ...request, gas: LARGE_GAS_LIMIT });
290
+ initialEstimate = await this.client.estimateGas({
291
+ account,
292
+ ...request,
293
+ gas: LARGE_GAS_LIMIT,
294
295
+ });
296
this.logger?.trace(`Estimated gas for non-blob tx: ${initialEstimate}`);
297
}
298
0 commit comments