Skip to content

Commit

Permalink
comment updates (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
axchu authored Dec 11, 2020
1 parent 42e8a83 commit 608e5ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ contract OVM_StateCommitmentChain is iOVM_StateCommitmentChain, iRingBufferOverw
}

/**
* Removes a batch from the chain.
* Removes a batch and all subsequent batches from the chain.
* @param _batchHeader Header of the batch to remove.
*/
function _deleteBatch(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {

/**
* @notice Specifies from which L1 rollup queue this transaction originated from.
* @return _queueOrigin Address of the CALLER within the current message context.
* @return _queueOrigin Address of the ovmL1QUEUEORIGIN within the current message context.
*/
function ovmL1QUEUEORIGIN()
override
Expand Down Expand Up @@ -726,7 +726,7 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
/**
* @notice Overrides EXTCODEHASH.
* @param _contract Address of the contract to query the hash of.
* @return _EXTCODEHASH Size of the requested contract in bytes.
* @return _EXTCODEHASH Hash of the requested contract.
*/
function ovmEXTCODEHASH(
address _contract
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ library Lib_OVMCodec {
bytes[] memory raw = new bytes[](4);

// Unfortunately we can't create this array outright because
// RLPWriter.encodeList will reject fixed-size arrays. Assigning
// Lib_RLPWriter.writeList will reject fixed-size arrays. Assigning
// index-by-index circumvents this issue.
raw[0] = Lib_RLPWriter.writeUint(_account.nonce);
raw[1] = Lib_RLPWriter.writeUint(_account.balance);
Expand Down

0 comments on commit 608e5ca

Please sign in to comment.