Baker does not apply operations when forging a new block
Context
This MR allows the baker to only validate operations instead of validate then apply the operations when forging a block. The baker should forge block faster without having to apply each operation.
The baker can still apply the operation if --force-apply is specified.
Fixes #4285 (closed)
Manually testing the MR
Run the CI and the new test that force the application of operation by the baker
dune exec tezt/tests/main.exe -- --file baker_test.ml -v apply;
You can observe that the Baker with delegate tz1YtB3Hn6oghVk96vkpZt6PHrfbyRY1ciL3 that currently runs with this MR on Mumbainet works fine.
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
Edited by Albin Coquereau