From 2791a2e53c9ae335b7734c3823e0398fbe53aaf5 Mon Sep 17 00:00:00 2001 From: FrankFourier <84725957+Frank-Fourier@users.noreply.github.com> Date: Thu, 6 Jun 2024 21:34:51 +0700 Subject: [PATCH] Update setup.mdx (#644) The soroban-cli version in this doc is outdated and will give the following error when invoking a deployed contract: "error: xdr processing error: xdr value invalid" As specified here an update of the CLI version is needed: https://stellar.org/blog/developers/protocol-21-upgrade-guide --- docs/smart-contracts/getting-started/setup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/smart-contracts/getting-started/setup.mdx b/docs/smart-contracts/getting-started/setup.mdx index 511a3d8ec..04b30c66d 100644 --- a/docs/smart-contracts/getting-started/setup.mdx +++ b/docs/smart-contracts/getting-started/setup.mdx @@ -84,7 +84,7 @@ The [Soroban CLI](http://github.com/stellar/soroban-cli) can execute Soroban con Install the [latest released version](https://github.com/stellar/soroban-cli/releases) of Soroban CLI using `cargo install`. ```sh -cargo install --locked soroban-cli +cargo install --locked soroban-cli --version 21.0.0-rc.1 ``` :::info