-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Script: support matching --sig argument with function hex selector #4325
Comments
@joshieDo this happens when the signature does not contain a ptal |
Rerun with #4326 It returns Failed to compute file name: Signature d61d5b11 is invalid. It works if I change deployTest to run |
ah that's the raw hex signature of the function. can you please try using |
great so this is indeed a bug with how we match signatures. |
Yep
|
This was likely fixed with script refactoring. Can't reproduce anymore |
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (249538f 2023-02-10T00:23:08.24269Z)
What command(s) is the bug in?
forge script DeployTest -s d61d5b11 --broadcast -vvv --force
Operating System
macOS (Intel)
Describe the bug
I'm trying to do multichain deployment using CREATE2 with forge script
I use helper which takes fork id and deploys everything.
When I run everything I get Script ran successfully with Sig is invalid during the broadcast.
I'm using anvil on different ports & different forks to test deployment locally.
Example code
Anvil:
Output:
It works when I only leave one fork in deployTest() or run manually forkDeployTest() twice for different forks
Not sure whether the issue is on my end
The text was updated successfully, but these errors were encountered: