I’ve just switched to the
My contract inherits from
ERC20PresetMinterPauserUpgradeable which in turn inherits
After deploying with
upgrades.deployProxy(...) the deploying address (which was the owner before switching to upgradeable) does no longer have the
DEFAULT_ADMIN_ROLE and can therefore no longer grant other roles.
getRoleAdmin for all roles returns
How do I set this up correctly to have some account that can grant roles?