Skip to content

Testing framework: add support for loading files with global constants

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

type:added

Changelog details:

Testing framework: add support for loading files with global constants

A new function Test.register_file_constants is introduced. It takes a string (file path) and returns a list of strings corresponding to the hashes of the registered constants.

The file format is the same as the used in --file-constants for sub-command compile contract.

Edited by E. Rivas

Merge request reports