We are trying to write a deploy script using
hardhat upgrades plugin and we see this error
@openzeppelin/contracts-upgradeable/token/ERC20/ERC20SnapshotUpgradeable.sol:52 Defining structs like 'Snapshots' is not yet supported. If you have manually checked for storage layout compatibility, you can skip this check with the 'unsafeAllowCustomTypes' flag https://zpl.in/upgrades/error-007
How can we manually check for for this and make sure we maintain storage layout between upgrades?