Skip to content

Commit

Permalink
github comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Aug 29, 2024
1 parent 00266ab commit cc7db67
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contracts/v2/PolygonRollupManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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);
}

///////////////////////////////////////
Expand Down

0 comments on commit cc7db67

Please sign in to comment.