package tezos-alpha-test-helpers

  1. Overview
  2. Docs
val test_consensus_operation : ?construction_mode: (Block.block * Tezos_protocol_alpha.Protocol.block_header_data option) -> ?level:Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t -> ?block_payload_hash:Tezos_protocol_alpha.Protocol.Block_payload_hash.t -> ?slot:Tezos_protocol_alpha.Protocol.Alpha_context.Slot.t -> ?round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> endorsed_block:Block.t -> error_title:string -> is_preendorsement:bool -> context:Context.t -> loc:string -> unit -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val test_consensus_op_for_next : genesis:Block.t -> kind:[< `Endorsement | `Preendorsement ] -> next:[< `Level | `Round ] -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.