package tezos-alpha-test-helpers

  1. Overview
  2. Docs
type t
type incremental = t
val predecessor : incremental -> Block.t
val level : incremental -> int32
val begin_construction : ?timestamp:Tezos_base.Time.Protocol.t -> ?seed_nonce_hash:Tezos_protocol_alpha.Protocol.Nonce_hash.t -> ?mempool_mode:bool -> ?policy:Block.baker_policy -> Block.t -> (incremental, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val add_operation : ?expect_apply_failure: (Tezos_error_monad.TzCore.error list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> ?expect_failure: (Tezos_error_monad.TzCore.error list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) -> incremental -> Tezos_protocol_alpha.Protocol.Alpha_context.Operation.packed -> (incremental, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val finalize_block : incremental -> (Block.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.