Skip to content

Commit

Permalink
Merge pull request #365 from AleoHQ/add/leo-core-devs-call
Browse files Browse the repository at this point in the history
Update testnet beta version.
  • Loading branch information
d0cd authored May 10, 2024
2 parents adf19fc + b341b30 commit 3230770
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/leo/17_testnet_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ We are about to reach a huge milestone in Aleo's developement. Testnet Beta is a

**IMPORTANT:**
- **Leo v1.12.0 (to be released) will be the last Testnet3 compatible version.**
- **Leo v.1.13.0 (to be released) will be the first Testnet Beta compatible version.**
- **Leo v.2.0.0 (to be released) will be the first Testnet Beta compatible version.**

For additional support, please feel free to:
- File an issue [here](https://github.com/AleoHQ/leo/issues/new/choose).
- Post in the #leo-language Discord [channel](https://discord.com/invite/aleo).
- Attend the Leo Core Devs Call / Engineering Office Hours.

## Breaking Changes
We've included a check-list of features that are deprecated in Leo v1.13.0. If you rely on any of these, be sure to update your code!
We've included a check-list of features that are deprecated in Leo v2.0.0. If you rely on any of these, be sure to update your code!

- [ ] [Finalization](#Finalization)
- [ ] [Assignment In Conditional On-chain Code](#Assignment-In-Conditional-On-chain-Code)
Expand Down Expand Up @@ -111,7 +111,7 @@ program bar.aleo {
### Assignment In Conditional On-chain Code
Updates to `snarkVM` have introduced `branch` instructions, which allows users to conditionally execute code. For example, users can remove an entry in a mapping if and only if a condition is met. However, this imposes some fundamental restrictions on the certain code structures in Leo. See [this](#Compiling-Conditional-On-Chain-Code) section for a conceptual breakdown.

Specifically, Leo v1.13.0 does not allow programs to re-assign to a variable declared in a scope outside of the existing one, solely in the on-chain portion of code.
Specifically, Leo v2.0.0 does not allow programs to re-assign to a variable declared in a scope outside of the existing one, solely in the on-chain portion of code.

For example, the following code will result in a compiler error:
```rust
Expand Down Expand Up @@ -225,7 +225,7 @@ As with the above restructions. these limits can only be increased via the gover

## New Features

Here is a list of some of the new features that are available to you in Leo v1.13.0!
Here is a list of some of the new features that are available to you in Leo v2.0.0!

### Reading External Mappings
Leo now allows users to read all mappings defined in programs that have been imported. Just as with reading local mappings, this operation must take place in an async function.
Expand Down

0 comments on commit 3230770

Please sign in to comment.