Skip to content

Pallet referenda tracks for dynamic governance#2448

Closed
olanod wants to merge 17 commits intoparitytech:masterfrom
virto-network:virto-pallet-referenda-tracks
Closed

Pallet referenda tracks for dynamic governance#2448
olanod wants to merge 17 commits intoparitytech:masterfrom
virto-network:virto-pallet-referenda-tracks

Conversation

@olanod
Copy link
Contributor

@olanod olanod commented Nov 22, 2023

WIP

Based on #2072 this pallet is coupled with pallet-referenda to implement TracksInfo so that track information and mapping origins is dynamic and can be edited via extrinsics.

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 2/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4439354

EgorPopelyaev and others added 13 commits December 6, 2023 18:36
This PR adds missing `environment: release` parameter to the
`rc-automation ` GHA
Using an iterator 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.

NOTE: This feature will benefit from the soon to be released
return_position_impl_trait_in_trait(rust-lang/rust#115822)
to not require the `TracksIter` associated type and from a bugfix in the
compiler(rust-lang/rust#116662) to declare the
DEFAULT_MAX_TRACK_NAME_LEN generic constant in the `TracksInfo` trait.
@pandres95 pandres95 force-pushed the virto-pallet-referenda-tracks branch from c7ed574 to f144d64 Compare December 22, 2023 00:41
olanod and others added 3 commits December 22, 2023 17:45
Implement TracksInfo for referenda-tracks
fix(pallet-referenda): impl Debug + PartialEq on TrackInfo

chore(impl_tracks_info): split codebase

chore(referenda-tracks): add test suite
@olanod olanod force-pushed the virto-pallet-referenda-tracks branch from f144d64 to c280ba1 Compare December 22, 2023 16:47
@cla-bot-2021
Copy link

cla-bot-2021 bot commented Dec 22, 2023

User @darkforest0202, please sign the CLA here.

@pandres95 pandres95 deleted the virto-pallet-referenda-tracks branch April 2, 2024 15:51
@bkchr bkchr closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants