Skip to content

forge verify-contract with --remappings flag #1512

Description

@lopjf

Component

Forge

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

  • Foundry
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions