diff --git a/contracts/Endpoint.sol b/contracts/Endpoint.sol index 219ab6b..37ae767 100644 --- a/contracts/Endpoint.sol +++ b/contracts/Endpoint.sol @@ -196,7 +196,7 @@ contract Endpoint is Ownable, ILayerZeroEndpoint { // Migration step 2: set the receive version // after all messages sent from the old version are received // the UA can now safely switch to the new receive version - // it is the UA's responsibility make sure all messages from the old version are processed + // it is the UA's responsibility to make sure all messages from the old version are processed function setReceiveVersion(uint16 _newVersion) external override validVersion(_newVersion) { // write into config LibraryConfig storage uaConfig = uaConfigLookup[msg.sender]; diff --git a/contracts/UltraLightNode.sol b/contracts/UltraLightNode.sol index 653ba3b..6fa26ae 100644 --- a/contracts/UltraLightNode.sol +++ b/contracts/UltraLightNode.sol @@ -188,7 +188,7 @@ contract UltraLightNode is ILayerZeroMessagingLibrary, ILayerZeroUltraLightNodeV // (a - 3), pay the protocol { - // if no ZRO token or not specifying a payment address, pay in native token + // if no ZRO token or not specify a payment address, pay in native token bool payInNative = _zroPaymentAddress == address(0x0) || address(layerZeroToken) == address(0x0); uint protocolFee = treasuryContract.getFees(!payInNative, totalNativeFee, oracleFee); // totalNativeFee == relayerFee here diff --git a/contracts/proof/FPValidator.sol b/contracts/proof/FPValidator.sol index 4ea48d3..d8e1fae 100644 --- a/contracts/proof/FPValidator.sol +++ b/contracts/proof/FPValidator.sol @@ -82,7 +82,7 @@ contract FPValidator is ILayerZeroValidationLibrary, IValidationLibraryHelperV2 } // TYPE_SWAP_REMOTE == 1 && only if the payload has a payload - // only swapRemote inside of stargate can call sgReceive on an user supplied to address + // only swapRemote inside of stargate can call sgReceive on a user supplied to address // thus we do not care about the other type functions even if the toAddress is overly long. if (functionType == 1) { // decode the _payload with its types diff --git a/contracts/proof/MPTValidator01.sol b/contracts/proof/MPTValidator01.sol index 7e9f09a..9792ac5 100644 --- a/contracts/proof/MPTValidator01.sol +++ b/contracts/proof/MPTValidator01.sol @@ -85,7 +85,7 @@ contract MPTValidator01 is ILayerZeroValidationLibrary, IValidationLibraryHelper } // TYPE_SWAP_REMOTE == 1 && only if the payload has a payload - // only swapRemote inside of stargate can call sgReceive on an user supplied to address + // only swapRemote inside of stargate can call sgReceive on a user supplied to address // thus we do not care about the other type functions even if the toAddress is overly long. if (functionType == 1) { // decode the _payload with its types