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

Update blurb on GovernorVotes compatibility #3764

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

robriks
Copy link
Contributor

@robriks robriks commented Oct 14, 2022

Since v4.5, GovernorVotes supports ERC721Votes tokens- this is detailed in the ERC721Votes API documentation but not in the Governor documentation, which is where developers like myself land first.

The result is confusion about whether or not OZ Governor contracts can support ERC721 in addition to ERC20. Developers may come to the Governor documentation, assume only ERC20Votes is supported, and then decide to look elsewhere for ERC721 governance (this happened to me)

Updating the blurb as shown fixes this

Fixes #????

PR Checklist

  • Tests
  • Documentation
  • Changelog entry

Since v4.5, GovernorVotes supports ERC721Votes tokens- this is detailed in the ERC721Votes API documentation but not in the Governor documentation, which is where developers like myself land first.

The result is confusion about whether or not OZ Governor contracts can support ERC721 in addition to ERC20. Developers may come to the Governor documentation, assume only ERC20Votes is supported, and then decide to look elsewhere for ERC721 governance (this happened to me)

Updating the blurb as shown fixes this
Copy link
Contributor

@JulissaDantes JulissaDantes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the observation, looks good to me!

@frangio frangio merged commit cafe5eb into OpenZeppelin:master Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants