-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Improperly formatted proto file causes ORDER_BY_DESC enum to be parsed incorrectly #15437
Labels
Comments
19 tasks
What kind of test are you thinking about? |
A test that uses the |
This should catch it next time: https://github.com/cosmos/cosmos-sdk/blob/v0.52.0-beta.1/.github/workflows/proto.yml#L13-L22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of Bug
There's an extra semi-colon in the proto file on the release/v0.46.x line (fixed on main/v0.47)
Version
release/v0.46.x
Steps to Reproduce
Using stake.tax you can use any chain on the v0.46.x release line, use the cli to generate csv and you'll run into the error:
strconv.ParseInt: parsing "ORDER_BY_DESC": invalid syntax'
. This can be fixed on stake.tax by using2
instead ofORDER_BY_DESC
. I believe removing the extra semi-colon will allow the enum to be properly parsed againPlease add a test for this workflow since dependencies use this functionality
The text was updated successfully, but these errors were encountered: