Skip to content

[#53] Use typed addresses in `originate` and `call`

Diogo Castro requested to merge diogo/#53-nettest-typed-addr into master

Description

Problem: Morley.Nettest's originate and call should behave like their counterparts from Integrational and use typed addresses instead of untyped ones.

Solution: Changed originate to return a typed address and call to take a typed address. Also removed unnecessary Show constraint from contract parameter.

Related issue(s)

Resolves #53 (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