Skip to content

Commit 8d971e7

Browse files
committed
looprpc: additional_bindings for /v1/lsat/tokens
Provide backward compatibility for clients using this API endpoint.
1 parent 7bb04ae commit 8d971e7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

looprpc/client.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ http:
2828
get: "/v1/loop/info"
2929
- selector: looprpc.SwapClient.GetL402Tokens
3030
get: "/v1/l402/tokens"
31+
additional_bindings:
32+
- get: "/v1/lsat/tokens"
3133
- selector: looprpc.SwapClient.GetLiquidityParams
3234
get: "/v1/liquidity/params"
3335
- selector: looprpc.SwapClient.SetLiquidityParams

release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ encouraged to change the options to new names if they have been changed locally.
2626
The path in looprpc "/v1/lsat/tokens" was renamed to "/v1/l402/tokens" and
2727
the corresponding method was renamed from `GetLsatTokens` to `GetL402Tokens`.
2828
Update `loop` and `loopd` simultaneously otherwise this RPC won't work.
29+
HTTP endpoint "/v1/l402/tokens" is now an additional binding for API
30+
"/v1/lsat/tokens", so it still works.
2931

3032
#### Bug Fixes
3133

0 commit comments

Comments
 (0)