Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Track historical vrfs #3606

Closed

Conversation

Lldenaurois
Copy link
Contributor

Part of #3463

This PR intends to add a StorageDoubleMap to the shared module which keeps track of historical Babe VRFs for the purpose of comparing these VRFs against the Approval Assignments that are issued throughout the Approval Voting process.

@Lldenaurois Lldenaurois marked this pull request as draft August 9, 2021 20:04
@@ -629,10 +619,12 @@ impl<T: Config> Pallet<T> {
for to_prune in to_prune {
// This should be small, as disputes are rare, so `None` is fine.
<Disputes<T>>::remove_prefix(to_prune, None);

// This is larger, and will be extracted to the `shared` module for more proper pruning.
// TODO: https://github.com/paritytech/polkadot/issues/3469
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this close #3469?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants