Skip to content

Commit b3d6f71

Browse files
ernestognwOlexandr88Amxxarr00XZSt4nce
authored
Fix typos (#5631)
Co-authored-by: Olexandr88 <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Arr00 <[email protected]> Co-authored-by: Maxim Tiron <[email protected]>
1 parent d20b9e3 commit b3d6f71

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# <img src="logo.svg" alt="OpenZeppelin" height="40px">
22

3+
[![Github Release](https://img.shields.io/github/v/tag/OpenZeppelin/openzeppelin-contracts.svg?filter=v*&sort=semver&label=github)](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/latest)
34
[![NPM Package](https://img.shields.io/npm/v/@openzeppelin/contracts.svg)](https://www.npmjs.org/package/@openzeppelin/contracts)
45
[![Coverage Status](https://codecov.io/gh/OpenZeppelin/openzeppelin-contracts/graph/badge.svg)](https://codecov.io/gh/OpenZeppelin/openzeppelin-contracts)
56
[![GitPOAPs](https://public-api.gitpoap.io/v1/repo/OpenZeppelin/openzeppelin-contracts/badge)](https://www.gitpoap.io/gh/OpenZeppelin/openzeppelin-contracts)

contracts/utils/structs/Checkpoints.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ library Checkpoints {
6868
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
6969
* if there is none.
7070
*
71-
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
71+
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
7272
* keys).
7373
*/
7474
function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) {
@@ -271,7 +271,7 @@ library Checkpoints {
271271
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
272272
* if there is none.
273273
*
274-
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
274+
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
275275
* keys).
276276
*/
277277
function upperLookupRecent(Trace208 storage self, uint48 key) internal view returns (uint208) {
@@ -474,7 +474,7 @@ library Checkpoints {
474474
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
475475
* if there is none.
476476
*
477-
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
477+
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
478478
* keys).
479479
*/
480480
function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) {

hardhat.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// ENVVAR
2-
// - COMPILER: compiler version (default: 0.8.24)
2+
// - COMPILER: compiler version (default: 0.8.27)
33
// - SRC: contracts folder to compile (default: contracts)
44
// - RUNS: number of optimization runs (default: 200)
55
// - IR: enable IR compilation (default: false)

scripts/generate/templates/Checkpoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function upperLookup(${opts.historyTypeName} storage self, ${opts.keyTypeName} k
7373
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
7474
* if there is none.
7575
*
76-
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
76+
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
7777
* keys).
7878
*/
7979
function upperLookupRecent(${opts.historyTypeName} storage self, ${opts.keyTypeName} key) internal view returns (${opts.valueTypeName}) {

0 commit comments

Comments
 (0)