-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Remove Counters library and its usage #4281
Remove Counters library and its usage #4281
Conversation
* removes import statement from impacted smart contracts * deletes Counters contract & tests * updates contracts: Votes, UUPSUpgradeableMock, ERC20Permit, ERC20Snapshot & ERC721PresetMinterPauserAutoId
🦋 Changeset detectedLatest commit: 6c1cc89 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Sorry @balajipachai, just noticing we have a duplicate PR for this at #4289. 🙏 |
This PR is based on the master branch, while 4281 is based on, and targets |
Does this mean all the issues cited in Milestone-5 should be targeted to next-v5.0 branch? |
Yes. Considering we are currently working on a very tight schedule we are working on all the 5.0 issues internally. |
Can you assign me some of those issues with a deadline? I will complete and resolve all the assigned issues well within the deadline 100% |
@balajipachai Yeah sorry about the confusion. We just merged the I mentioned you in #3693. |
Fixes #4233
Deletes Counters.sol and its associated tests
Counters.sol was imported in below contracts:
contracts/governance/utils/Votes.sol
contracts/mocks/proxy/UUPSUpgradeableMock.sol
contracts/token/ERC20/extensions/ERC20Permit.sol
contracts/token/ERC20/extensions/ERC20Snapshot.sol
contracts/token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol
removed usage of Counters in these contracts and updated the code accordingly.
PR Checklist
npx changeset add
)