book icon indicating copy to clipboard operation
book copied to clipboard

forge verify-contract with --remappings flag

Open lopjf opened this issue 7 months ago • 1 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?

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 avatar May 08 '25 13:05 lopjf

@lopjf thank you, will be updating docs

grandizzy avatar May 13 '25 12:05 grandizzy