Upgradeable roles?

In the process of setting up accesControl with roles. I found that there is no upgradaeable Role contract.

Can I just use the non upgradeable one or did it moved?

1 Like

Hi @madeindreams,

If you are creating an upgradeable contract you need to use OpenZeppelin Contracts Upgradeable.

See: https://docs.openzeppelin.com/contracts/4.x/upgradeable

You can use AccessControlUpgradeable:

1 Like

Yes I found out that I don’t need the Roles.sol to create a role. Thank you!

1 Like