Closed c4-bot-6 closed 7 months ago
https://github.com/code-423n4/2024-03-zksync/blob/main/code/contracts/ethereum/contracts/state-transition/StateTransitionManager.sol#L166
The unfreezeChain function is intended to unfreeze a chain, but it actually calls the freezeDiamond function.
unfreezeChain
freezeDiamond
Call the unfreezeDiamond function correctly.
unfreezeDiamond
Other
alex-ppg marked the issue as duplicate of #97
alex-ppg changed the severity to 2 (Med Risk)
alex-ppg marked the issue as partial-75
Lines of code
https://github.com/code-423n4/2024-03-zksync/blob/main/code/contracts/ethereum/contracts/state-transition/StateTransitionManager.sol#L166
Vulnerability details
Impact
The
unfreezeChain
function is intended to unfreeze a chain, but it actually calls thefreezeDiamond
function.Proof of Concept
Tools Used
Recommended Mitigation Steps
Call the
unfreezeDiamond
function correctly.Assessed type
Other