Using AccessControl with ERC20 token (UpgradeSafe) throwing "Defining structs like `RoleData` is not yet supported"

Hi @megatower66,

We have found an error in Upgrades Plugins for Truffle and Hardhat. Users of the flag unsafeAllowCustomTypes should update their dependencies to the latest version.

See post for more details: Problem in Upgrades Plugins for users of unsafeAllowCustomTypes.

1 Like