Skip to content

Add vm.getCode cheatcode #576

@beeb

Description

@beeb

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions