DAL/Node: Make the DAL node accuser inject entrapment evidence for each trap in its cache.
Stacked on !16268 (merged)
What
Make the DAL node accuser inject entrapment evidence for each trap in its cache. Also brings some refactoring to the accuser code.
Why
Following @iguerNL remark !16268 (comment 2300890851)
We don't have to restrict the DAL node accuser to specific slot indices since it is able to inject entrapment evidences for any trap it has previously detected and stored in its cache.
How
By simply iterating over the traps in its cache.
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 Paul Laforgue
