Skip to content

Commit

Permalink
feat/3823 Remove finalizeBlocksWithoutProof (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: count-sum <[email protected]>
Co-authored-by: thedarkjester <[email protected]>
  • Loading branch information
3 people authored Sep 24, 2024
1 parent 961ac9b commit 7005fcd
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 259 deletions.
11 changes: 0 additions & 11 deletions contracts/contracts/LineaRollup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -460,17 +460,6 @@ contract LineaRollup is
);
}

/**
* @notice Finalize compressed blocks without proof.
* @dev FINALIZE_WITHOUT_PROOF_ROLE is required to execute.
* @param _finalizationData The full finalization data.
*/
function finalizeBlocksWithoutProof(
FinalizationDataV2 calldata _finalizationData
) external whenTypeNotPaused(GENERAL_PAUSE_TYPE) onlyRole(FINALIZE_WITHOUT_PROOF_ROLE) {
_finalizeBlocks(_finalizationData, currentL2BlockNumber, false);
}

/**
* @notice Internal function to finalize compressed blocks.
* @param _finalizationData The full finalization data.
Expand Down
7 changes: 0 additions & 7 deletions contracts/contracts/interfaces/l1/ILineaRollup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,6 @@ interface ILineaRollup {
bytes32 _expectedShnarf
) external;

/**
* @notice Finalize compressed blocks without proof.
* @dev DEFAULT_ADMIN_ROLE is required to execute.
* @param _finalizationData The full finalization data.
*/
function finalizeBlocksWithoutProof(FinalizationDataV2 calldata _finalizationData) external;

/**
* @notice Finalize compressed blocks with proof.
* @dev OPERATOR_ROLE is required to execute.
Expand Down
Loading

0 comments on commit 7005fcd

Please sign in to comment.