Tezt/DAL: produce slots with the POST /slot RPC unless shard proof is deactivated
What
This MR changes the RPC used by default to produce slots in DAL tests.
Why
/slot is the recommended RPC for publishing data on the DAL but before this MR it was not tested. With this MR, /slot gets called in all cases where a slot is published in test except when the additional proof computation breaks the test.
How
The first commit activates proof computation by default and deactivates it when this would break the test.
The second commit switches to the /slot RPC except when proof computation is deactivated.
Manually testing the MR
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR