Skip to content

Commit

Permalink
add comment for code to be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jan 9, 2024
1 parent 279bebe commit 59f6a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proto/crosschain/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ service Query {
// GetTssAddress queries the tss address of the module.
// Deprecated: Moved to observer
// TODO: remove after v12 once upgrade testing is no longer needed with v11
// https://github.com/zeta-chain/node/issues/1547
rpc GetTssAddress(QueryGetTssAddressRequest) returns (QueryGetTssAddressResponse) {
option (google.api.http).get = "/zeta-chain/crosschain/get_tss_address";
}
Expand Down Expand Up @@ -123,10 +124,12 @@ service Query {

// Deprecated: Moved to observer
// TODO: remove after v12 once upgrade testing is no longer needed with v11
// https://github.com/zeta-chain/node/issues/1547
message QueryGetTssAddressRequest {}

// Deprecated: Moved to observer
// TODO: remove after v12 once upgrade testing is no longer needed with v11
// https://github.com/zeta-chain/node/issues/1547
message QueryGetTssAddressResponse {
string eth = 1;
string btc = 2;
Expand Down
1 change: 1 addition & 0 deletions x/crosschain/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var _ types.QueryServer = Keeper{}
// GetTssAddress returns the tss address
// Deprecated: GetTssAddress returns the tss address
// TODO: remove after v12 once upgrade testing is no longer needed with v11
// https://github.com/zeta-chain/node/issues/1547
func (k Keeper) GetTssAddress(_ context.Context, _ *types.QueryGetTssAddressRequest) (*types.QueryGetTssAddressResponse, error) {
return nil, status.Error(codes.Unimplemented, "Deprecated")
}

0 comments on commit 59f6a01

Please sign in to comment.