Sandbox-client: read parameter files in dune folder
Context
When you use dune build [...]
and not make all
the sandbox-parameters.json file required by src/bin_client/tezos-init-sandboxed-client.sh is generated in the _build/ folder but not copied in src/proto_alpha/parameters. This patch makes tezos-init-sandboxed-client looks for parameters in _build (as it does for binaries already).
Change nothing for people using make
, parameter files are still found.
Manually testing the MR
make clean && dune build @install
- launch a sandbox node and activate alpha
To be sure:
make clean && make
- launch a sandbox node and activate alpha
Checklist
- N/A Document the interface of any function added or modified (see the coding guidelines)
- N/A Document any change to the user interface, including configuration parameters (see node configuration)
-
Provide automatic testing (see the testing guide). - N/A For new features and bug fixes, add an item in the appropriate changelog (
docs/protocols/alpha.rst
for the protocol and the environment,CHANGES.rst
at the root of the repository for everything else). -
Select suitable reviewers using the Reviewers
field below. -
Select as Assignee
the next person who should take action on that MR