Skip to content

Commit ca0013f

Browse files
committed
Fix errors in developer tutorials
1 parent 7ee1347 commit ca0013f

File tree

6 files changed

+7
-7
lines changed
  • public/content/developers/tutorials
    • deploying-your-first-smart-contract
    • guide-to-smart-contract-security-tools
    • how-to-use-manticore-to-find-smart-contract-bugs
    • nft-minter
    • optimism-std-bridge-annotated-code
    • the-graph-fixing-web3-data-querying

6 files changed

+7
-7
lines changed

public/content/developers/tutorials/deploying-your-first-smart-contract/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Then click on the compile button:
7070

7171
You can choose to select the “Auto compile” option so the contract will always be compiled when you save the content on the text editor.
7272

73-
Then navigate to the deploy and run transactions screen:
73+
Then navigate to the "deploy and run transactions" screen:
7474

7575
![The deploy icon in the Remix toolbar](./remix-deploy.png)
7676

public/content/developers/tutorials/guide-to-smart-contract-security-tools/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To effectively test and verify your code, you must identify the areas that need
4949

5050
- [Rapid Risk Assessments](https://infosec.mozilla.org/guidelines/risk/rapid_risk_assessment.html) (our preferred approach when time is short)
5151
- [Guide to Data-Centric System Threat Modeling](https://csrc.nist.gov/publications/detail/sp/800-154/draft) (aka NIST 800-154)
52-
- [Shostack thread modeling](https://www.amazon.com/Threat-Modeling-Designing-Adam-Shostack/dp/1118809998)
52+
- [Shostack threat modeling](https://www.amazon.com/Threat-Modeling-Designing-Adam-Shostack/dp/1118809998)
5353
- [STRIDE](<https://wikipedia.org/wiki/STRIDE_(security)>) / [DREAD](<https://wikipedia.org/wiki/DREAD_(risk_assessment_model)>)
5454
- [PASTA](https://wikipedia.org/wiki/Threat_model#P.A.S.T.A.)
5555
- [Use of Assertions](https://blog.regehr.org/archives/1091)

public/content/developers/tutorials/how-to-use-manticore-to-find-smart-contract-bugs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ m.transaction(caller=user_account,
464464

465465
#### State constraint {#state-constraint}
466466

467-
Use [state.constrain(constraint)](https://manticore.readthedocs.io/en/latest/states.html?highlight=StateBase#manticore.core.state.StateBase.constrain) to add a constraint to a specific state
467+
Use [state.constrain(constraint)](https://manticore.readthedocs.io/en/latest/states.html?highlight=StateBase#manticore.core.state.StateBase.constrain) to add a constraint to a specific state.
468468
It can be used to constrain the state after its exploration to check some property on it.
469469

470470
### Checking Constraint {#checking-constraint}

public/content/developers/tutorials/nft-minter/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Cool, now that we understand how making an NFT works, let's clone our starter fi
4646

4747
## Clone the starter files {#clone-the-starter-files}
4848

49-
First, go to the [nft-minter-tutorial GitHub repository](https://github.com/alchemyplatform/nft-minter-tutorial) to get the starter files for this project. Clone this repository into your local environment.=
49+
First, go to the [nft-minter-tutorial GitHub repository](https://github.com/alchemyplatform/nft-minter-tutorial) to get the starter files for this project. Clone this repository into your local environment.
5050

5151
When you open this cloned `nft-minter-tutorial` repository, you'll notice that it contains two folders: `minter-starter-files` and `nft-minter`.
5252

public/content/developers/tutorials/optimism-std-bridge-annotated-code/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ These two functions are wrappers around `_initiateETHDeposit`, the function that
698698
```
699699

700700
The way that cross domain messages work is that the destination contract is called with the message as its calldata.
701-
Solidity contracts always interpret their calldata is accordance with
701+
Solidity contracts always interpret their calldata in accordance with
702702
[the ABI specifications](https://docs.soliditylang.org/en/v0.8.12/abi-spec.html).
703703
The Solidity function [`abi.encodeWithSelector`](https://docs.soliditylang.org/en/v0.8.12/units-and-global-variables.html#abi-encoding-and-decoding-functions) creates that calldata.
704704

@@ -722,7 +722,7 @@ The message here is to call [the `finalizeDeposit` function](https://github.com/
722722
| \_from | \_from | The address on L1 that sends the ETH |
723723
| \_to | \_to | The address on L2 that receives the ETH |
724724
| amount | msg.value | Amount of wei sent (which has already been sent to the bridge) |
725-
| \_data | \_data | Additional date to attach to the deposit |
725+
| \_data | \_data | Additional data to attach to the deposit |
726726

727727
```solidity
728728
// Send calldata into L2

public/content/developers/tutorials/the-graph-fixing-web3-data-querying/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export function handleNewBet(event: PlacedBet): void {
242242

243243
## Using it in the Frontend {#using-it-in-the-frontend}
244244

245-
Using something like Apollo Boost, you can easily integrate The Graph in your React dapp (or Apollo-Vue). Especially when using React hooks and Apollo, fetching data is as simple as writing a single GraphQl query in your component. A typical setup might look like this:
245+
Using something like Apollo Boost, you can easily integrate The Graph in your React dapp (or Apollo-Vue). Especially when using React hooks and Apollo, fetching data is as simple as writing a single GraphQL query in your component. A typical setup might look like this:
246246

247247
```javascript
248248
// See all subgraphs: https://thegraph.com/explorer/

0 commit comments

Comments
 (0)