DAL: Check the validity of a commitment before validating a message
What
Add a commitment check for every shard received on the network. This check ensures the commitment is the valid on with respect to what was decided by the consensus on the L1.
Why
Spam protection mechanism.
How
A cache of commitments by slot id is added. This cache is used to know which commitments are valid or not for a given level and slot index.
Manually testing the MR
If the CI passes, it is already good.