Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Jan 11, 2024
1 parent 6a9f353 commit 16bfe51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/MsgValueSimulator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {MSG_VALUE_SIMULATOR_IS_SYSTEM_BIT, ETH_TOKEN_SYSTEM_CONTRACT} from "./Co
*/
contract MsgValueSimulator is ISystemContract {
/// @notice Extract value, isSystemCall and to from the extraAbi params.
/// @dev The contract accepts value, the callee and whether the call should a system one via its ABI params.
/// @dev The contract accepts value, the callee and whether the call should be a system one via its ABI params.
/// @dev The first ABI param contains the value in the [0..127] bits. The 128th contains
/// the flag whether or not the call should be a system one.
/// The second ABI params contains the callee.
Expand All @@ -33,7 +33,7 @@ contract MsgValueSimulator is ISystemContract {
}

/// @notice The fallback function that is the main entry point for the MsgValueSimulator.
/// @dev The contract accepts value, the callee and whether the call should a system one via its ABI params.
/// @dev The contract accepts value, the callee and whether the call should be a system one via its ABI params.
/// @param _data The calldata to be passed to the callee.
/// @return The return data from the callee.
fallback(bytes calldata _data) external onlySystemCall returns (bytes memory) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/NonceHolder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ contract NonceHolder is INonceHolder, ISystemContract {

/// @notice A method that checks whether the nonce has been used before.
/// @param _address The address the nonce of which is being checked.
/// @param _nonce The nonce value which is check.
/// @param _nonce The nonce value which is checked.
/// @return `true` if the nonce has been used, `false` otherwise.
function isNonceUsed(address _address, uint256 _nonce) public view returns (bool) {
uint256 addressAsKey = uint256(uint160(_address));
Expand Down

0 comments on commit 16bfe51

Please sign in to comment.