Remove metadata
checks for files with free functions / file-level functions
#281
Labels
bug
Something isn't working
Describe the bug
If you currently use in some form contracts that use free functions (a.k.a file-level functions) via imports,
halmos
will issue the following warning:Skipped FreeFunctionsFile.json due to parsing failure: KeyError: 'metadata'
Currently, this warning is printed in red colour. I would suggest orange should be enough ;). The underlying reason is that these files are compiled in the normal way (since in some contracts you will use them) but there is no
metadata
available in the standard JSON input file for these files.To Reproduce
git
clonehttps://github.com/pcaversaccio/snekmate
and checkout thefeat/halmos
branch. Runpnpm install
andforge install
and invoke:Environment:
Linux
3.11.3
0.1.13.dev1+ga617814
The text was updated successfully, but these errors were encountered: