From 845ca6144bdac6e4578b15c763719f34d277fa59 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:34:23 +0200 Subject: [PATCH 1/3] fix typos BytesLib.sol --- contracts/libraries/BytesLib.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/libraries/BytesLib.sol b/contracts/libraries/BytesLib.sol index 9f82009f..d505297d 100644 --- a/contracts/libraries/BytesLib.sol +++ b/contracts/libraries/BytesLib.sol @@ -35,7 +35,7 @@ library BytesLib { // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { - // Increase both counters by 32 bytes each iteration. + // Increase both counters by 32 bytes for each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { From d7f05f60a2eb3ce2f156b5b5101535f3d016a63b Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:38:40 +0200 Subject: [PATCH 2/3] fix typos NonblockingLzApp.sol --- contracts/lzApp/NonblockingLzApp.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/lzApp/NonblockingLzApp.sol b/contracts/lzApp/NonblockingLzApp.sol index 95f74b9e..9aae0e7d 100644 --- a/contracts/lzApp/NonblockingLzApp.sol +++ b/contracts/lzApp/NonblockingLzApp.sol @@ -6,8 +6,8 @@ import "./LzApp.sol"; import "../libraries/ExcessivelySafeCall.sol"; /* - * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel - * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking + * the default LayerZero messaging behavior is blocking, i.e. any failed message will block the channel + * this abstract class try-catch all failed messages and stores them locally for future retry. hence, non-blocking * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress) */ abstract contract NonblockingLzApp is LzApp { From b91f7a35797ef7de98ccc0751d77e6673e375964 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:41:01 +0200 Subject: [PATCH 3/3] fix typos OFTStakingMockV2.sol --- contracts/token/oft/v2/mocks/OFTStakingMockV2.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/oft/v2/mocks/OFTStakingMockV2.sol b/contracts/token/oft/v2/mocks/OFTStakingMockV2.sol index 1a44eb45..4a6d3238 100644 --- a/contracts/token/oft/v2/mocks/OFTStakingMockV2.sol +++ b/contracts/token/oft/v2/mocks/OFTStakingMockV2.sol @@ -8,7 +8,7 @@ import "../interfaces/IOFTV2.sol"; import "../interfaces/IOFTReceiverV2.sol"; import "../../../../libraries/BytesLib.sol"; -// OFTStakingMock is an example to integrate with OFT. It shows how to send OFT cross chain with a custom payload and +// OFTStakingMock is an example of integrating with OFT. It shows how to send OFT cross chain with a custom payload and // call a receiver contract on the destination chain when oft is received. contract OFTStakingMockV2 is IOFTReceiverV2 { using SafeERC20 for IERC20;