From f1e32093f544a180d873441f2b961c1652e68c01 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:50:25 +0100 Subject: [PATCH 1/4] Update README.md --- Basics/deploy_injected/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From c84408918ae7c2f20decd52a6a4b87a9cbc156d2 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:50:58 +0100 Subject: [PATCH 2/4] Update inputsAndOutputs_answer.sol --- .../functions-inputs-and-outputs/inputsAndOutputs_answer.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} From cb0dd249c1df2226f36ac10eb205760702ac77b7 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:51:23 +0100 Subject: [PATCH 3/4] Update inputsAndOutputs.md --- .../functions-inputs-and-outputs/inputsAndOutputs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From 73526451a197cce56f82a2cbb5a5a9116e4657d8 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:51:52 +0100 Subject: [PATCH 4/4] Update loops_test.sol --- SolidityBeginnerCourse/control-flow-loops/loops_test.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}