Skip to content

Commit

Permalink
remove warning silencer for demo purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzooghost committed Feb 7, 2025
1 parent 9bca927 commit 4eccc3d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ contract TestL1MessageService is L1MessageService, TestSetPauseTypeRoles {
address public originalSender;
bool private reentryDone;

/// @custom:oz-upgrades-unsafe-allow incorrect-initializer-order
function initialize(
uint256 _rateLimitPeriod,
uint256 _rateLimitAmount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ contract TestL1MessageServiceMerkleProof is L1MessageService, TestSetPauseTypeRo
*/
error MessageAlreadyReceived(bytes32 messageHash);

/// @custom:oz-upgrades-unsafe-allow incorrect-initializer-order
function initialize(
uint256 _rateLimitPeriod,
uint256 _rateLimitAmount,
Expand Down
1 change: 0 additions & 1 deletion contracts/src/rollup/LineaRollup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ contract LineaRollup is AccessControlUpgradeable, ZkEvmV2, L1MessageService, Per
* @dev Note: This is used for new testnets and local/CI testing, and will not replace existing proxy based contracts.
* @param _initializationData The initial data used for proof verification.
*/
/// @custom:oz-upgrades-unsafe-allow incorrect-initializer-order
function initialize(InitializationData calldata _initializationData) external initializer {
if (_initializationData.defaultVerifier == address(0)) {
revert ZeroAddressNotAllowed();
Expand Down

0 comments on commit 4eccc3d

Please sign in to comment.