From 7a2dc85e055000b3757f81507bfeea65b728174a Mon Sep 17 00:00:00 2001 From: Liam Monninger Date: Fri, 24 Jan 2025 09:14:20 -0800 Subject: [PATCH] chore: start mainnet contract branch. --- .../settlement/mcr/contracts/src/settlement/MCR.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol-units/settlement/mcr/contracts/src/settlement/MCR.sol b/protocol-units/settlement/mcr/contracts/src/settlement/MCR.sol index b499abb41..3b1405f24 100644 --- a/protocol-units/settlement/mcr/contracts/src/settlement/MCR.sol +++ b/protocol-units/settlement/mcr/contracts/src/settlement/MCR.sol @@ -204,10 +204,10 @@ contract MCR is Initializable, BaseSettlement, MCRStorage, IMCR { // Forces the latest attestation by setting the block height // Note: this only safe when we are running with a single validator as it does not zero out follow-on commitments. function forceLatestCommitment(BlockCommitment memory blockCommitment) public { - /*require( + require( hasRole(COMMITMENT_ADMIN, msg.sender), "FORCE_LATEST_COMMITMENT_IS_COMMITMENT_ADMIN_ONLY" - );*/ + ); // increment the acceptedBlocksVersion (effectively removing all other accepted blocks) acceptedBlocksVersion += 1;