Skip to content

Commit

Permalink
Copy exercises from Marlowe 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Apr 14, 2019
1 parent cc6a34b commit dfe311d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorial-v2.0/using-marlowe.md
Expand Up @@ -104,6 +104,13 @@ To single step through the escrow contract we construct three transaction to rep

Why is single stepping useful? It is the equivalent of debugging, and we are able to see the internal state of the contract at each stage, the contract continuation, i.e. what remains to be executed, and the actions produced at each step.

> __Exercise__
>
> Explore some other ways of engaging with the contract
> - What happens when two participants choose to refund the money to Alice?
> - What happens if Bob requests a payment before the choice is made to make the payment to him?
> - What happens if the contract reaches timeout?
## There must be an easier way!

Yes, there is!
Expand Down

0 comments on commit dfe311d

Please sign in to comment.