package tezos-protocol-016-PtMumbai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Errors that may arise while validating a consensus operation.

type consensus_operation_kind =
  1. | Preendorsement
  2. | Endorsement
  3. | Grandparent_endorsement
  4. | Dal_attestation
type Tezos_protocol_environment_016_PtMumbai.Error_monad.error +=
  1. | Zero_frozen_deposits of Tezos_protocol_environment_016_PtMumbai.Signature.Public_key_hash.t
  2. | Consensus_operation_not_allowed
  3. | Consensus_operation_for_old_level of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Raw_level.t;
    3. provided : Alpha_context.Raw_level.t;
    }
  4. | Consensus_operation_for_future_level of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Raw_level.t;
    3. provided : Alpha_context.Raw_level.t;
    }
  5. | Consensus_operation_for_old_round of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Round.t;
    3. provided : Alpha_context.Round.t;
    }
  6. | Consensus_operation_for_future_round of {
    1. kind : consensus_operation_kind;
    2. expected : Alpha_context.Round.t;
    3. provided : Alpha_context.Round.t;
    }
  7. | Wrong_consensus_operation_branch of {
    1. kind : consensus_operation_kind;
    2. expected : Tezos_protocol_environment_016_PtMumbai.Block_hash.t;
    3. provided : Tezos_protocol_environment_016_PtMumbai.Block_hash.t;
    }
  8. | Wrong_payload_hash_for_consensus_operation of {
    1. kind : consensus_operation_kind;
    2. expected : Block_payload_hash.t;
    3. provided : Block_payload_hash.t;
    }
  9. | Unexpected_preendorsement_in_block
  10. | Unexpected_endorsement_in_block
  11. | Preendorsement_round_too_high of {
    1. block_round : Alpha_context.Round.t;
    2. provided : Alpha_context.Round.t;
    }
  12. | Wrong_slot_used_for_consensus_operation of {
    1. kind : consensus_operation_kind;
    }
  13. | Conflicting_consensus_operation of {
    1. kind : consensus_operation_kind;
    2. conflict : operation_conflict;
    }

Errors for preendorsements and endorsements.

OCaml

Innovation. Community. Security.