Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
8244b319
Commit
8244b319
authored
Dec 11, 2020
by
Alina
Committed by
GitHub
Dec 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos (#130)
parent
dbf4f28c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
OVM_ExecutionManager.sol
...ptimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
+4
-4
OVM_StateManager.sol
...ts/optimistic-ethereum/OVM/execution/OVM_StateManager.sol
+3
-3
Lib_MerkleTrie.sol
...cts/optimistic-ethereum/libraries/trie/Lib_MerkleTrie.sol
+1
-1
No files found.
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_ExecutionManager.sol
View file @
8244b319
...
...
@@ -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 needed
git 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 or
i
ginated.
* @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 min
u
mum gas limit.
// Always have to be above the min
i
mum 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 or
i
ginated.
*/
function _updateCumulativeGas(
uint256 _gasUsed,
...
...
packages/contracts/contracts/optimistic-ethereum/OVM/execution/OVM_StateManager.sol
View file @
8244b319
...
...
@@ -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 Min
u
mum state that must be satisfied by the item.
* @param _minItemState Min
i
mum state that must be satisfied by the item.
* @return _wasItemState Whether or not the item was already in the state.
*/
function _testAndSetItemState(
...
...
packages/contracts/contracts/optimistic-ethereum/libraries/trie/Lib_MerkleTrie.sol
View file @
8244b319
...
...
@@ -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 st
r
uct.
*/
function _makeEmptyBranchNode()
private
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment