Skip to content

fix: improve accuracy of vanity wallet function comments #11145

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

Closed

Conversation

Galoretka
Copy link
Contributor

Fix misleading comments in vanity wallet functions:

  • Remove incorrect "nonce" reference from create_matcher function comment
  • Clarify that create_nonce_matcher captures nonce in closure, not passed to returned function
  • Make function descriptions more precise and accurate

The create_matcher function does not use nonce and checks wallet addresses directly,
while create_nonce_matcher uses nonce to check contract addresses created with
the specified nonce.

Choose a reason for hiding this comment

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

updates

DaniPopes added a commit that referenced this pull request Aug 21, 2025
This PR aggregates changes from the following PRs:

- Closes #11145 by @\Galoretka
- Closes #11320 by @\ANtutov
- Closes #11379 by @\bethoffman
@DaniPopes DaniPopes mentioned this pull request Aug 21, 2025
@github-project-automation github-project-automation bot moved this to Done in Foundry Aug 21, 2025
pull bot pushed a commit to DIGIIX-Ltd/foundry that referenced this pull request Aug 21, 2025
* chore: aggregate PRs

This PR aggregates changes from the following PRs:

- Closes foundry-rs#11145 by @\Galoretka
- Closes foundry-rs#11320 by @\ANtutov
- Closes foundry-rs#11379 by @\bethoffman

* pr 11294
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.

2 participants