-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bump and pin Forge Std submodule #4102
Conversation
|
1fb85dd
to
5825c0b
Compare
I'm not sure I understand why this helps your setup, unless we always keep the commit in sync with the one you have checked out in your own repo. What is the command that you use to initialize the git submodules? Isn't the problem that you are doing a "recursive" clone of submodules? |
This is exactly the goal here; pinning the submodule to the There are fewer changes made to the |
I see. Git submodules are so bad for dependency management... 😅 I hope the I will merge this in |
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2023 OpenZeppelin Contracts Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
(cherry picked from commit 58a6291)
Cherry-picked on |
Bumps and also pins
forge-std
tov1
.The benefit of pinning is that it leads to more predictable repo checkouts.
We use the
release-v4.8
branch (solidity-generators
) in a project with many git submodules. Pinning your version offorge-std
tov1
helps reduce the installation time when pulling a fresh copy of the repo for the first time, because it leads to the same commit forforge-std
.