Skip to content

fix: typos in documentation files #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Basics/deploy_injected/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1. If you don't have a browser wallet like **MetaMask** download and install one now.

2. Click the MetaMask icon in your browser. Sign in and choose the Ephemery test network. You might need to update your wallet's settings so that you can see **test networks**. Alternatively, you can go to Remix's Deploy & Run transation module and in the ENVIRONMENT section select Ephemery.
2. Click the MetaMask icon in your browser. Sign in and choose the Ephemery test network. You might need to update your wallet's settings so that you can see **test networks**. Alternatively, you can go to Remix's Deploy & Run transaction module and in the ENVIRONMENT section select Ephemery.

3. Getting test ETH for public test networks is often annoying. Ephemery is a public network that is refreshed monthly, so getting test ETH should be painless. Here is a link to some <a href="https://github.com/ephemery-testnet/ephemery-resources?tab=readme-ov-file#faucets" target="_blank">Ephemery faucets</a>.

Expand Down
4 changes: 2 additions & 2 deletions SolidityBeginnerCourse/control-flow-loops/loops_test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ contract MyTest {
function checkFunction() public {
Assert.equal(foo.count(), 0, "Count should be initially 0.");
foo.loop();
Assert.equal(foo.count(), 9, "Count should be 9 after executing the loop funcion.");
Assert.equal(foo.count(), 9, "Count should be 9 after executing the loop function.");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When you assign values to a name you can omit (leave out) the return statement a
### Deconstructing Assignments
You can use deconstructing assignments to unpack values into distinct variables.

The `destructingAssigments` function (line 49) assigns the values of the `returnMany` function to the new local variables `i`, `b`, and `j` (line 60).
The `destructingAssignments` function (line 49) assigns the values of the `returnMany` function to the new local variables `i`, `b`, and `j` (line 60).

### Input and Output restrictions
There are a few restrictions and best practices for the input and output parameters of contract functions.
Expand All @@ -30,4 +30,4 @@ You have to be cautious with arrays of arbitrary size because of their gas consu
<a href="https://www.youtube.com/watch?v=je7dWT6bEZM" target="_blank">Watch a video tutorial on Function Outputs</a>.

## ⭐️ Assignment
Create a new function called `returnTwo` that returns the values `-2` and `true` without using a return statement.
Create a new function called `returnTwo` that returns the values `-2` and `true` without using a return statement.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract Function {

// Use destructing assignment when calling another
// function that returns multiple values.
function destructingAssigments()
function destructingAssignments()
public
pure
returns (
Expand Down Expand Up @@ -88,4 +88,4 @@ contract Function {
i = -2;
b = true;
}
}
}