Skip to content
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/message/framework/MessageReceiverApp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract contract MessageReceiverApp is IMessageReceiverApp, MessageBusAddress {
}

// Add abort prefix in the reason string for require or revert.
// This will abort (revert) the message execution without markig it as failed state,
// This will abort (revert) the message execution without marking it as failed state,
// making it possible to retry later.
function _abortReason(string memory reason) internal pure returns (string memory) {
return MsgDataTypes.abortReason(reason);
Expand Down
2 changes: 1 addition & 1 deletion contracts/message/libraries/MsgDataTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ library MsgDataTypes {
string constant ABORT_PREFIX = "MSG::ABORT:";

// Add abort prefix in the reason string for require or revert.
// This will abort (revert) the message execution without markig it as failed state,
// This will abort (revert) the message execution without marking it as failed state,
// making it possible to retry later.
function abortReason(string memory reason) internal pure returns (string memory) {
return string.concat(MsgDataTypes.ABORT_PREFIX, reason);
Expand Down
2 changes: 1 addition & 1 deletion contracts/message/messagebus/MessageBusSender.sol
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ contract MessageBusSender is Ownable {
/**
* @notice Calculates the required fee for the message.
* @param _message Arbitrary message bytes to be decoded by the destination app contract.
@ @return The required fee.
* @return The required fee.
*/
function calcFee(bytes calldata _message) public view returns (uint256) {
return feeBase + _message.length * feePerByte;
Expand Down