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

Make approve method compliant with ERC20 #446

Closed

Conversation

jakub-wojciechowski
Copy link
Contributor

This PR is fixing an issue #438 as we reached the conclusion that it's best to unconditionally follow the ERC20 specs

@frangio
Copy link
Contributor

frangio commented Sep 14, 2017

Thanks @jakub-wojciechowski!

Could you add to the documentation of approve a small comment describing the race condition? Something very similar to the one that was deleted would be good, but also describing the proposed mitigation (lowering to zero first, etc.).

@jakub-wojciechowski
Copy link
Contributor Author

Sure @frangio, that's a very good idea.

@frangio
Copy link
Contributor

frangio commented Sep 18, 2017

Ready to merge, @jakub-wojciechowski can you rebase on master?

frangio added a commit that referenced this pull request Sep 18, 2017
Make approve method compliant with ERC20
@frangio
Copy link
Contributor

frangio commented Sep 18, 2017

Merged manually! Thanks a lot @jakub-wojciechowski.

@frangio frangio closed this Sep 18, 2017
nberger added a commit to windingtree/lif-token that referenced this pull request Oct 2, 2017
ProphetDaniel pushed a commit to classicdelta/Smart-Contracts that referenced this pull request Mar 9, 2018
Make approve method compliant with ERC20
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

2 participants