Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I fix typos #135

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/libraries/BytesLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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)
} {
Expand Down
4 changes: 2 additions & 2 deletions contracts/lzApp/NonblockingLzApp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/oft/v2/mocks/OFTStakingMockV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down