Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload 5-21-24 Core Dev Call slides. #373

Merged
merged 1 commit into from
May 21, 2024
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
1 change: 1 addition & 0 deletions documentation/leo/16_core_devs_call.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ We welcome everyone to join!

## Past Meetings
The slides from each call will be available for review shortly after the meeting.
- [May 21, 2024](https://docs.google.com/presentation/d/1M1zNuA0Xc2Qzi3PjdnmUnaFUYDjizskFcQHPT0NY8J8/edit?usp=sharing)

11 changes: 6 additions & 5 deletions documentation/leo/17_testnet_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ program foo.aleo {
This can be rewritten in the `async/await` model as:
```leo showLineNumbers
program foo.aleo {
record credit { ... }
async transition bar(...) -> (credit, Future) {
...
let c: credit = ...;
Expand All @@ -85,14 +86,14 @@ Now let's consider the following code in the `finalize` model. Note that this co
```leo showLineNumbers
import foo.aleo;

program bar.aleo {
program boo.aleo {
transition baz(...) -> foo.aleo/credit {
...
let c: foo.aleo/credit = foo.aleo/bar(...);
...
return c then finalize(...);
}
finalize bar(...) {
finalize baz(...) {
...
}
}
Expand All @@ -101,15 +102,15 @@ This can be rewritten in the `async/await` model as:
```leo showLineNumbers
import foo.aleo;

program bar.aleo {
program boo.aleo {
async transition baz(...) -> (foo.aleo/credit, Future) {
...
let (c, f): (foo.aleo/credit, Future) = foo.aleo/bar(...);
...
return (c, finalize_bar(f, ...));
return (c, finalize_baz(f, ...));
}

async function finalize_bar(f: Future, ...) {
async function finalize_baz(f: Future, ...) {
f.await();
...
}
Expand Down
Loading