Skip to content

Proto: implement the validation of consensus operations

Context

This MR is part of the %Pipelining project and follows the work started in !5557 (merged). This MR adds the validation of consensus (preendorsement, endorsement, dal_slot_availability) operation.

Like !5557 (merged) this MR is mainly about refactoring some code from apply.ml and move it to validate_operation.ml.

Manually testing the MR

Check that the CI is green, and updated integration test can be manually run with the following command:

dune runtest src/proto_alpha/lib_protocol/test/integration/consensus

Checklist

  • 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).
  • 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
Edited by Diane Gallois-Wong

Merge request reports

Loading