Skip to content

Commit

Permalink
looprpc: additional_bindings for /v1/lsat/tokens
Browse files Browse the repository at this point in the history
Provide backward compatibility for clients using this API endpoint.
  • Loading branch information
starius committed Apr 24, 2024
1 parent 7bb04ae commit 8d971e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions looprpc/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ http:
get: "/v1/loop/info"
- selector: looprpc.SwapClient.GetL402Tokens
get: "/v1/l402/tokens"
additional_bindings:
- get: "/v1/lsat/tokens"
- selector: looprpc.SwapClient.GetLiquidityParams
get: "/v1/liquidity/params"
- selector: looprpc.SwapClient.SetLiquidityParams
Expand Down
2 changes: 2 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ encouraged to change the options to new names if they have been changed locally.
The path in looprpc "/v1/lsat/tokens" was renamed to "/v1/l402/tokens" and
the corresponding method was renamed from `GetLsatTokens` to `GetL402Tokens`.
Update `loop` and `loopd` simultaneously otherwise this RPC won't work.
HTTP endpoint "/v1/l402/tokens" is now an additional binding for API
"/v1/lsat/tokens", so it still works.

#### Bug Fixes

Expand Down

0 comments on commit 8d971e7

Please sign in to comment.