Skip to content

Commit

Permalink
add chain id to rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jan 11, 2024
1 parent 361fcaf commit f6fd94e
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 174 deletions.
6 changes: 3 additions & 3 deletions docs/openapi/openapi.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27817,7 +27817,7 @@ paths:
format: int64
tags:
- Query
/zeta-chain/observer/get_tss_address:
/zeta-chain/observer/get_tss_address/{bitcoin_chain_id}:
get:
summary: Queries a list of GetTssAddress items.
operationId: Query_GetTssAddress
Expand All @@ -27832,8 +27832,8 @@ paths:
$ref: '#/definitions/googlerpcStatus'
parameters:
- name: bitcoin_chain_id
in: query
required: false
in: path
required: true
type: string
format: int64
tags:
Expand Down
2 changes: 1 addition & 1 deletion proto/observer/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ service Query {

// Queries a list of GetTssAddress items.
rpc GetTssAddress(QueryGetTssAddressRequest) returns (QueryGetTssAddressResponse) {
option (google.api.http).get = "/zeta-chain/observer/get_tss_address";
option (google.api.http).get = "/zeta-chain/observer/get_tss_address/{bitcoin_chain_id}";
}

rpc GetTssAddressByFinalizedHeight(QueryGetTssAddressByFinalizedHeightRequest) returns (QueryGetTssAddressByFinalizedHeightResponse) {
Expand Down
Loading

0 comments on commit f6fd94e

Please sign in to comment.