Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
clabby opened this issue Dec 11, 2023 · 2 comments
Closed
2 tasks done

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

clabby opened this issue Dec 11, 2023 · 2 comments
Labels
T-bug Type: bug

Comments

@clabby
Copy link
Contributor

clabby commented Dec 11, 2023

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 git@github.com:ethereum-optimism/optimism.git && \
  cd optimism && \
  make devnet-allocs

After Regression

foundryup && \
  git clone git@github.com:ethereum-optimism/optimism.git && \
  cd optimism && \
  make devnet-allocs
@mds1
Copy link
Collaborator

mds1 commented Dec 12, 2023

From bisecting the above steps to repro it seems the issue was introduced in #6300, cc @klkvr

@mds1
Copy link
Collaborator

mds1 commented Dec 14, 2023

Closed by #6589, thanks again @klkvr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

2 participants