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

Update maximum contract size limit in the Getting Started tutorial to 64kb #705

Merged
merged 1 commit into from
Jan 31, 2024
Merged
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
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
Loading