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

Throw better errors when invalid global mint limits are set #1574

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

shohamc1
Copy link
Contributor

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

The current implementation throws an ambiguous Mint limit higher than global mint limit error when the mint limit is set to 0 or any negative value other than -1. This PR changes the error to say Amount must be positive or -1.

@prasannavl prasannavl merged commit b37e17a into master Nov 17, 2022
@prasannavl prasannavl deleted the better-mintlimit-errors branch November 17, 2022 08:04
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.

3 participants