Skip to content

Add support for Artifacts related cheatcodesย #835

@Jrigada

Description

@Jrigada

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions