Skip to content

Commit

Permalink
Add version in constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Aug 27, 2024
1 parent 1b0b851 commit d8c127d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/v2/PolygonRollupManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ contract PolygonRollupManager is
bytes32 internal constant _EMERGENCY_COUNCIL_ADMIN =
keccak256("EMERGENCY_COUNCIL_ADMIN");

string internal constant _ROLLUP_MANAGER_VERSION_BANANA = "banana";

// Global Exit Root address
IPolygonZkEVMGlobalExitRootV2 public immutable globalExitRootManager;

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

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

0 comments on commit d8c127d

Please sign in to comment.