Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Update hello-world.mdx #676

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Add the following sections to the `Cargo.toml` to import the `soroban-sdk`, and

```toml
[dependencies]
soroban-sdk = "20.0.0-rc2.2"
soroban-sdk = "20.0.0"

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc2.2", features = ["testutils"] }
soroban-sdk = { version = "20.0.0", features = ["testutils"] }

[features]
testutils = ["soroban-sdk/testutils"]
Expand Down Expand Up @@ -123,10 +123,10 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "20.0.0-rc2.2"
soroban-sdk = "20.0.0"

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc2.2", features = ["testutils"] }
soroban-sdk = { version = "20.0.0", features = ["testutils"] }

[features]
testutils = ["soroban-sdk/testutils"]
Expand Down Expand Up @@ -338,7 +338,7 @@ The `.wasm` file contains the logic of the contract, as well as the contract's [

Use `soroban contract optimize` to further minimize the size of the `.wasm`. First, re-install soroban-cli with the `opt` feature:

cargo install --locked --version 20.0.0-rc2 soroban-cli --features opt
cargo install --locked --version 20.0.1 soroban-cli --features opt

Then build an optimized `.wasm` file:

Expand Down