Agnostic baker switches on new protocol
This MR is another step toward the agnostic baker. It introduces:
- the handling of protocol migration thanks to a baker switch at protocol's activation
- a Tezt wrapper for the agnostic baker
- a simple test that performs a protocol migration thanks to the agnostic baker.
Manually testing the MR
Run the manual tests with dune exec tezt/manual_tests/main.exe -- --file agnostic_baking.ml . Don't forget to compile the uncompiled-by-default agnostic baker binary with something like rm -rf octez-agnostic-baker && dune build src/bin_agnostic_baker/main_agnostic_baker.exe && mv _build/default/src/bin_agnostic_baker/main_agnostic_baker.exe octez-agnostic-baker
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