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

Add vm.getCode cheatcode #576

Open
beeb opened this issue Feb 11, 2025 · 0 comments
Open

Add vm.getCode cheatcode #576

beeb opened this issue Feb 11, 2025 · 0 comments
Labels
help wanted Extra attention is needed medium-priority

Comments

@beeb
Copy link

beeb commented Feb 11, 2025

At the moment, it's not possible to easily deploy a contract which requires a different solidity version than the one used by the medusa tests/fuzzing without hardcoding the bytecode in the file.

Adding the vm.getCode cheatcode (from Foundry) would allow to dynamically fetch the creation code and we could deploy it with create.

@anishnaik anishnaik added help wanted Extra attention is needed medium-priority labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed medium-priority
Projects
None yet
Development

No branches or pull requests

2 participants