Commit 69b705fd authored by Kelvin Fichter's avatar Kelvin Fichter

Fix indentation

parent 7ce544e8
...@@ -116,9 +116,9 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager { ...@@ -116,9 +116,9 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager {
override override
public public
{ {
// Store our OVM_StateManager instance (significantly easier than attempting to pass the address // Store our OVM_StateManager instance (significantly easier than attempting to pass the address
// around in calldata). // around in calldata).
ovmStateManager = iOVM_StateManager(_ovmStateManager); ovmStateManager = iOVM_StateManager(_ovmStateManager);
// Check whether we need to start a new epoch, do so if necessary. // Check whether we need to start a new epoch, do so if necessary.
_checkNeedsNewEpoch(_transaction.timestamp); _checkNeedsNewEpoch(_transaction.timestamp);
...@@ -129,8 +129,8 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager { ...@@ -129,8 +129,8 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager {
return; return;
} }
// Initialize the execution context. // Initialize the execution context.
_initContext(_transaction); _initContext(_transaction);
// Run the transaction, make sure to meter the gas usage. // Run the transaction, make sure to meter the gas usage.
uint256 gasProvided = gasleft(); uint256 gasProvided = gasleft();
...@@ -144,8 +144,8 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager { ...@@ -144,8 +144,8 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager {
// Update the cumulative gas based on the amount of gas used. // Update the cumulative gas based on the amount of gas used.
_updateCumulativeGas(gasUsed, _transaction.queueOrigin); _updateCumulativeGas(gasUsed, _transaction.queueOrigin);
// Wipe the execution context. // Wipe the execution context.
_resetContext(); _resetContext();
} }
...@@ -1616,7 +1616,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager { ...@@ -1616,7 +1616,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager {
function _initContext( function _initContext(
Lib_OVMCodec.Transaction memory _transaction Lib_OVMCodec.Transaction memory _transaction
) )
internal internal
{ {
transactionContext.ovmTIMESTAMP = _transaction.timestamp; transactionContext.ovmTIMESTAMP = _transaction.timestamp;
transactionContext.ovmTXGASLIMIT = _transaction.gasLimit; transactionContext.ovmTXGASLIMIT = _transaction.gasLimit;
...@@ -1628,7 +1628,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager { ...@@ -1628,7 +1628,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager {
* Resets the transaction and message context. * Resets the transaction and message context.
*/ */
function _resetContext() function _resetContext()
internal internal
{ {
transactionContext.ovmORIGIN = address(0); transactionContext.ovmORIGIN = address(0);
transactionContext.ovmTIMESTAMP = 0; transactionContext.ovmTIMESTAMP = 0;
......
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