From cc7db67dcbda06be9d498b79645dbd2b77b425d3 Mon Sep 17 00:00:00 2001 From: Ignasi Date: Thu, 29 Aug 2024 10:49:35 +0200 Subject: [PATCH] github comments --- contracts/v2/PolygonRollupManager.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contracts/v2/PolygonRollupManager.sol b/contracts/v2/PolygonRollupManager.sol index 9b95786d..7a354095 100644 --- a/contracts/v2/PolygonRollupManager.sol +++ b/contracts/v2/PolygonRollupManager.sol @@ -231,8 +231,6 @@ contract PolygonRollupManager is bytes32 internal constant _EMERGENCY_COUNCIL_ADMIN = keccak256("EMERGENCY_COUNCIL_ADMIN"); - string internal constant _ROLLUP_MANAGER_VERSION_PESSIMISTIC = "pessimistic"; - // Global Exit Root address IPolygonZkEVMGlobalExitRootV2 public immutable globalExitRootManager; @@ -272,6 +270,9 @@ contract PolygonRollupManager is // Last timestamp when an aggregation happen uint64 public lastAggregationTimestamp; + // Current rollup manager version + string public constant ROLLUP_MANAGER_VERSION = "pessimistic"; + // Trusted aggregator timeout, if a sequence is not verified in this time frame, // everyone can verify that sequence /// @custom:oz-renamed-from trustedAggregatorTimeout @@ -411,7 +412,7 @@ contract PolygonRollupManager is * Initializer function to set new rollup manager version */ function initialize() external virtual reinitializer(3) { - emit UpdateRollupManagerVersion(_ROLLUP_MANAGER_VERSION_PESSIMISTIC); + emit UpdateRollupManagerVersion(ROLLUP_MANAGER_VERSION); } ///////////////////////////////////////