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

Commit

Permalink
Update re-installing to enable opt to not include version
Browse files Browse the repository at this point in the history
Co-authored-by: Elliot Voris <[email protected]>
  • Loading branch information
elizabethengelman and ElliotFriend authored Mar 4, 2024
1 parent 3b95639 commit c35477b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ 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.3.0 soroban-cli --features opt
```bash
cargo install --locked soroban-cli --features opt
```

Then build an optimized `.wasm` file:

Expand Down

0 comments on commit c35477b

Please sign in to comment.