From 69470fb2750d1899980d414b9342acfb07cc7cf2 Mon Sep 17 00:00:00 2001 From: Ivan Pusic <450140+ivpusic@users.noreply.github.com> Date: Mon, 20 Apr 2026 08:13:49 +0200 Subject: [PATCH] Update sim evm defi-positions route to /v1/evm/defi/positions GRO-228: the beta path has been promoted to v1, so point the CLI at the stable route and drop the beta note from the command help. --- cmd/sim/evm/defi_positions.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/sim/evm/defi_positions.go b/cmd/sim/evm/defi_positions.go index cf3d58d..6cf9342 100644 --- a/cmd/sim/evm/defi_positions.go +++ b/cmd/sim/evm/defi_positions.go @@ -23,7 +23,6 @@ func NewDefiPositionsCmd() *cobra.Command { "chains and protocols. Each position includes USD valuation and protocol-\n" + "specific metadata. The response also includes aggregation summaries with\n" + "total USD value and per-chain breakdowns.\n\n" + - "Note: This endpoint is in beta (served under /beta/evm/defi/positions/*).\n\n" + "Supported position types:\n" + " - Erc4626: ERC-4626 vault positions (e.g. yield vaults, staking wrappers)\n" + " - Tokenized: lending protocol positions with receipt tokens (e.g. Aave\n" + @@ -135,7 +134,7 @@ func runDefiPositions(cmd *cobra.Command, args []string) error { params.Set("chain_ids", v) } - data, err := client.Get(cmd.Context(), "/beta/evm/defi/positions/"+address, params) + data, err := client.Get(cmd.Context(), "/v1/evm/defi/positions/"+address, params) if err != nil { return err }