generated from PaulRBerg/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
When installing this repository as a git submodule using foundry, there are issues with both open-zeppelin modules used in this repository.
when running forge remappings in the target repository where this is installed, the open-zeppelin dependencies remappings are missing the /contracts suffix
this repo
openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/
openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/
target repo
openzeppelin-contracts-upgradeable/=/Users/nico/tenderize/tenderswap/lib/staking/lib/openzeppelin-contracts-upgradeable/contracts/
openzeppelin-contracts/=/Users/nico/tenderize/tenderswap/lib/staking/lib/openzeppelin-contracts/
```
The current fix is to manually overwrite the incorrect automatic remappings in the target repo.
openzeppelin-contracts-upgradeable/=lib/staking/lib/openzeppelin-contracts-upgradeable/contracts/
openzeppelin-contracts/=lib/staking/lib/openzeppelin-contracts/contracts/
Metadata
Metadata
Assignees
Labels
No labels