Fix typos (#5631)
Co-authored-by: Olexandr88 <radole1203@gmail.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com> Co-authored-by: Maxim Tiron <xzstnc@mail.ru>
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
# <img src="logo.svg" alt="OpenZeppelin" height="40px">
|
# <img src="logo.svg" alt="OpenZeppelin" height="40px">
|
||||||
|
|
||||||
|
[](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/latest)
|
||||||
[](https://www.npmjs.org/package/@openzeppelin/contracts)
|
[](https://www.npmjs.org/package/@openzeppelin/contracts)
|
||||||
[](https://codecov.io/gh/OpenZeppelin/openzeppelin-contracts)
|
[](https://codecov.io/gh/OpenZeppelin/openzeppelin-contracts)
|
||||||
[](https://www.gitpoap.io/gh/OpenZeppelin/openzeppelin-contracts)
|
[](https://www.gitpoap.io/gh/OpenZeppelin/openzeppelin-contracts)
|
||||||
|
|||||||
@ -68,7 +68,7 @@ library Checkpoints {
|
|||||||
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
||||||
* if there is none.
|
* if there is none.
|
||||||
*
|
*
|
||||||
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
|
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
|
||||||
* keys).
|
* keys).
|
||||||
*/
|
*/
|
||||||
function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) {
|
function upperLookupRecent(Trace224 storage self, uint32 key) internal view returns (uint224) {
|
||||||
@ -271,7 +271,7 @@ library Checkpoints {
|
|||||||
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
||||||
* if there is none.
|
* if there is none.
|
||||||
*
|
*
|
||||||
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
|
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
|
||||||
* keys).
|
* keys).
|
||||||
*/
|
*/
|
||||||
function upperLookupRecent(Trace208 storage self, uint48 key) internal view returns (uint208) {
|
function upperLookupRecent(Trace208 storage self, uint48 key) internal view returns (uint208) {
|
||||||
@ -474,7 +474,7 @@ library Checkpoints {
|
|||||||
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
||||||
* if there is none.
|
* if there is none.
|
||||||
*
|
*
|
||||||
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
|
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
|
||||||
* keys).
|
* keys).
|
||||||
*/
|
*/
|
||||||
function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) {
|
function upperLookupRecent(Trace160 storage self, uint96 key) internal view returns (uint160) {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/// ENVVAR
|
/// ENVVAR
|
||||||
// - COMPILER: compiler version (default: 0.8.24)
|
// - COMPILER: compiler version (default: 0.8.27)
|
||||||
// - SRC: contracts folder to compile (default: contracts)
|
// - SRC: contracts folder to compile (default: contracts)
|
||||||
// - RUNS: number of optimization runs (default: 200)
|
// - RUNS: number of optimization runs (default: 200)
|
||||||
// - IR: enable IR compilation (default: false)
|
// - IR: enable IR compilation (default: false)
|
||||||
|
|||||||
@ -73,7 +73,7 @@ function upperLookup(${opts.historyTypeName} storage self, ${opts.keyTypeName} k
|
|||||||
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
* @dev Returns the value in the last (most recent) checkpoint with key lower or equal than the search key, or zero
|
||||||
* if there is none.
|
* if there is none.
|
||||||
*
|
*
|
||||||
* NOTE: This is a variant of {upperLookup} that is optimised to find "recent" checkpoint (checkpoints with high
|
* NOTE: This is a variant of {upperLookup} that is optimized to find "recent" checkpoint (checkpoints with high
|
||||||
* keys).
|
* keys).
|
||||||
*/
|
*/
|
||||||
function upperLookupRecent(${opts.historyTypeName} storage self, ${opts.keyTypeName} key) internal view returns (${opts.valueTypeName}) {
|
function upperLookupRecent(${opts.historyTypeName} storage self, ${opts.keyTypeName} key) internal view returns (${opts.valueTypeName}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user