Skip to content
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

Feat: add vm.etch capability #11

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

lokithe5th
Copy link
Contributor

@lokithe5th lokithe5th commented Apr 17, 2024

Tested locally.

There are a few others that can be added, but I haven't had the time to test those yet.

vm.etch is a useful cheatcode.

See the medusa hevm here: https://github.com/crytic/medusa/blob/921a58f1f5155365ab6fd5c5a851d6a2595d05ab/chain/standard_cheat_code_contract.go#L188-L196

Note that this cheattcode doesn't appear to work in echidna hevm yet

Tested locally.
Copy link
Collaborator

@aviggiano aviggiano left a comment

Choose a reason for hiding this comment

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

Can you also add a note on the README that etch is not supported on echidna yet?

@lokithe5th
Copy link
Contributor Author

Can you also add a note on the README that etch is not supported on echidna yet?

Added :-)

@aviggiano aviggiano merged commit d5cf52b into Recon-Fuzz:main Apr 19, 2024
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.

2 participants