Clean up precheck tests
Context
This MR cleans up the integration tests that check some invariants in precheck of manager operations. In particular, it:
- avoids inspection belongs precheck and solves #3210 (closed) ,
- provides more positive tests,
- provides some documentation, and
- puts force_reveal at false by default and solve #2979 (closed) .
Manually testing the MR
dune exec src/proto_alpha/lib_protocol/test/integration/precheck/main.exe
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.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
Edited by Albin Coquereau