Skip to content

Conversation

xenide
Copy link
Contributor

@xenide xenide commented Dec 9, 2024

Sometimes during fuzzing we want to test with a wide range of addresses, but these address need to be empty and not already have contracts deployed. This cheatcode would come in handy for that.

Any suggestions if other overloads are necessary for extended use cases?

@xenide xenide changed the title feat: new cheatcode assumeEmptyAddress feat: new cheatcode assumeUnusedAddress Dec 11, 2024
Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

Thanks! This is fine for now.

@DaniPopes DaniPopes merged commit 726a6ee into foundry-rs:master Jan 7, 2025
3 checks passed
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.

3 participants