foundry: forge verify-contract error: "contract with duplicate name Vault. please pass the path instead
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (9d1a543 2022-09-08T13:14:05.2163638Z)
What command(s) is the bug in?
forge verify-contract 0x38589723f8a024cfed58f58ad36f56e45b941119 src/Vault.flattened.sol:Vault $arbiscanApiKey --watch
Operating System
No response
Describe the bug
Error:
“contract with duplicate name Vault. please pass the path instead”
how to proceed?
even providing full windows path gives same error!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (2 by maintainers)
Let me get back to you after trying