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

Changes to Counter #1332

Merged
merged 4 commits into from
Sep 18, 2018
Merged

Changes to Counter #1332

merged 4 commits into from
Sep 18, 2018

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Sep 18, 2018

Renames Counter.Index to Counter.Counter, and moves the file to drafts. I'm moving it because we don't really have consensus about this name (see #1307), and the library isn't used elsewhere in OpenZeppelin either, so its design might change based on the needs we discover when we use it in the future.

@frangio frangio added this to the v2.0 milestone Sep 18, 2018
@frangio frangio requested a review from come-maiz September 18, 2018 20:19
Copy link
Contributor

@come-maiz come-maiz 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 @frangio.
Let's keep thinking about alternate names to improve it.

@frangio frangio merged commit 3e55408 into OpenZeppelin:master Sep 18, 2018
@frangio frangio deleted the counter branch September 18, 2018 20:42
frangio added a commit to frangio/openzeppelin-contracts that referenced this pull request Sep 18, 2018
* rename Index.currentId to current

* use += operator for clarity

* rename Counter.Index to Counter.Counter

* move Counter to drafts

(cherry picked from commit 3e55408)
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.

2 participants