Skip to content
Snippets Groups Projects
Unverified Commit c078d2f4 authored by Daniel Olano's avatar Daniel Olano Committed by GitHub
Browse files

Change pallet referenda TracksInfo::tracks to return an iterator (#2072)


Returning an iterator in `TracksInfo::tracks()` instead of a static
slice allows for more flexible implementations of `TracksInfo` that can
use the chain storage without compromising a lot on the
performance/memory penalty if we were to return an owned `Vec` instead.

---------

Co-authored-by: default avatarPablo Andrés Dorado Suárez <hola@pablodorado.com>
parent 8cca727f
No related merge requests found
Pipeline #515659 waiting for manual action with stages
in 1 hour, 23 minutes, and 26 seconds
Showing
with 592 additions and 524 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment