Add support for Artifacts related cheatcodes #835
Labels
cheatcode 🎮
Issue with a cheat code against zksync
feature ➕
Feature item
Internal ⚙️
p2 🟡
Indicates moderately high priority item
upstream-parity 🟰
Needed for upstream feature parity
Component
Forge
Describe the feature you would like
Foundry introduced two cheatcodes to retrieve an artifact. We need to adapt this to retreive artifacts using the bytecode coming from zksolc.
vm.getArtifactPathByCode(bytes calldata code)
vm.getArtifactPathByDeployedCode(bytes calldata deployedCode)
Test
Additional context
No response
The text was updated successfully, but these errors were encountered: