-
Notifications
You must be signed in to change notification settings - Fork 135
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
Let upstream foundry coexist on the machine #741
Comments
Hi @CodeSandwich we already have a work stream dedicated to figuring out how to co-exist with foundry tools. The solution is unfortunately not as simple as renaming the binary, so it'd take some time until a seamless solution is available. In the meantime, we recommend our users to either make use of either bash aliases, custom installs, or to stick to either upstream or foundry-zksync depending upon the use case. |
That's great news, I'm very happy to learn that you've been working on this problem! Which method of installing foundry-zksync along upstream foundry would you recommend as of today? |
I'd recommend to install/download the latest foundry-zksync nightly binaries and rename them as |
Thanks, that's what I'll do. Out of curiosity, you wrote that:
but this is literally what you're recommending to me, to have a renamed zkSync |
We're currently working on a solution on a code/config-level so the foundry-zksync would be usable via foundry-upstream itself. |
Got it, thanks for the explanation. I can't wait for the proper solution, it indeed sounds very user friendly and proper. Should I close this issue as unnecessary since you're already working on it? Or would you prefer keeping it open to mark this problem as known? |
I'll keep it open to track it in our internal board, that way you also get notified when the feature lands. |
Component
Other (please describe)
Describe the feature you would like
As of now foundry-zksync conflicts with upstream foundry on the developer machine. This is fine assuming that the user will never need to compile anything for any other chain than zkSync. This assumption is obviously wrong, the users need to compile for BOTH zkSync and other chains, often as a part of the same workflow. Using foundry-zksync for anything other than building for zkSync is a mistake for a number of reasons:
The solution is to allow both upstream foundry and foundry-zksync on a single machine. This would also improve the UX of foundry-zksync, e.g. by providing defaults that are sane when compiling for zkSync. The user wouldn't need to remember to pass a number of flags to
forge
like--zksync
or--zk-compile
, they could just runforge-zksync
and the defaults would be correct out of the box.Additional context
No response
The text was updated successfully, but these errors were encountered: