Skip to content

Validate allowance expiration#793

Merged
chipshort merged 7 commits intomainfrom
validate-allowance-expiration-2
Sep 5, 2022
Merged

Validate allowance expiration#793
chipshort merged 7 commits intomainfrom
validate-allowance-expiration-2

Conversation

@chipshort
Copy link
Copy Markdown
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
Copy Markdown
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