Is it possible to add interfaces from the upgradeable contracts package to a contract? For instance, I have a deployed contract that I want to add
ReentrancyGuardUpgradeable to. But proposing the upgrade gives:
Error: New storage layout is incompatible @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:37: Inserted `_status` > New variables should be placed after all existing inherited variables @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:67: Inserted `__gap` > New variables should be placed after all existing inherited variables
Is this inevitable? Is there some way I can append those new storage variables to the end?