Skip to content

Conversation

@pyropy
Copy link
Member

@pyropy pyropy commented Nov 9, 2025

Replaces relative import paths with forge remapping paths.

Using relative paths causes issues when trying to verify contract source code using @fil-b/filfox-verifier:

 npx @fil-b/filfox-verifier forge 0x5991E4F9fcEF4AE23959eE03638B4688A7e1EcfF src/FilBeamOperator.sol:FilBeamOperator --chain 314159     
  

⠹ Verifying contract on Filfox...

Verification Result:
✖ ⚠️  Compilation error in source files.
✖ 📝 Details: ParserError: Source "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol" not found: File import callback not supported
 --> @pdp/PDPVerifier.sol:9:1:
  |
9 | import {Initializable} from "../lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@rjan90 rjan90 merged commit 5d6a355 into FilOzone:main Nov 10, 2025
3 of 4 checks passed
@github-project-automation github-project-automation bot moved this to 🎉 Done in PDP Nov 10, 2025
@pyropy pyropy deleted the fix/replace-relative-path-imports branch November 12, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants