diff --git a/Basics/deploy_injected/README.md b/Basics/deploy_injected/README.md index cc1c41db6..00ed66aae 100644 --- a/Basics/deploy_injected/README.md +++ b/Basics/deploy_injected/README.md @@ -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 Ephemery faucets. diff --git a/SolidityBeginnerCourse/control-flow-loops/loops_test.sol b/SolidityBeginnerCourse/control-flow-loops/loops_test.sol index 2e905577f..1fd78828b 100644 --- a/SolidityBeginnerCourse/control-flow-loops/loops_test.sol +++ b/SolidityBeginnerCourse/control-flow-loops/loops_test.sol @@ -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."); } -} \ No newline at end of file +} diff --git a/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs.md b/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs.md index 1ca367fea..f820e8952 100644 --- a/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs.md +++ b/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs.md @@ -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. @@ -30,4 +30,4 @@ You have to be cautious with arrays of arbitrary size because of their gas consu Watch a video tutorial on Function Outputs. ## ⭐️ Assignment -Create a new function called `returnTwo` that returns the values `-2` and `true` without using a return statement. \ No newline at end of file +Create a new function called `returnTwo` that returns the values `-2` and `true` without using a return statement. diff --git a/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs_answer.sol b/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs_answer.sol index 528f05155..c0497e810 100644 --- a/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs_answer.sol +++ b/SolidityBeginnerCourse/functions-inputs-and-outputs/inputsAndOutputs_answer.sol @@ -46,7 +46,7 @@ contract Function { // Use destructing assignment when calling another // function that returns multiple values. - function destructingAssigments() + function destructingAssignments() public pure returns ( @@ -88,4 +88,4 @@ contract Function { i = -2; b = true; } -} \ No newline at end of file +}