Make cleveland compatible with v10.2 'tezos-client'
Clarification and motivation
Looks like the way tezos-client
interacts with the base directory was changed in Octez 10.*.
Now an attempt to use v10.2 tezos-client
with cleveland fails with the following error:
tezos-client unexpectedly failed with error code 1. Stdout:
Stderr:
Base directory /var/lib/private/gitlab-runner/builds/R1mygcE9/2/morley-framework/morley/code/cleveland/tmp.swtA9rm2Xj is empty.
Move directory /var/lib/private/gitlab-runner/builds/R1mygcE9/2/morley-framework/morley/code/cleveland/tmp.swtA9rm2Xj away and create it anew with:
./tezos-client --mode mockup --base-dir /var/lib/private/gitlab-runner/builds/R1mygcE9/2/morley-framework/morley/code/cleveland/tmp.swtA9rm2Xj create mockup
or use another directory name.
Some commands (e.g., transfer) might not work correctly.
No protocol specified: using Alpha as default protocol.
Error:
Default protocol Alpha (no requested protocol) not found in available mockup environments. Available protocol hashes: [PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV, PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i, PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA]
E.g. see this CI step.
Acceptance criteria
Cleveland can successfully run client-based tests using v10.2 tezos-client
.