Skip to content

docs: document transaction cap config - #279

Merged
schaable merged 2 commits into
mainfrom
document-transaction-cap
Jul 2, 2026
Merged

schaable merged 2 commits into
mainfrom
document-transaction-cap

Conversation

@kanej

@kanej kanej commented Jun 18, 2026 •

Copy link
Copy Markdown
Member

Document the new transaction gas cap config.

Resolve #263.

@vercel

vercel Bot commented Jun 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hardhat-website Ready Ready Preview, Comment Jun 18, 2026 4:07pm

Request Review

@kanej
kanej force-pushed the document-transaction-cap branch from 3fcce2b to 6fc81ad Compare June 18, 2026 16:00
@kanej
kanej marked this pull request as ready for review June 18, 2026 16:00
Copilot AI review requested due to automatic review settings June 18, 2026 16:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Hardhat 3 documentation to cover the new transactionGasCap/blockGasLimit configuration behavior and how --coverage adjusts defaults to avoid contract size and gas-limit issues (resolving #263).

Changes:

  • Document disabling blockGasLimit for edr-simulated networks and add docs for transactionGasCap (including default behavior by hardfork).
  • Clarify Solidity tests configuration for blockGasLimit/transactionGasCap (number/bigint vs false, disabled by default).
  • Update the code coverage guide to explain --coverage default overrides and precedence of explicit user config.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/content/docs/docs/reference/configuration.mdx Adds/clarifies docs for blockGasLimit disabling and new transactionGasCap in simulated networks and Solidity tests sections.
src/content/docs/docs/guides/testing/code-coverage.mdx Updates coverage guide explanation to reflect new default override behavior for size and gas limits under --coverage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/content/docs/docs/guides/testing/code-coverage.mdx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@schaable
schaable added this pull request to the merge queue Jul 2, 2026
Merged via the queue into main with commit 6915782 Jul 2, 2026
3 checks passed
@schaable
schaable deleted the document-transaction-cap branch July 2, 2026 15:59

This branch was successfully deployed

1 active deployment
Preview — 1d251a74 Deployed Jun 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update coverage explanation and config values for allowUnlimitedContractSize, blockGasLimit and transactionGasCap

4 participants