Skip to content

[#470] Unpacking/decoding of right-combed pair types

Diogo Castro requested to merge diogo/#470-right-combed-type into master

Description

This MR adds these two things:

  • Ability to parse right-combed types (e.g. pair int nat string) from all 3 formats (binary, micheline, michelson)
  • Ability to parse right-combed values (e.g. Pair 1 2 "a") from the michelson format (the other 2 formats were already implemented in !753 (merged))

Related issue(s)

Resolves part of #470 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • 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:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Diogo Castro

Merge request reports