Skip to content

Commit

Permalink
Fix Variable Name Issues and Grammar Errors (#1231)
Browse files Browse the repository at this point in the history
* Fix variable name issues and grammar errors

* reverted

* reverted2
  • Loading branch information
Anon-im authored Jan 14, 2025
1 parent 36a0d04 commit d002029
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/base-docs/base-learn/docs/arrays/arrays-exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Write a function called `appendToNumbers` that takes a `uint[] calldata` array c

At the contract level, add an `address` array called `senders` and a `uint` array called `timestamps`.

Write a function called `saveTimestamp` that takes a `uint` called `_unixTimestamp` as an argument. When called, it should add the address of the caller to the end of `senders` and the `_unixTimeStamp` to `timestamps`.
Write a function called `saveTimestamp` that takes a `uint` called `_unixTimestamp` as an argument. When called, it should add the address of the caller to the end of `senders` and the `_unixTimestamp` to `timestamps`.

:::tip

Expand Down
2 changes: 1 addition & 1 deletion apps/base-docs/base-learn/docs/imports/imports-sbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Find the documentation for the `EnumerableSet` under _Utils_. This library will

Create a new file to work in and add the `pragma` and license identifier.

In Remix, you can import libraries directly from Github!
In Remix, you can import libraries directly from GitHub!

```solidity
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/structs/EnumerableSet.sol";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Review the **Warning** in the [layout] section of the docs for more details!

### Add a Function to Update `age`

It would also be good to be able to update the `age` value. This problem has slightly different considerations. Sadly, `age` will never go down. It should also probably only go up by one year for each update. The `++` operator works in Solidity, so we can use that to create a function that simple increments age when called.
It would also be good to be able to update the `age` value. This problem has slightly different considerations. Sadly, `age` will never go down. It should also probably only go up by one year for each update. The `++` operator works in Solidity, so we can use that to create a function that simply increments age when called.

<details>

Expand Down

0 comments on commit d002029

Please sign in to comment.