Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AccessControlEnumerable not tracking renounceRole #2572

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

bvalosek
Copy link
Contributor

@bvalosek bvalosek commented Mar 8, 2021

renounceRole on AccessControlEnumerable was not properly removing the role from the underlying set, causing the enumerable functionality to get out of sync following any calls to renounceRole

PR Checklist

  • Tests
  • Documentation
  • Changelog entry

@bvalosek bvalosek marked this pull request as ready for review March 8, 2021 02:18
@Amxx Amxx merged commit 7adf0d8 into OpenZeppelin:master Mar 8, 2021
Amxx pushed a commit that referenced this pull request Mar 8, 2021
* Fix AccessControlEnumerable not tracking renounceRole

* Updated changelog

(cherry picked from commit 7adf0d8)
@frangio
Copy link
Contributor

frangio commented Mar 8, 2021

@bvalosek Good catch and thank you for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants