Skip to content

[#899] Implement ConstrainedAddress parser

Markus Barenhoff requested to merge alios/#899-l1addr-parser into master

Description

  • Added a parser for arbitrary ConstrainedAddress + a corresponding FromJSON instance
  • Refactored parseAddress based on it
    • no longer runs 3 different parsers in sequence
    • better and less complicated error reporting

Related issue(s)

Resolves #899 (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 Markus Barenhoff

Merge request reports