Dal + Etherlink: import a sequencer blueprint from the DAL
What
This MR makes the Etherlink sequencer send on the DAL the first blueprint of each L1 level. At each level, the kernel attempts to import blueprints from the DAL which were published attestation_lag levels earlier.
Stacked on !14272 (merged).
Why
This is a minimalistic implementation of DAL integration within Etherlink, see %Minimalist DAL integration in Etherlink for more motivations.
How
Manually testing the MR
This MR adds a test which checks that 5 blueprints are sent through the DAL when the feature flag is activated (and 0 otherwise):
$ clear; rm -rf /tmp/tezt-* && make -f etherlink.mk build && make && dune exec etherlink/tezt/tests/main.exe -- alpha latest /threshold_encryption --match "Sequencer publishes the blueprints to the DAL"
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 Raphaël Cauderlier