Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Make referenda pallet and conviction-voting instantiable #11056

Closed
xlc opened this issue Mar 17, 2022 · 6 comments
Closed

Make referenda pallet and conviction-voting instantiable #11056

xlc opened this issue Mar 17, 2022 · 6 comments
Labels
Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.

Comments

@xlc
Copy link
Contributor

xlc commented Mar 17, 2022

We would like to setup multiple tracks where each of them are voted by different tokens.
One simple solution is make referenda pallet and conviction-voting instanceable so that we can have a pair of them for each token type.

@bkchr bkchr added the Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase. label Mar 17, 2022
@Doordashcon
Copy link
Contributor

This will require writing tests?

@bkchr
Copy link
Member

bkchr commented Mar 21, 2022

Not really.

@Doordashcon
Copy link
Contributor

Noted, would like to attempt this issue

@bkchr
Copy link
Member

bkchr commented Mar 21, 2022

Okay

@KiChjang KiChjang changed the title Make referenda pallet and conviction-voting instanceable Make referenda pallet and conviction-voting instantiable Mar 22, 2022
@xlc
Copy link
Contributor Author

xlc commented Mar 22, 2022

@Doordashcon just so you know we already have PR for this.

@kianenigma kianenigma moved this to Backlog in Runtime / FRAME Aug 21, 2022
@xlc xlc closed this as completed Mar 23, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in Runtime / FRAME Mar 23, 2023
@dzmitry-lahoda
Copy link

btw if to make a map from track/origin to asset id and use fungibles trait referenda can be made multi asset in several lines

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Projects
Status: Done
Development

No branches or pull requests

4 participants