Skip to content

Commit 3bcb933

Browse files
committed
fix: should not be dev contract.
1 parent 9930c9c commit 3bcb933

File tree

1 file changed

+2
-2
lines changed
  • protocol-units/mcr/contracts/src/settlement

1 file changed

+2
-2
lines changed

protocol-units/mcr/contracts/src/settlement/MCR.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ contract MCR is Initializable, BaseSettlement, MCRStorage, IMCR {
204204
// Forces the latest attestation by setting the block height
205205
// Note: this only safe when we are running with a single validator as it does not zero out follow-on commitments.
206206
function forceLatestCommitment(BlockCommitment memory blockCommitment) public {
207-
/*require(
207+
require(
208208
hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
209209
"FORCE_LATEST_COMMITMENT_IS_COMMITMENT_ADMIN_ONLY"
210-
);*/
210+
);
211211

212212
// increment the acceptedBlocksVersion (effectively removing all other accepted blocks)
213213
acceptedBlocksVersion += 1;

0 commit comments

Comments
 (0)