Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Fix: typo in ch02-13-foundry-forge.md (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdventureSeeker987 authored Feb 16, 2024
1 parent 4163b54 commit 96759d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ch02-13-foundry-forge.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sierra = true

Before you run `snforge test` certain prerequisites must be addressed:

1. Install the lastest [scarb version](#https://docs.swmansion.com/scarb/docs.html).
1. Install the latest [scarb version](#https://docs.swmansion.com/scarb/docs.html).
2. Install [starknet-foundry](#https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html) by running this command:

`curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
Expand All @@ -61,7 +61,7 @@ Follow the instructions and then run:
3. Check your `snforge` version, run :
`snforge version`

As athe time of this tutorial, we used `snforge` version `snforge 0.16.0` which is the lastest at this time.
As athe time of this tutorial, we used `snforge` version `snforge 0.16.0` which is the latest at this time.

### Test

Expand Down Expand Up @@ -373,7 +373,7 @@ Constructor
assert(self.balances.read(recipient) >= amount, Errors::INSUFFICIENT_FUND);
self.balances.write(recipient, self.balances.read(recipient) + amount);
self.total_supply.write(self.total_supply.read() - amount);
// call tranfer
// call transfer
// Transfer(Zeroable::zero(), recipient, amount);
true
Expand Down Expand Up @@ -514,7 +514,7 @@ Before deploying a starknet contract, we need a contract_class.
Get it using the declare function from [starknet Foundry](#https://foundry-rs.github.io/starknet-foundry/)
Supply values the constructor arguements when deploying
Supply values the constructor arguments when deploying
```
Expand Down

0 comments on commit 96759d6

Please sign in to comment.