-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change pallet referenda TracksInfo::tracks to return an iterator #2072
Merged
ggwpez
merged 20 commits into
paritytech:master
from
olanod:olanod-referenda-owned-tracks
Feb 17, 2025
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
c6774ec
Change TracksInfo::tracks to return an iterator
olanod 9e58a05
Rename track_ids and return iterator as well
olanod 6da3eb6
Add quotes around prdoc title
olanod 3503e9c
Remove redundant into_iter
olanod dd42a36
Merge branch 'master' into HEAD
pandres95 86847e0
fix(pallet-referenda): missing dependency to sp-std
pandres95 1e0aa47
fix(polkadot/runtime): add missing `sp-std` dependency to `rococo` an…
pandres95 d7409a7
feat(kitchensink-runtime): set `Tracks` and `Origins` for `pallet-ref…
pandres95 3408e30
chore: update prdoc
pandres95 a8575f2
fix(pallet-referenda): fmt
pandres95 eff90eb
fix(pallet-referenda): apply fields on mock's track 2 left missing fr…
pandres95 631174a
fix(pallet-example-kitchensink): remove unused `sp-std` dependency
pandres95 b1740bb
fix(pallet-referenda): missing origin in `track_for` in mock from `ma…
pandres95 0c9a97e
chore(pallet-referenda): apply suggestions from @gui1117
pandres95 16b804c
Merge branch 'master' into olanod-referenda-owned-tracks
pandres95 2f3856a
chore(pallet-referenda): remove `sp-std` in favour of `alloc` in `pal…
pandres95 28d2508
chore: make ci happy
pandres95 b1a44be
feat(pallet-referenda): add `Tracks` as an extra constant to remove `…
pandres95 9780128
Merge branch 'master' into olanod-referenda-owned-tracks
pandres95 aee2e08
fix(prdoc): correct audience from `Runtime Users` to `Runtime User` /…
pandres95 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could also implement
info
method manually to do the binary search.