-
Notifications
You must be signed in to change notification settings - Fork 52
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
fix: add versioned params e2e's test #248
Conversation
x/storage/keeper/grpc_query.go
Outdated
ctx := sdk.UnwrapSDKContext(c) | ||
|
||
params := k.GetParams(ctx) | ||
versionedParams, err := k.GetVersionedParamsWithTs(ctx, req.GetTimestamp()) |
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.
If the timestamp is zero or not-specify, do we need to return the latest params?
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.
Yes, I have added it.
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.
LGTM
Description
Rationale
tell us why we need these changes...
Example
Changes
Notable changes: