This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
beefy: add pruning for SetIdSession storage in pallet-beefy #13404
Labels
I8-footprint
An enhancement to provide a smaller (system load, memory, network or disk) footprint.
U2-some_time_soon
Issue is worth doing soon.
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
In
pallet-beefy
we keep a mapping ofset id -> session index
, this is necessary to validate equivocation proofs. The entries in this map are not being pruned.We should bound the maximum number of entries in this mapping, for example GRANDPA pallet sets the limit to the bonding duration (in sessions).
The text was updated successfully, but these errors were encountered: