Skip to content

Commit

Permalink
remove deprecation from arithmetic & geometric twap to now query (#3917)
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk authored and czarcas7ic committed Jan 4, 2023
1 parent f4c7d47 commit 19e4a9d
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 46 deletions.
8 changes: 7 additions & 1 deletion proto/osmosis/twap/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ service Query {
}
rpc ArithmeticTwapToNow(ArithmeticTwapToNowRequest)
returns (ArithmeticTwapToNowResponse) {
option deprecated = true;
option (google.api.http).get = "/osmosis/twap/v1beta1/ArithmeticTwapToNow";
}
rpc GeometricTwap(GeometricTwapRequest) returns (GeometricTwapResponse) {
option (google.api.http).get = "/osmosis/twap/v1beta1/GeometricTwap";
}
rpc GeometricTwapToNow(GeometricTwapToNowRequest)
returns (GeometricTwapToNowResponse) {
option (google.api.http).get = "/osmosis/twap/v1beta1/GeometricTwapToNow";
}
}

message ArithmeticTwapRequest {
Expand Down
114 changes: 69 additions & 45 deletions x/twap/client/queryproto/query.pb.go

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

0 comments on commit 19e4a9d

Please sign in to comment.