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

docs: update sdk version to 20.0.0-rc2 #601

Merged
Merged
Show file tree
Hide file tree
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/basic-tutorials/upgrading-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn upgrade(e: Env, new_wasm_hash: BytesN<32>) {

The `update_current_contract_wasm` host function will also emit a `SYSTEM` contract [event] that contains the old and new wasm reference, allowing downstream users to be notified when a contract they use is updated. The event structure will have `topics = ["executable_update", old_executable: ContractExecutable, old_executable: ContractExecutable]` and `data = []`.

[here]: https://docs.rs/soroban-sdk/0.9.2/soroban_sdk/struct.Env.html#method.update_current_contract_wasm
[here]: https://docs.rs/soroban-sdk/20.0.0-rc2/soroban_sdk/struct.Env.html#method.update_current_contract_wasm
[event]: ../fundamentals-and-concepts/events.mdx#event-types

## Tests
Expand Down
2 changes: 1 addition & 1 deletion docs/basic-tutorials/wasm-metadata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ contractmeta!(
pub trait LiquidityPoolTrait {...
```

[contractmeta!]: https://docs.rs/soroban-sdk/0.9.2/soroban_sdk/macro.contractmeta.html
[contractmeta!]: https://docs.rs/soroban-sdk/20.0.0-rc2/soroban_sdk/macro.contractmeta.html
[liquidity pool example]: https://github.com/stellar/soroban-examples/blob/v20.0.0-rc2/liquidity_pool/src/lib.rs#L152-L155
2 changes: 1 addition & 1 deletion docs/getting-started/storing-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ members = [
]

[workspace.dependencies]
soroban-sdk = "0.9.2"
soroban-sdk = "20.0.0-rc2"

[profile.release]
opt-level = "z"
Expand Down