[#278] Complex batches issues
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
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov