Skip to content

[TM-89] Morley servant client

Roman Melnikov requested to merge rvem/tm89-morley-servant-client into master

Description

In this MR yet another new package added. This time, it is a JSON/RPC client based on servant.

morley-client uses Tezos RPC API for interaction with remote (or local) tezos-node. For usage instructions take a look at README or run stack exec -- morley-client --help.

For now, morley-client support only contract origination and transfer sending. Please write here or in the issue comments which functionality can also be useful. Apart from using morley-client executable, this package can also be useful for smoke testing on the real network, e.g. we can perform various transfers to the contract and measure gas consumption.

However, morley-client lacks any tests for now, hopefully, mock tests based on AbstractClient will be added one day.

Diff is quite huge due to LICENSE file and generated cabal file.

Related issue(s)

https://issues.serokell.io/issue/TM-89

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 the changelog if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Roman Melnikov

Merge request reports