package tezos-alpha-test-helpers

  1. Overview
  2. Docs
exception Expression_from_string
val from_string : ?check_micheline_indentation:bool -> string -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr

Parse a Michelson expression from string, raising an exception on error.

val toplevel_from_string : ?check_micheline_indentation:bool -> string -> Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr

Parses a Michelson contract from string, raising an exception on error.

OCaml

Innovation. Community. Security.