EPM-MB: Consider refactoring the ElectionDataProvider
and ElectionProvider
traits and remove self-weighting in key methods
#6136
Labels
T2-pallets
This PR/Issue is related to a particular pallet.
Multiple trait methods of
trait ElectionProvider
andtrait ElectionDataProvider
are self-weighting (e.g.ElectionProvider::elect()
). Consider removing that implicit assumption and return the weight of the computation to be registered by the caller.Related to #6034 (comment)
The text was updated successfully, but these errors were encountered: