Skip to content

WIP: Jcb/tm58 printer

John Burnham requested to merge jcb/tm58-printer into master

Description

We want to print a SomeContract to a .tz file with well-formed Michelson. I have some questions:

  1. Buildable is appropriate for this or do we want multiple print formats for e.g. error messages?

  2. Where we should put the IO for handling actually making the files?

  3. 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

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Edited by John Burnham

Merge request reports