package tezos-alpha-test-helpers

  1. Overview
  2. Docs
include module type of struct include Common end
val assert_true : (bool, 'a) Stdlib.result Lwt.t -> (unit, 'a) Stdlib.result Lwt.t
val assert_false : (bool, 'a) Stdlib.result Lwt.t -> (unit, 'a) Stdlib.result Lwt.t
val assert_some : ('a option, 'b) Stdlib.result Lwt.t -> ('a, 'b) Stdlib.result Lwt.t
val assert_none : ('a option, 'b) Stdlib.result Lwt.t -> (unit, 'b) Stdlib.result Lwt.t
val assert_error : ('a, 'b) Stdlib.result Lwt.t -> (unit, 'c) Stdlib.result Lwt.t
val print : ?prefix:string -> 'a Data_encoding.Encoding.t -> 'a -> unit
val to_hex : 'a -> 'a Data_encoding.Encoding.t -> string
val randomized_byte : ?pos:int -> 'a -> 'a Data_encoding.Encoding.t -> 'a
val wallet_gen : unit -> wallet
val toplevel_from_string : string -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr
val expression_from_string : string -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr
val hex_shield : memo_size:int -> wallet -> string -> string
val shield : memo_size:int -> Tezos_sapling.Forge.Core.Spending_key.t -> int -> Tezos_sapling.Core.Wallet.Viewing_key.t -> (string -> 'a) -> string -> 'a list * int
OCaml

Innovation. Community. Security.