Skip to content

Commit

Permalink
fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Jan 26, 2024
1 parent 3ee0491 commit 1cdb3e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions l1-contracts/contracts/zksync/interfaces/IExecutor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ interface IExecutor is IBase {
/// @notice Event emitted when a batch is committed
/// @param batchNumber Number of the batch committed
/// @param batchHash Hash of the L2 batch
/// @param commitment Verified input for the zkSync circuit
/// @param commitment Calculated input for the zkSync circuit
/// @dev It has the name "BlockCommit" and not "BatchCommit" due to backward compatibility considerations
event BlockCommit(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment);

Expand All @@ -168,15 +168,15 @@ interface IExecutor is IBase {
event BlocksVerification(uint256 indexed previousLastVerifiedBatch, uint256 indexed currentLastVerifiedBatch);

/// @notice Event emitted when a batch is executed
/// @param batchNumber Number of the batch committed
/// @param batchNumber Number of the batch executed
/// @param batchHash Hash of the L2 batch
/// @param commitment Verified input for the zkSync circuit
/// @dev It has the name "BlockExecution" and not "BatchExecution" due to backward compatibility considerations
event BlockExecution(uint256 indexed batchNumber, bytes32 indexed batchHash, bytes32 indexed commitment);

/// @notice Event emitted when batches are reverted
/// @param totalBatchesCommitted Total number of committed batches
/// @param totalBatchesVerified Total number of verified batches
/// @param totalBatchesCommitted Total number of committed batches after the revert
/// @param totalBatchesVerified Total number of verified batches after the revert
/// @param totalBatchesExecuted Total number of executed batches
/// @dev It has the name "BlocksRevert" and not "BatchesRevert" due to backward compatibility considerations
event BlocksRevert(uint256 totalBatchesCommitted, uint256 totalBatchesVerified, uint256 totalBatchesExecuted);
Expand Down
2 changes: 1 addition & 1 deletion system-contracts/contracts/L1Messenger.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ contract L1Messenger is IL1Messenger, ISystemContract {
}

/// @notice Public functionality to send messages to L1.
/// @param _message The preimage of the message intended to be sent to L1.
/// @param _message The message intended to be sent to L1.
function sendToL1(bytes calldata _message) external override returns (bytes32 hash) {
uint256 gasBeforeMessageHashing = gasleft();
hash = EfficientCall.keccak(_message);
Expand Down

0 comments on commit 1cdb3e8

Please sign in to comment.