Skip to content

feat(anvil): improve error messages clarity and diagnostics in blockchain errors #10355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented Apr 23, 2025

Motivation

Some of Anvil's blockchain error messages could be improved, as they currently provide limited context, do not always explain the underlying cause, and often lack guidance on how to resolve the issue.

Solution

Enhanced error messages in crates/anvil/src/eth/error.rs to make them more informative and actionable.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@crStiv crStiv closed this Apr 23, 2025
@github-project-automation github-project-automation bot moved this to Done in Foundry Apr 23, 2025
@crStiv crStiv reopened this Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant