Skip to content

Commit

Permalink
Merge pull request #90 from euonymos/euonymos/testing
Browse files Browse the repository at this point in the history
Rewrite chapters on testing
  • Loading branch information
4TT1L4 authored Oct 5, 2024
2 parents 8cb2059 + a2c14f2 commit b6b3104
Show file tree
Hide file tree
Showing 4 changed files with 554 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/pages/getting-started/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"how-to-build": "How to build?",
"smart-contract-intro": "Smart Contract",
"operations": "Operations over Contract",
"unit-tests": "Unit Tests",
"integration-tests": "Integration Tests",
"testing": "Testing",
"endpoints": "Creating Endpoints",
"browser-integration": "Browser Integration"
}
4 changes: 2 additions & 2 deletions src/pages/getting-started/smart-contract-intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Let's now start by writing a smart contract that we will use to convey framework

## Contract Description

Setting here is that we have a sport match happening and a group of friends want to bet on the number of goals scored by their favorite team in it.
A setting here is that we have a sport match happening and a group of friends want to bet on the number of goals scored by their favorite team in it.

Winner is the one whose guess is closest (and in case of tie - the one who takes it fastest!).

Expand Down Expand Up @@ -49,7 +49,7 @@ data BetRefParams = BetRefParams
}
PlutusTx.makeLift ''BetRefParams
```

### Reference Input Datum

The Oracle tells us the number of goals scored by the concerned team:
Expand Down
Loading

0 comments on commit b6b3104

Please sign in to comment.