Skip to content

Testing framework: add support for global constants

E. Rivas requested to merge er433/test/global_constant into dev

This MR adds new operations to testing framework to work with global constants:

Test.register_constant : michelson_program -> string

The returned string is the hash for the global constant.

Test.constant_to_michelson_program : string -> michelson_program

Given a constant represented as a string (similar to syntax in --constant), return a michelson_program representing it.

  • has a changelog entry
Edited by E. Rivas

Merge request reports