Skip to content

bug: codehash check in LibArtifact revert if deploy contract with immutable var. #142

Open
@TuDo1403

Description

The below check will revert if deploying contract with immutable variable.

 require(
      info.addr.codehash == keccak256(vm.parseBytes(deployedBytecode.decodeString())),
      "LibArtifact: Deployed bytecode hash mismatch"
 );

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions