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

Replace safeApprove -> approve #1

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Replace safeApprove -> approve #1

merged 1 commit into from
Mar 22, 2022

Conversation

JackSparrowYB
Copy link
Member

@JackSparrowYB JackSparrowYB commented Mar 22, 2022

safeApprove is deprecated

Refer OpenZeppelin/openzeppelin-contracts#2219

It doesn't work when the user is updating the allocation amount from an old non-zero amount. (eg: when used in our vaults)

@nightwing-yb nightwing-yb merged commit fb683e9 into main Mar 22, 2022
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