Skip to content

Commit

Permalink
added onlyOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
kelemeno committed Apr 2, 2024
1 parent e7ed760 commit 6c0c01c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ contract StateTransitionManager is IStateTransitionManager, ReentrancyGuard, Own
}

/// @dev setPorterAvailability for the specified chain
function setPorterAvailability(uint256 _chainId, bool _zkPorterIsAvailable) external {
function setPorterAvailability(uint256 _chainId, bool _zkPorterIsAvailable) external onlyOwner {
IZkSyncStateTransition(stateTransition[_chainId]).setPorterAvailability(_zkPorterIsAvailable);
}

Expand Down

0 comments on commit 6c0c01c

Please sign in to comment.