Skip to content

verify predeployed contracts on L2 #12481

@blockchaindevsh

Description

@blockchaindevsh

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-v1.1.0 Commit SHA: d484a00 Build Timestamp: 2025-04-28T08:22:52.012269183Z (1745828572) Build Profile: maxperf

What version of Foundryup are you on?

No response

What command(s) is the bug in?

forge verify-contract

Operating System

Linux

Describe the bug

While following the verification steps described here to verify predeployed contracts on L2(OP Stack based), I encountered the following errors. Any ideas what might be causing them?

Image

UPDATE

Looks like it has something to do with the predeployed contracts don't have a deploy transaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bugType: bugT-needs-triageType: this issue needs to be labelled

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions