WIP: Jcb/tm58 printer
Description
We want to print a SomeContract
to a .tz
file with well-formed Michelson
. I have some questions:
-
Buildable
is appropriate for this or do we want multiple print formats for e.g. error messages? -
Where we should put the
IO
for handling actually making the files? -
How should we do testing? Ideally we'd have the files in contracts go through the parser, out the printer and then either back through the parser or through the tezos-client as part of our CI
Related issue(s)
https://issues.serokell.io/issue/TM-58
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by John Burnham