Skip to content

Support better gas estimation to avoid internal OOG errors - #292

Open
ChristopherDedominici wants to merge 1 commit into
mainfrom
better-gas-estimation
Open

Support better gas estimation to avoid internal OOG errors#292
ChristopherDedominici wants to merge 1 commit into
mainfrom
better-gas-estimation

Conversation

@ChristopherDedominici

Copy link
Copy Markdown
Contributor

Copilot AI lite review requested due to automatic review settings August 12, 2026 11:56
@vercel

vercel Bot commented Aug 12, 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 Aug 12, 2026 11:56am

Request Review

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

Adds documentation for EDR’s configurable eth_estimateGas behavior, specifically to avoid misleading estimates when internal calls run out of gas.

Changes:

  • Documented EDR gas estimation search criteria and the two gasEstimationMode behaviors (noInternalOutOfGas vs topLevelSuccess).
  • Added gasEstimationMode to the simulated network configuration reference and linked to the detailed explanation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/content/docs/docs/reference/edr-simulated-networks.mdx Adds a new “Gas estimation modes” section explaining how EDR interprets success during eth_estimateGas.
src/content/docs/docs/reference/configuration.mdx Documents the new gasEstimationMode simulated network config option and links to the detailed section.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants