```\n    function triggerRoot() external {\n        bytes32 rootCandidateAValue = rootCandidateA.value;\n        if (rootCandidateAValue != rootCandidateB.value || rootCandidateAValue == bytes32(0)) revert RootCandidatesInvalid();\n        root = Root({value: rootCandidateAValue, lastUpdatedAt: block.timestamp});\n        emit RootChanged(msg.sender, rootCandidateAValue);\n    }\n```\n