Using remappings in a combination of Openzeppelin (normal) contracts and upgradable contracts #4074
-
Hello, I am wondering how to deal with combinations of For example, I have the following tree structure:
And in the contracts (I was using npm before): import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; I would like to keep the contracts the same using the remappings. Currently,
This doesn't work:
Is there a way to configure the remappings so I can keep the contracts the same? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please delete this discussion when possible; I found it was an error on my side (inconsistency of path across contracts) |
Beta Was this translation helpful? Give feedback.
Please delete this discussion when possible; I found it was an error on my side (inconsistency of path across contracts)