-
Notifications
You must be signed in to change notification settings - Fork 183
Cairo: Remove non-standard increase_allowance and decrease_allowance from ERC20 #324
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
Conversation
✅ Deploy Preview for openzeppelin-contracts-wizard ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
188c69c to
1d782ae
Compare
1d782ae to
9b4413f
Compare
andrew-fleming
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@andrew-fleming Thanks for noticing! Updated. |
|
Ah another thing: it's now deprecated to add the Instead of using the Here's an example in the lib The alternative is to use loose functions and not define them within a trait. Having the external trait doesn't really matter AFAICT. We need to make a decision on this for the wizard @martriay @ericnordelo |
|
@andrew-fleming I made the change suggested in your comment above, and also updated to use Pending further decision on whether we should use loose functions instead, we could address that in a separate issue if needed. |
andrew-fleming
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Remove safe allowance option and functions as per OpenZeppelin/cairo-contracts#881