foundry icon indicating copy to clipboard operation
foundry copied to clipboard

bug(`forge verify`): fails to resolve file during `--verify`

Open entin-hun opened this issue 5 months ago • 2 comments

Component

Forge

Have you ensured that all of these are up to date?

  • [X] Foundry
  • [X] Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

No response

Operating System

Linux

Describe the bug

Hi, when forge create --verify runs, it returns:

cannot resolve file at "/root/opt/contract_deploy_foundry/lib/flattened/ExFlattened.sol"

Then, I separated create and verify, and turned out that it's successfully deployed, but then at verification step, the ABI path seems to be unreachable. If I open that path, the correct content is there.. bug

entin-hun avatar Sep 11 '24 13:09 entin-hun