Skip to content

forge scripts: "Failed to decode constructor arguments" #6571

@clabby

Description

@clabby

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 (0ae39ea 2023-12-11T00:27:32.487222000Z)

What command(s) is the bug in?

forge script

Operating System

macOS (Apple Silicon)

Describe the bug

On the last few nightly releases of foundry, I've been receiving the error:

2023-12-11T18:49:05.565916Z ERROR forge::cmd::script::transaction: Failed to decode constructor arguments constructor="constructor(address,string)" contract=Some("ResolvedDelegateProxy") bytecode="0x..."

This seems to be a regression of the fix introduced for #3229, and I can confirm that it was working on last week's nightly release.

Steps to Reproduce

Before Regression

foundryup --version nightly-5b7e4cb3c882b28f3c32ba580de27ce7381f415a && \
  git clone [email protected]:ethereum-optimism/optimism.git && \
  cd optimism && \
  make devnet-allocs

After Regression

foundryup && \
  git clone [email protected]:ethereum-optimism/optimism.git && \
  cd optimism && \
  make devnet-allocs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions