-
Notifications
You must be signed in to change notification settings - Fork 607
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
refactor: state-breaking BigDec spot price changes and stargate whitelist #6490
Conversation
return osmomath.MustNewBigDecFromStr(response.SpotPrice), nil | ||
|
||
result, err := osmomath.NewBigDecFromStr(response.SpotPrice) | ||
if err != nil { | ||
return osmomath.BigDec{}, err | ||
} | ||
|
||
return result, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This is a precaution and a follow-up to a review discussion.
Ref: #6406
a2180c4
to
1dcdd1a
Compare
return q.Q.{{.QueryName}}(ctx, *req) | ||
return q.Q.{{.QueryName}}{{ $version | ToUpper }}(ctx, *req) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this is needed to avoid conflicts and name clashes with v1
1dcdd1a
to
002d139
Compare
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you! |
Closes: #6064, #6406
What is the purpose of the change
State-breaking changes to enable 36 decimal spot price query. Includes stargate whitelist for the new query.
Addresses all TODOs in the linked issue.
There is some diff that stems from template code-generation empty lines.
Testing and Verifying
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)