[go: up one dir, main page]

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.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 Mohamed IGUERNLALA

Merge request reports

Loading