more moving away from ValidatorManager

pull/334/head
Trevor Porter 3 years ago
parent d4b0cc8dcc
commit cdd7cde0d1
  1. 2
      solidity/core/contracts/Inbox.sol
  2. 2
      solidity/core/contracts/Outbox.sol

@ -82,7 +82,7 @@ contract Inbox is IInbox, Version0, Common {
/** /**
* @notice Checkpoints the provided root and index. * @notice Checkpoints the provided root and index.
* @dev Called by the ValidatorManager, which is responsible for verifying a * @dev Called by the validator manager, which is responsible for verifying a
* quorum of validator signatures on the checkpoint. * quorum of validator signatures on the checkpoint.
* @dev Reverts if checkpoints's index is not greater than our latest index. * @dev Reverts if checkpoints's index is not greater than our latest index.
* @param _root Checkpoint's merkle root. * @param _root Checkpoint's merkle root.

@ -159,7 +159,7 @@ contract Outbox is IOutbox, Version0, MerkleTreeManager, Common {
/** /**
* @notice Set contract state to FAILED. * @notice Set contract state to FAILED.
* @dev Called by the ValidatorManager when fraud is proven. * @dev Called by the validator manager when fraud is proven.
*/ */
function fail() external override onlyValidatorManager { function fail() external override onlyValidatorManager {
// set contract to FAILED // set contract to FAILED

Loading…
Cancel
Save