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