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
.