Skip to content

[#872] Output contract events in binaries

Nikolay Yakimov requested to merge lierdakil/#872-output-events-in-binaries into master

Side note: the issue description says morley emulate transfer doesn't output events. It does (as it does any operations), but the output could be improved, so I did that.

Description

Problem: morley-client binary doesn't output contract events on transfer.

Solution: make it.


Problem: Buildable instances for Morley.Michelson.Typed.Value.Operaition' do not output values attached to operations due to instr parameter not being specified.

Solution: Require quantified Buildable constraint for forall t. Value' instr t on the buildable instance, output values in addition to everything else.

Related issue(s)

Resolves #872 (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 Nikolay Yakimov

Merge request reports