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

Validate allowance expiration #793

Merged
merged 7 commits into from
Sep 5, 2022
Merged

Conversation

chipshort
Copy link
Contributor

Closes #628

Adds a check for valid expiration when increasing or decreasing allowance.
Also had to change some of the tests because they were creating expired allowances to test the expiration checks of the other message handlers.

@chipshort chipshort changed the title Validate allowance expiration 2 Validate allowance expiration Sep 5, 2022
@uint uint self-requested a review September 5, 2022 15:04
@chipshort chipshort merged commit bc33936 into main Sep 5, 2022
@chipshort chipshort deleted the validate-allowance-expiration-2 branch September 5, 2022 15:12
@uint
Copy link
Contributor

uint commented Sep 5, 2022

Thanks!

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.

cw20 allowance expiration can be set to a block height or timestamp in the past
2 participants