Skip to content

Missing Revert Data for require() Error Messages in Remix IDE since v0.64.0 #6070

@MattCorte

Description

@MattCorte

Describe the bug
Since updating to Remix IDE v0.64.0, error messages from require() statements in Solidity smart contracts are no longer displayed clearly. Instead, I receive a generic "Gas estimation failed" error with "missing revert data" and no specific error message. This makes debugging difficult as the reason for the function failure is not immediately clear.

To Reproduce
Steps to reproduce the behavior:

  1. Use Remix IDE v0.65.0.
  2. Write a Solidity contract with a require() statement (e.g., require(condition, "Error message");).
  3. Deploy the contract or call the function that triggers the require().
  4. Observe the error output in the Remix console.

Expected behavior
The error message specified in the require() statement (e.g., "Error message") should be displayed clearly in the console.

Actual behavior
The console shows:
Gas estimation failed
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
missing revert data (action="estimateGas", data=null, reason=null, transaction={ "data": "0xac327518", "from": "0xe4c04630d7E4Cf30F2fdC5a889C07D4F6878811A", "to": "0xe66C17BcA89b31cCaA783B73A78D08F5Ad343d54" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.14.0)

Environment

  • Remix IDE Version: 0.64.0 - 0.65.0
  • Environment: Solidity Compiler
  • Browser: [e.g., Chrome, Firefox, etc.]
  • Network: [e.g., Injected provider like Metamask etc.]

Additional context
This issue started occurring in the last month (since April/May 2025) and was not present in previous versions. It significantly impacts debugging efficiency. Please let me know if a sample contract or additional details are needed to reproduce the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions