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); } ///////////////////////////////////////