Commit 8244b319 authored by Alina's avatar Alina Committed by GitHub

typos (#130)

parent dbf4f28c
......@@ -914,7 +914,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
bytes memory _returndata
)
{
// EVM precompiles have the same address on L1 and L2 --> no trie lookup neededgit s.
// EVM precompiles have the same address on L1 and L2 --> no trie lookup needed.
address codeContractAddress =
uint(_contract) < 100
? _contract
......@@ -1552,7 +1552,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
/**
* Validates the gas limit for a given transaction.
* @param _gasLimit Gas limit provided by the transaction.
* @param _queueOrigin Queue from which the transaction orginated.
* @param _queueOrigin Queue from which the transaction originated.
* @return _valid Whether or not the gas limit is valid.
*/
function _isValidGasLimit(
......@@ -1569,7 +1569,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
return false;
}
// Always have to be above the minumum gas limit.
// Always have to be above the minimum gas limit.
if (_gasLimit < gasMeterConfig.minTransactionGasLimit) {
return false;
}
......@@ -1596,7 +1596,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
/**
* Updates the cumulative gas after a transaction.
* @param _gasUsed Gas used by the transaction.
* @param _queueOrigin Queue from which the transaction orginated.
* @param _queueOrigin Queue from which the transaction originated.
*/
function _updateCumulativeGas(
uint256 _gasUsed,
......
......@@ -16,7 +16,7 @@ contract OVM_StateManager is iOVM_StateManager {
/**********************
* Contract Constants *
**********************/
bytes32 constant internal EMPTY_ACCOUNT_CODE_HASH = 0x00004B1DC0DE000000004B1DC0DE000000004B1DC0DE000000004B1DC0DE0000;
bytes32 constant internal STORAGE_XOR_VALUE = 0xFEEDFACECAFEBEEFFEEDFACECAFEBEEFFEEDFACECAFEBEEFFEEDFACECAFEBEEF;
......@@ -392,7 +392,7 @@ contract OVM_StateManager is iOVM_StateManager {
{
return totalUncommittedAccounts;
}
/************************************
* Public Functions: Storage Access *
......@@ -587,7 +587,7 @@ contract OVM_StateManager is iOVM_StateManager {
* Checks whether an item is in a particular state (ITEM_LOADED or ITEM_CHANGED) and sets the
* item to the provided state if not.
* @param _item 32 byte item ID to check.
* @param _minItemState Minumum state that must be satisfied by the item.
* @param _minItemState Minimum state that must be satisfied by the item.
* @return _wasItemState Whether or not the item was already in the state.
*/
function _testAndSetItemState(
......
......@@ -819,7 +819,7 @@ library Lib_MerkleTrie {
/**
* @notice Creates an empty branch node.
* @return _node Empty branch node as a TrieNode stuct.
* @return _node Empty branch node as a TrieNode struct.
*/
function _makeEmptyBranchNode()
private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment