From 00266abb6a1789929e59dabd6472d48a7d509d07 Mon Sep 17 00:00:00 2001 From: Ignasi Date: Tue, 27 Aug 2024 10:56:13 +0200 Subject: [PATCH] Add version in constant --- contracts/v2/PolygonRollupManager.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/v2/PolygonRollupManager.sol b/contracts/v2/PolygonRollupManager.sol index 2c9ff4d3..9b95786d 100644 --- a/contracts/v2/PolygonRollupManager.sol +++ b/contracts/v2/PolygonRollupManager.sol @@ -231,6 +231,8 @@ 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; @@ -409,7 +411,7 @@ contract PolygonRollupManager is * Initializer function to set new rollup manager version */ function initialize() external virtual reinitializer(3) { - emit UpdateRollupManagerVersion("banana"); + emit UpdateRollupManagerVersion(_ROLLUP_MANAGER_VERSION_PESSIMISTIC); } ///////////////////////////////////////