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) } { 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 { 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;