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 { ...@@ -914,7 +914,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
bytes memory _returndata 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 = address codeContractAddress =
uint(_contract) < 100 uint(_contract) < 100
? _contract ? _contract
...@@ -1552,7 +1552,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver { ...@@ -1552,7 +1552,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
/** /**
* Validates the gas limit for a given transaction. * Validates the gas limit for a given transaction.
* @param _gasLimit Gas limit provided by the 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. * @return _valid Whether or not the gas limit is valid.
*/ */
function _isValidGasLimit( function _isValidGasLimit(
...@@ -1569,7 +1569,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver { ...@@ -1569,7 +1569,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
return false; return false;
} }
// Always have to be above the minumum gas limit. // Always have to be above the minimum gas limit.
if (_gasLimit < gasMeterConfig.minTransactionGasLimit) { if (_gasLimit < gasMeterConfig.minTransactionGasLimit) {
return false; return false;
} }
...@@ -1596,7 +1596,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver { ...@@ -1596,7 +1596,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
/** /**
* Updates the cumulative gas after a transaction. * Updates the cumulative gas after a transaction.
* @param _gasUsed Gas used by the 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( function _updateCumulativeGas(
uint256 _gasUsed, uint256 _gasUsed,
......
...@@ -587,7 +587,7 @@ contract OVM_StateManager is iOVM_StateManager { ...@@ -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 * Checks whether an item is in a particular state (ITEM_LOADED or ITEM_CHANGED) and sets the
* item to the provided state if not. * item to the provided state if not.
* @param _item 32 byte item ID to check. * @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. * @return _wasItemState Whether or not the item was already in the state.
*/ */
function _testAndSetItemState( function _testAndSetItemState(
......
...@@ -819,7 +819,7 @@ library Lib_MerkleTrie { ...@@ -819,7 +819,7 @@ library Lib_MerkleTrie {
/** /**
* @notice Creates an empty branch node. * @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() function _makeEmptyBranchNode()
private 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