From 7676b831917809cd120e9171221b9ccb1d4a3e48 Mon Sep 17 00:00:00 2001 From: Vladyslav-Bochok Date: Fri, 14 Jan 2022 11:51:02 +0200 Subject: [PATCH] Fix comments --- contracts/contracts/ZkSync.sol | 2 +- core/lib/types/src/aggregated_operations.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/contracts/ZkSync.sol b/contracts/contracts/ZkSync.sol index 60695f3d4a..6e58c7b8d2 100644 --- a/contracts/contracts/ZkSync.sol +++ b/contracts/contracts/ZkSync.sol @@ -513,7 +513,7 @@ contract ZkSync is UpgradeableMaster, Storage, Config, Events, ReentrancyGuard { } /// @dev Executes one block - /// @dev 1. Processes all pending operations (Send Exits, Complete priority requests) + /// @dev 1. Processes all priority operations or save them as pending /// @dev 2. Finalizes block on Ethereum /// @dev _executedBlockIdx is index in the array of the blocks that we want to execute together function executeOneBlock( diff --git a/core/lib/types/src/aggregated_operations.rs b/core/lib/types/src/aggregated_operations.rs index 6add4ae199..9013507b0e 100644 --- a/core/lib/types/src/aggregated_operations.rs +++ b/core/lib/types/src/aggregated_operations.rs @@ -119,7 +119,7 @@ impl BlocksExecuteOperation { } pub fn get_eth_tx_args(&self) -> Vec { - // make withdrawal in execute operation until the server and frontend are not updated + // make withdrawals in execute operation until the server and frontend are not updated let complete_withdrawals = Token::Bool(true); vec![ Token::Array(