-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Update remappings.txt for upgradeable contracts and set up submodule #4639
Conversation
|
.github/workflows/upgradeable.yml
Outdated
@@ -5,6 +5,7 @@ on: | |||
branches: | |||
- master | |||
- release-v* | |||
- partial-submodules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be removed before merging.
New and updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming of the REMOTE envvar is a bit non-intuitive, but otherwize looks good.
Note: I added an argv params to force enable/disable the foundry package.
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is nightly needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, I copied it from the foundry tests job.
Co-authored-by: Ernesto García <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Ernesto García <[email protected]>
…4639) Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Ernesto García <[email protected]> (cherry picked from commit abba0d0)
Following #4628, this PR sets up the vanilla contracts in a submodule and updates remappings.txt accordingly.
In order for Hardhat to respect remappings.txt, we need the
hardhat-foundry
plugin to be installed, which needs theforge
executable in scope.Find the result for this PR here: https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/tree/partial-submodules