Add histories cache in dal_slot_repr for attested slots
Context
This MR adds a module Cache in Dal_slot_repr, which is basically an instantiotion of Bounded_history_repr.Make functor. It will be used by the SCORU rollup node to remember the latest values of the skip list Slots_history.t (which evolves when adding new attested DAL slots to it). The cache is needed to produce refutation proofs involving DAL inputs (Similarly to the History module of sc_rollup_inbox_repr).
Manually testing the MR
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 Mohamed IGUERNLALA