Skip to content

Feature Request: Add --libraries flag support for contract verification #1

@rjan90

Description

@rjan90

The filfox-verifier tool currently does not support the --libraries flag, which is essential for verifying contracts that use linked libraries. This limitation prevents successful verification of contracts that depend on external libraries, resulting in bytecode mismatch errors.

Use Case

We are trying to verify the FilecoinWarmStorageService contract on Filecoin mainnet, which uses a linked library SignatureVerificationLib:

  • Contract Address: 0xd60b90f6D3C42B26a246E141ec701a20Dde2fA61
  • Library Address: 0x7BdDF92aaBA8a578C3F494729BfAC5190d84acda
  • Library Path: src/lib/SignatureVerificationLib.sol:SignatureVerificationLib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions