Skip to content

Commit

Permalink
Update http transcoding endpoint for liquidations config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal Lemire committed Oct 25, 2023
1 parent 535d542 commit 98befaf
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class LCDQueryClient {


async liquidationsConfiguration(_params: QueryLiquidationsConfigurationRequest = {}): Promise<QueryLiquidationsConfigurationResponseSDKType> {
const endpoint = `dydxprotocol/clob/liquidations`;
const endpoint = `dydxprotocol/clob/liquidations_config`;
return await this.req.get<QueryLiquidationsConfigurationResponseSDKType>(endpoint);
}

Expand Down
2 changes: 1 addition & 1 deletion proto/dydxprotocol/clob/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ service Query {
// Queries LiquidationsConfiguration.
rpc LiquidationsConfiguration(QueryLiquidationsConfigurationRequest)
returns (QueryLiquidationsConfigurationResponse) {
option (google.api.http).get = "/dydxprotocol/clob/liquidations";
option (google.api.http).get = "/dydxprotocol/clob/liquidations_config";
}
}

Expand Down
138 changes: 69 additions & 69 deletions protocol/x/clob/types/query.pb.go

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

2 changes: 1 addition & 1 deletion protocol/x/clob/types/query.pb.gw.go

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

0 comments on commit 98befaf

Please sign in to comment.