Skip to content
Snippets Groups Projects
user avatar
Peter Goodspeed-Niklaus authored
* use more efficient search through candidates in offchain-election

* mark linear accessors as test-only in election-provider-multi-phase

This prevents production code which uses them from compiling.

Also write an efficient helper for getting the target index.

* doc grammar

* use faster target_index_fn in benchmarks

* unbox helper functions

* remove unnecessary import

* write lifetime after primary trait

Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>

Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
05f24931
Name Last commit Last update
substrate