Skip to content

Commit

Permalink
Upload core dev slides
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed May 21, 2024
1 parent 9b596f3 commit 5b8f9ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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

0 comments on commit 5b8f9ce

Please sign in to comment.