Use RPC directly in nettest and add batching
Clarification and motivation
Currently real network implementation of nettest uses tezos-client
for nearly everything. But for many things tezos-client
just sends HTTP requests to tezos-node
. In !198 (merged) Haskell bindings for Tezos RPC have been added, so we can send HTTP requests directly. Benefits of doing it:
- It seems to be more convenient and reliable, because we don't have to parse command line utility output.
- It is likely faster because it avoids unnecessary steps.
- It gives us features not available in
tezos-client
such as batch transactions.
Acceptance criteria
- Usage of
tezos-client
in nettest should be limited to signing and key management (e. g. resolve alias to addr). Everything else should send requests totezos-node
directly, bypassingtezos-client
. - It should be possible to send multiple transactions in one batch.