Skip to content

[#278] Complex batches issues

Konstantin Ivanov requested to merge martoon/#278-complex-batch-issues into master

Description

Resolve issues coming from complex batch transfers.

For this we decided to reimplement fees calculation ourselves, because calling tezos-node to evaluate fees on per-operation basis for operations in a batch is imprecise and even unsafe.

I wanted to add more tests like on batched origination in nettest or on batched operations in morley-client's testing environment, but such things are not supported yet.

After my changes Common.hs module apparently got pretty big, but I failed to invent a name for the new module if I perform a split.

Related issue(s)

Resolves #278 (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 Konstantin Ivanov

Merge request reports