I'm dealing with the current situation right now and want to check with you. Working with an UUPS smart contract where the storage layout looks like this:
address public firstVar; uint256 public secondVar; ContractA public contractA;
ContractA is another UUPS smart contract which I want to rename to
ContractB. So the new storage layout will have the following structure:
address public firstVar; uint256 public secondVar; /// @custom:oz-renamed-from contractA ContractB public contractB;
ContractB will have the same storage layout/methods and
contractA) holds only the contract address, is it safe to upgrade it?