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

Commit

Permalink
Update maximum contract size limit in the Getting Started tutorial (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
masonforest authored Jan 31, 2024
1 parent 50d0c8c commit 8ce91df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The `testutils` are automatically enabled inside [Rust unit tests] inside the sa

### Configure the `release` Profile

Configuring the `release` profile to optimize the contract build is critical. Soroban contracts have a maximum size of 256KB. Rust programs, even small ones, without these configurations almost always exceed this size.
Configuring the `release` profile to optimize the contract build is critical. Soroban contracts have a maximum size of 64KB. Rust programs, even small ones, without these configurations almost always exceed this size.

Add the following to your `Cargo.toml` and use the `release` profile when building.

Expand Down

0 comments on commit 8ce91df

Please sign in to comment.