book
book copied to clipboard
forge verify-contract with --remappings flag
Component
Forge
Have you ensured that all of these are up to date?
- [x] Foundry
- [x] Foundryup
What version of Foundry are you on?
forge Version: 1.1.0-stable
What version of Foundryup are you on?
foundryup: 1.0.1
What command(s) is the bug in?
forge verify-contract
Operating System
macOS (Apple Silicon)
Describe the bug
Despite the online documentation stating that 'forge verify-contract' supports the --remappings flag, it errors when providing this flag.
`error: unexpected argument '--remappings' found
tip: to pass '--remappings' as a value, use '-- --remappings'`
Per documentation, I have also tried using the --R flag, without success. How can I effectively include remappings to the 'forge verify-contract' command?
@lopjf thank you, will be updating docs