Skip to content

Commit

Permalink
add scalar type to exchange rate response
Browse files Browse the repository at this point in the history
  • Loading branch information
kruspy committed Oct 17, 2023
1 parent 598e052 commit 9fc18f0
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 71 deletions.
4 changes: 3 additions & 1 deletion proto/pstake/liquidstakeibc/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";
package pstake.liquidstakeibc.v1beta1;

import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "cosmos/base/v1beta1/coin.proto";
Expand Down Expand Up @@ -156,6 +157,7 @@ message QueryExchangeRateRequest {
message QueryExchangeRateResponse {
string rate = 1 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
(gogoproto.nullable) = false,
(cosmos_proto.scalar) = "cosmos.Dec"
];
}
142 changes: 72 additions & 70 deletions x/liquidstakeibc/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fc18f0

Please sign in to comment.