You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the recommended code in tutorial for 11-revoke-roles.js incorrectly revokes all minting roles, including the vote/governance contract.
Specifically, in this line: await token.roles.setAll({ admin: [], minter: [] });
On my local end, I noticed both my personal wallet and the vote contract held minting roles in the 'before' section, and then all were revoked in the 'after' section.
Recommended fix would be to just specify the role to revoke. i.e.:
I believe the recommended code in tutorial for 11-revoke-roles.js incorrectly revokes all minting roles, including the vote/governance contract.
Specifically, in this line:
await token.roles.setAll({ admin: [], minter: [] });
On my local end, I noticed both my personal wallet and the vote contract held minting roles in the 'before' section, and then all were revoked in the 'after' section.
Recommended fix would be to just specify the role to revoke. i.e.:
The text was updated successfully, but these errors were encountered: