[#321] Use '--mode mockup' in tezos-client calls
Description
Problem: 'tezos-client' has '--mode' option and it's possible to use 'mock' node using which 'tezos-client' doesn't perform any actual RPC requests to the node from the config. Using such mode can speed up nettests and reduce amount of unexpected RPC failures that can be caused by 'tezos-client'.
Solution: Add '--mode ' to the 'tezos-client' call arguments and use mockup mode for all calls that don't perform any actions on the real chain and only use data that is stored in the 'tezos-client' directory (e.g. keys and addresses).
Related issue(s)
Resolves #321 (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 Roman Melnikov